📄 jceecprivatekey.html
字号:
<BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getBagAttributeKeys()">getBagAttributeKeys</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.math.BigInteger</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getD()">getD</A></B>()</CODE><BR> return the private value D.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getEncoded()">getEncoded</A></B>()</CODE><BR> Return a PKCS8 representation of the key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getFormat()">getFormat</A></B>()</CODE><BR> return the encoding format we produce in getEncoded().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/bouncycastle/jce/spec/ECParameterSpec.html" title="class in org.bouncycastle.jce.spec">ECParameterSpec</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getParameters()">getParameters</A></B>()</CODE><BR> return a parameter specification representing the EC domain parameters for the key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.security.spec.ECParameterSpec</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getParams()">getParams</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.math.BigInteger</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#getS()">getS</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#hashCode()">hashCode</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#setBagAttribute(org.bouncycastle.asn1.DERObjectIdentifier, org.bouncycastle.asn1.DEREncodable)">setBagAttribute</A></B>(<A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A> oid, <A HREF="../../../../org/bouncycastle/asn1/DEREncodable.html" title="interface in org.bouncycastle.asn1">DEREncodable</A> attribute)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#setPointFormat(java.lang.String)">setPointFormat</A></B>(java.lang.String style)</CODE><BR> Set the formatting for encoding of points.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html#toString()">toString</A></B>()</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="JCEECPrivateKey()"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>protected <B>JCEECPrivateKey</B>()</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.security.interfaces.ECPrivateKey)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.security.interfaces.ECPrivateKey key)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, org.bouncycastle.jce.spec.ECPrivateKeySpec)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, <A HREF="../../../../org/bouncycastle/jce/spec/ECPrivateKeySpec.html" title="class in org.bouncycastle.jce.spec">ECPrivateKeySpec</A> spec)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, java.security.spec.ECPrivateKeySpec)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, java.security.spec.ECPrivateKeySpec spec)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, org.bouncycastle.jce.provider.JCEECPrivateKey)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, <A HREF="../../../../org/bouncycastle/jce/provider/JCEECPrivateKey.html" title="class in org.bouncycastle.jce.provider">JCEECPrivateKey</A> key)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, org.bouncycastle.crypto.params.ECPrivateKeyParameters, java.security.spec.ECParameterSpec)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, <A HREF="../../../../org/bouncycastle/crypto/params/ECPrivateKeyParameters.html" title="class in org.bouncycastle.crypto.params">ECPrivateKeyParameters</A> params, java.security.spec.ECParameterSpec spec)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, org.bouncycastle.crypto.params.ECPrivateKeyParameters, org.bouncycastle.jce.spec.ECParameterSpec)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, <A HREF="../../../../org/bouncycastle/crypto/params/ECPrivateKeyParameters.html" title="class in org.bouncycastle.crypto.params">ECPrivateKeyParameters</A> params, <A HREF="../../../../org/bouncycastle/jce/spec/ECParameterSpec.html" title="class in org.bouncycastle.jce.spec">ECParameterSpec</A> spec)</PRE><DL></DL><HR><A NAME="JCEECPrivateKey(java.lang.String, org.bouncycastle.crypto.params.ECPrivateKeyParameters)"><!-- --></A><H3>JCEECPrivateKey</H3><PRE>public <B>JCEECPrivateKey</B>(java.lang.String algorithm, <A HREF="../../../../org/bouncycastle/crypto/params/ECPrivateKeyParameters.html" title="class in org.bouncycastle.crypto.params">ECPrivateKeyParameters</A> params)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getAlgorithm()"><!-- --></A><H3>getAlgorithm</H3><PRE>public java.lang.String <B>getAlgorithm</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getAlgorithm</CODE> in interface <CODE>java.security.Key</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public java.lang.String <B>getFormat</B>()</PRE><DL><DD>return the encoding format we produce in getEncoded().<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getFormat</CODE> in interface <CODE>java.security.Key</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the string "PKCS#8"</DL></DD></DL><HR><A NAME="getEncoded()"><!-- --></A><H3>getEncoded</H3><PRE>public byte[] <B>getEncoded</B>()</PRE><DL><DD>Return a PKCS8 representation of the key. The sequence returned represents a full PrivateKeyInfo object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getEncoded</CODE> in interface <CODE>java.security.Key</CODE></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -