⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 algorithmparametergenerator.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AlgorithmParameterGenerator(java.security.AlgorithmParameterGeneratorSpi, java.security.Provider, java.lang.String)"><!-- --></A><H3>AlgorithmParameterGenerator</H3><PRE>protected <B>AlgorithmParameterGenerator</B>(<A HREF="../../java/security/AlgorithmParameterGeneratorSpi.html">AlgorithmParameterGeneratorSpi</A>&nbsp;paramGenSpi,                                      <A HREF="../../java/security/Provider.html">Provider</A>&nbsp;provider,                                      <A HREF="../../java/lang/String.html">String</A>&nbsp;algorithm)</PRE><DL><DD>Creates an AlgorithmParameterGenerator object.<DD><DL><DT><B>Parameters:</B><DD><CODE>paramGenSpi</CODE> - the delegate<DD><CODE>provider</CODE> - the provider<DD><CODE>algorithm</CODE> - the algorithm</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getAlgorithm()"><!-- --></A><H3>getAlgorithm</H3><PRE>public final <A HREF="../../java/lang/String.html">String</A> <B>getAlgorithm</B>()</PRE><DL><DD>Returns the standard name of the algorithm this parameter generator is associated with.<DD><DL><DT><B>Returns:</B><DD>the string name of the algorithm.</DL></DD></DL><HR><A NAME="getInstance(java.lang.String)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../java/security/AlgorithmParameterGenerator.html">AlgorithmParameterGenerator</A> <B>getInstance</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;algorithm)                                               throws <A HREF="../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A></PRE><DL><DD>Generates an AlgorithmParameterGenerator object that implements the  specified digest algorithm. If the default provider package provides an implementation of the requested digest algorithm, an instance of AlgorithmParameterGenerator containing that implementation  is returned. If the algorithm is not available in the default  package, other packages are searched.<DD><DL><DT><B>Parameters:</B><DD><CODE>algorithm</CODE> - the string name of the algorithm this parameter generator is associated with.<DT><B>Returns:</B><DD>the new AlgorithmParameterGenerator object.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A></CODE> - if the algorithm is not available in the environment.</DL></DD></DL><HR><A NAME="getInstance(java.lang.String, java.lang.String)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../java/security/AlgorithmParameterGenerator.html">AlgorithmParameterGenerator</A> <B>getInstance</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;algorithm,                                                      <A HREF="../../java/lang/String.html">String</A>&nbsp;provider)                                               throws <A HREF="../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A>,                                                      <A HREF="../../java/security/NoSuchProviderException.html">NoSuchProviderException</A></PRE><DL><DD>Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider,  if such a parameter generator is available from the provider.<DD><DL><DT><B>Parameters:</B><DD><CODE>algorithm</CODE> - the string name of the algorithm.<DD><CODE>provider</CODE> - the string name of the provider.<DT><B>Returns:</B><DD>the new AlgorithmParameterGenerator object.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A></CODE> - if the algorithm is not available from the provider.<DD><CODE><A HREF="../../java/security/NoSuchProviderException.html">NoSuchProviderException</A></CODE> - if the provider is not available in the environment.<DT><B>See Also: </B><DD><A HREF="../../java/security/Provider.html"><CODE>Provider</CODE></A></DL></DD></DL><HR><A NAME="getProvider()"><!-- --></A><H3>getProvider</H3><PRE>public final <A HREF="../../java/security/Provider.html">Provider</A> <B>getProvider</B>()</PRE><DL><DD>Returns the provider of this algorithm parameter generator object.<DD><DL><DT><B>Returns:</B><DD>the provider of this algorithm parameter generator object</DL></DD></DL><HR><A NAME="init(int)"><!-- --></A><H3>init</H3><PRE>public final void <B>init</B>(int&nbsp;size)</PRE><DL><DD>Initializes this parameter generator for a certain size. To create the parameters, the <code>SecureRandom</code> implementation of the highest-priority installed provider is used as the source of randomness. (If none of the installed providers supply an implementation of <code>SecureRandom</code>, a system-provided source of randomness is used.)<DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the size (number of bits).</DL></DD></DL><HR><A NAME="init(int, java.security.SecureRandom)"><!-- --></A><H3>init</H3><PRE>public final void <B>init</B>(int&nbsp;size,                       <A HREF="../../java/security/SecureRandom.html">SecureRandom</A>&nbsp;random)</PRE><DL><DD>Initializes this parameter generator for a certain size and source of randomness.<DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the size (number of bits).<DD><CODE>random</CODE> - the source of randomness.</DL></DD></DL><HR><A NAME="init(java.security.spec.AlgorithmParameterSpec)"><!-- --></A><H3>init</H3><PRE>public final void <B>init</B>(<A HREF="../../java/security/spec/AlgorithmParameterSpec.html">AlgorithmParameterSpec</A>&nbsp;genParamSpec)                throws <A HREF="../../java/security/InvalidAlgorithmParameterException.html">InvalidAlgorithmParameterException</A></PRE><DL><DD>Initializes this parameter generator with a set of algorithm-specific parameter generation values. To generate the parameters, the <code>SecureRandom</code> implementation of the highest-priority installed provider is used as the source of randomness. (If none of the installed providers supply an implementation of <code>SecureRandom</code>, a system-provided source of randomness is used.)<DD><DL><DT><B>Parameters:</B><DD><CODE>genParamSpec</CODE> - the set of algorithm-specific parameter generation values.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/InvalidAlgorithmParameterException.html">InvalidAlgorithmParameterException</A></CODE> - if the given parameter generation values are inappropriate for this parameter generator.</DL></DD></DL><HR><A NAME="init(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom)"><!-- --></A><H3>init</H3><PRE>public final void <B>init</B>(<A HREF="../../java/security/spec/AlgorithmParameterSpec.html">AlgorithmParameterSpec</A>&nbsp;genParamSpec,                       <A HREF="../../java/security/SecureRandom.html">SecureRandom</A>&nbsp;random)                throws <A HREF="../../java/security/InvalidAlgorithmParameterException.html">InvalidAlgorithmParameterException</A></PRE><DL><DD>Initializes this parameter generator with a set of algorithm-specific parameter generation values.<DD><DL><DT><B>Parameters:</B><DD><CODE>genParamSpec</CODE> - the set of algorithm-specific parameter generation values.<DD><CODE>random</CODE> - the source of randomness.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/InvalidAlgorithmParameterException.html">InvalidAlgorithmParameterException</A></CODE> - if the given parameter generation values are inappropriate for this parameter generator.</DL></DD></DL><HR><A NAME="generateParameters()"><!-- --></A><H3>generateParameters</H3><PRE>public final <A HREF="../../java/security/AlgorithmParameters.html">AlgorithmParameters</A> <B>generateParameters</B>()</PRE><DL><DD>Generates the parameters.<DD><DL><DT><B>Returns:</B><DD>the new AlgorithmParameters object.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AlgorithmParameterGenerator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../java/security/AccessController.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/security/AlgorithmParameterGeneratorSpi.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AlgorithmParameterGenerator.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -