PageRenderTime 38ms CodeModel.GetById 17ms app.highlight 16ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/bouncycastle/docs/org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html

https://bitbucket.org/arkban/somersault
HTML | 338 lines | 278 code | 37 blank | 23 comment | 0 complexity | 162130cf103cfb9d92ef4cd9b6c30e99 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.6.0) on Mon Jan 11 13:46:39 EST 2010 -->
  6<TITLE>
  7JDKKeyPairGenerator.DSA (Bouncy Castle Library 1.45 API Specification)
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2010-01-11">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    if (location.href.indexOf('is-external=true') == -1) {
 18        parent.document.title="JDKKeyPairGenerator.DSA (Bouncy Castle Library 1.45 API Specification)";
 19    }
 20}
 21</SCRIPT>
 22<NOSCRIPT>
 23</NOSCRIPT>
 24
 25</HEAD>
 26
 27<BODY BGCOLOR="white" onload="windowTitle();">
 28<HR>
 29
 30
 31<!-- ========= START OF TOP NAVBAR ======= -->
 32<A NAME="navbar_top"><!-- --></A>
 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 35<TR>
 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 37<A NAME="navbar_top_firstrow"><!-- --></A>
 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 39  <TR ALIGN="center" VALIGN="top">
 40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 47  </TR>
 48</TABLE>
 49</TD>
 50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 51<b>Bouncy Castle Cryptography Library 1.45</b></EM>
 52</TD>
 53</TR>
 54
 55<TR>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DH.html" title="class in org.bouncycastle.jce.provider"><B>PREV CLASS</B></A>&nbsp;
 58&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.ElGamal.html" title="class in org.bouncycastle.jce.provider"><B>NEXT CLASS</B></A></FONT></TD>
 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 60  <A HREF="../../../../index.html?org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 61&nbsp;<A HREF="JDKKeyPairGenerator.DSA.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 62&nbsp;<SCRIPT type="text/javascript">
 63  <!--
 64  if(window==top) {
 65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 66  }
 67  //-->
 68</SCRIPT>
 69<NOSCRIPT>
 70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 71</NOSCRIPT>
 72
 73
 74</FONT></TD>
 75</TR>
 76<TR>
 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 78  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.bouncycastle.jce.provider.JDKKeyPairGenerator">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 81</TR>
 82</TABLE>
 83<A NAME="skip-navbar_top"></A>
 84<!-- ========= END OF TOP NAVBAR ========= -->
 85
 86<HR>
 87<!-- ======== START OF CLASS DATA ======== -->
 88<H2>
 89<FONT SIZE="-1">
 90org.bouncycastle.jce.provider</FONT>
 91<BR>
 92Class JDKKeyPairGenerator.DSA</H2>
 93<PRE>
 94java.lang.Object
 95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.security.KeyPairGeneratorSpi
 96      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.security.KeyPairGenerator
 97          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">org.bouncycastle.jce.provider.JDKKeyPairGenerator</A>
 98              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.jce.provider.JDKKeyPairGenerator.DSA</B>
 99</PRE>
100<DL>
101<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator</A></DD>
102</DL>
103<HR>
104<DL>
105<DT><PRE>public static class <B>JDKKeyPairGenerator.DSA</B><DT>extends <A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator</A></DL>
106</PRE>
107
108<P>
109<HR>
110
111<P>
112<!-- ======== NESTED CLASS SUMMARY ======== -->
113
114<A NAME="nested_class_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118<B>Nested Class Summary</B></FONT></TH>
119</TR>
120</TABLE>
121&nbsp;<A NAME="nested_classes_inherited_from_class_org.bouncycastle.jce.provider.JDKKeyPairGenerator"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.bouncycastle.jce.provider.<A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator</A></B></TH>
125</TR>
126<TR BGCOLOR="white" CLASS="TableRowColor">
127<TD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DH.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator.DH</A>, <A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator.DSA</A>, <A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.ElGamal.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator.ElGamal</A>, <A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.GOST3410.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator.GOST3410</A>, <A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.RSA.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator.RSA</A></CODE></TD>
128</TR>
129</TABLE>
130&nbsp;
131
132<!-- ======== CONSTRUCTOR SUMMARY ======== -->
133
134<A NAME="constructor_summary"><!-- --></A>
135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
138<B>Constructor Summary</B></FONT></TH>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html#JDKKeyPairGenerator.DSA()">JDKKeyPairGenerator.DSA</A></B>()</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145</TR>
146</TABLE>
147&nbsp;
148<!-- ========== METHOD SUMMARY =========== -->
149
150<A NAME="method_summary"><!-- --></A>
151<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
153<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
154<B>Method Summary</B></FONT></TH>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>&nbsp;java.security.KeyPair</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html#generateKeyPair()">generateKeyPair</A></B>()</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>&nbsp;void</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html#initialize(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom)">initialize</A></B>(java.security.spec.AlgorithmParameterSpec&nbsp;params,
168           java.security.SecureRandom&nbsp;random)</CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;void</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html#initialize(int, java.security.SecureRandom)">initialize</A></B>(int&nbsp;strength,
177           java.security.SecureRandom&nbsp;random)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
181</TR>
182</TABLE>
183&nbsp;<A NAME="methods_inherited_from_class_java.security.KeyPairGenerator"><!-- --></A>
184<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
186<TH ALIGN="left"><B>Methods inherited from class java.security.KeyPairGenerator</B></TH>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD><CODE>genKeyPair, getAlgorithm, getInstance, getInstance, getInstance, getProvider, initialize, initialize</CODE></TD>
190</TR>
191</TABLE>
192&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
195<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
199</TR>
200</TABLE>
201&nbsp;
202<P>
203
204<!-- ========= CONSTRUCTOR DETAIL ======== -->
205
206<A NAME="constructor_detail"><!-- --></A>
207<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
210<B>Constructor Detail</B></FONT></TH>
211</TR>
212</TABLE>
213
214<A NAME="JDKKeyPairGenerator.DSA()"><!-- --></A><H3>
215JDKKeyPairGenerator.DSA</H3>
216<PRE>
217public <B>JDKKeyPairGenerator.DSA</B>()</PRE>
218<DL>
219</DL>
220
221<!-- ============ METHOD DETAIL ========== -->
222
223<A NAME="method_detail"><!-- --></A>
224<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
225<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
226<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
227<B>Method Detail</B></FONT></TH>
228</TR>
229</TABLE>
230
231<A NAME="initialize(int, java.security.SecureRandom)"><!-- --></A><H3>
232initialize</H3>
233<PRE>
234public void <B>initialize</B>(int&nbsp;strength,
235                       java.security.SecureRandom&nbsp;random)</PRE>
236<DL>
237<DD><DL>
238<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html#initialize(int, java.security.SecureRandom)">initialize</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator</A></CODE></DL>
239</DD>
240<DD><DL>
241</DL>
242</DD>
243</DL>
244<HR>
245
246<A NAME="initialize(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom)"><!-- --></A><H3>
247initialize</H3>
248<PRE>
249public void <B>initialize</B>(java.security.spec.AlgorithmParameterSpec&nbsp;params,
250                       java.security.SecureRandom&nbsp;random)
251                throws java.security.InvalidAlgorithmParameterException</PRE>
252<DL>
253<DD><DL>
254<DT><B>Overrides:</B><DD><CODE>initialize</CODE> in class <CODE>java.security.KeyPairGenerator</CODE></DL>
255</DD>
256<DD><DL>
257
258<DT><B>Throws:</B>
259<DD><CODE>java.security.InvalidAlgorithmParameterException</CODE></DL>
260</DD>
261</DL>
262<HR>
263
264<A NAME="generateKeyPair()"><!-- --></A><H3>
265generateKeyPair</H3>
266<PRE>
267public java.security.KeyPair <B>generateKeyPair</B>()</PRE>
268<DL>
269<DD><DL>
270<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html#generateKeyPair()">generateKeyPair</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.html" title="class in org.bouncycastle.jce.provider">JDKKeyPairGenerator</A></CODE></DL>
271</DD>
272<DD><DL>
273</DL>
274</DD>
275</DL>
276<!-- ========= END OF CLASS DATA ========= -->
277<HR>
278
279
280<!-- ======= START OF BOTTOM NAVBAR ====== -->
281<A NAME="navbar_bottom"><!-- --></A>
282<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
283<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
284<TR>
285<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
286<A NAME="navbar_bottom_firstrow"><!-- --></A>
287<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
288  <TR ALIGN="center" VALIGN="top">
289  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
290  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
291  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
292  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
293  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
294  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
295  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
296  </TR>
297</TABLE>
298</TD>
299<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
300<b>Bouncy Castle Cryptography Library 1.45</b></EM>
301</TD>
302</TR>
303
304<TR>
305<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
306&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.DH.html" title="class in org.bouncycastle.jce.provider"><B>PREV CLASS</B></A>&nbsp;
307&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKKeyPairGenerator.ElGamal.html" title="class in org.bouncycastle.jce.provider"><B>NEXT CLASS</B></A></FONT></TD>
308<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
309  <A HREF="../../../../index.html?org/bouncycastle/jce/provider/JDKKeyPairGenerator.DSA.html" target="_top"><B>FRAMES</B></A>  &nbsp;
310&nbsp;<A HREF="JDKKeyPairGenerator.DSA.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
311&nbsp;<SCRIPT type="text/javascript">
312  <!--
313  if(window==top) {
314    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
315  }
316  //-->
317</SCRIPT>
318<NOSCRIPT>
319  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
320</NOSCRIPT>
321
322
323</FONT></TD>
324</TR>
325<TR>
326<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
327  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.bouncycastle.jce.provider.JDKKeyPairGenerator">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
328<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
329DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
330</TR>
331</TABLE>
332<A NAME="skip-navbar_bottom"></A>
333<!-- ======== END OF BOTTOM NAVBAR ======= -->
334
335<HR>
336
337</BODY>
338</HTML>