📄 pkcs10certificationrequest.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#PKCS10CertificationRequest(java.lang.String, org.bouncycastle.asn1.x509.X509Name, java.security.PublicKey, org.bouncycastle.asn1.ASN1Set, java.security.PrivateKey, java.lang.String)">PKCS10CertificationRequest</A></B>(java.lang.String signatureAlgorithm, <A HREF="../../../org/bouncycastle/asn1/x509/X509Name.html" title="class in org.bouncycastle.asn1.x509">X509Name</A> subject, java.security.PublicKey key, <A HREF="../../../org/bouncycastle/asn1/ASN1Set.html" title="class in org.bouncycastle.asn1">ASN1Set</A> attributes, java.security.PrivateKey signingKey, java.lang.String provider)</CODE><BR> create a PKCS10 certfication request using the named provider.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></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/PKCS10CertificationRequest.html#getEncoded()">getEncoded</A></B>()</CODE><BR> return a DER encoded byte array representing this object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.security.PublicKey</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#getPublicKey()">getPublicKey</A></B>()</CODE><BR> return the public key associated with the certification request - the public key is created using the BC provider.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.security.PublicKey</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#getPublicKey(java.lang.String)">getPublicKey</A></B>(java.lang.String provider)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#verify()">verify</A></B>()</CODE><BR> verify the request using the BC provider.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#verify(java.security.PublicKey, java.lang.String)">verify</A></B>(java.security.PublicKey pubKey, java.lang.String provider)</CODE><BR> verify the request using the passed in public key and the provider..</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/jce/PKCS10CertificationRequest.html#verify(java.lang.String)">verify</A></B>(java.lang.String provider)</CODE><BR> verify the request using the passed in provider.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.bouncycastle.asn1.pkcs.CertificationRequest"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.asn1.pkcs.<A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html" title="class in org.bouncycastle.asn1.pkcs">CertificationRequest</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html#getCertificationRequestInfo()">getCertificationRequestInfo</A>, <A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html#getInstance(java.lang.Object)">getInstance</A>, <A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html#getSignature()">getSignature</A>, <A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html#getSignatureAlgorithm()">getSignatureAlgorithm</A>, <A HREF="../../../org/bouncycastle/asn1/pkcs/CertificationRequest.html#toASN1Object()">toASN1Object</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.asn1.<A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html#getDEREncoded()">getDEREncoded</A>, <A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html#getDERObject()">getDERObject</A>, <A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html#getEncoded(java.lang.String)">getEncoded</A>, <A HREF="../../../org/bouncycastle/asn1/ASN1Encodable.html#hashCode()">hashCode</A></CODE></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, toString, 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="PKCS10CertificationRequest(byte[])"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(byte[] bytes)</PRE><DL><DD>construct a PKCS10 certification request from a DER encoded byte stream.<P></DL><HR><A NAME="PKCS10CertificationRequest(org.bouncycastle.asn1.ASN1Sequence)"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(<A HREF="../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A> sequence)</PRE><DL></DL><HR><A NAME="PKCS10CertificationRequest(java.lang.String, org.bouncycastle.asn1.x509.X509Name, java.security.PublicKey, org.bouncycastle.asn1.ASN1Set, java.security.PrivateKey)"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(java.lang.String signatureAlgorithm, <A HREF="../../../org/bouncycastle/asn1/x509/X509Name.html" title="class in org.bouncycastle.asn1.x509">X509Name</A> subject, java.security.PublicKey key, <A HREF="../../../org/bouncycastle/asn1/ASN1Set.html" title="class in org.bouncycastle.asn1">ASN1Set</A> attributes, java.security.PrivateKey signingKey) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException, java.security.SignatureException</PRE><DL><DD>create a PKCS10 certfication request using the BC provider.<P><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.SignatureException</CODE></DL></DL><HR><A NAME="PKCS10CertificationRequest(java.lang.String, javax.security.auth.x500.X500Principal, java.security.PublicKey, org.bouncycastle.asn1.ASN1Set, java.security.PrivateKey)"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(java.lang.String signatureAlgorithm, javax.security.auth.x500.X500Principal subject, java.security.PublicKey key, <A HREF="../../../org/bouncycastle/asn1/ASN1Set.html" title="class in org.bouncycastle.asn1">ASN1Set</A> attributes, java.security.PrivateKey signingKey) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException, java.security.SignatureException</PRE><DL><DD>create a PKCS10 certfication request using the BC provider.<P><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.SignatureException</CODE></DL></DL><HR><A NAME="PKCS10CertificationRequest(java.lang.String, javax.security.auth.x500.X500Principal, java.security.PublicKey, org.bouncycastle.asn1.ASN1Set, java.security.PrivateKey, java.lang.String)"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(java.lang.String signatureAlgorithm, javax.security.auth.x500.X500Principal subject, java.security.PublicKey key, <A HREF="../../../org/bouncycastle/asn1/ASN1Set.html" title="class in org.bouncycastle.asn1">ASN1Set</A> attributes, java.security.PrivateKey signingKey, java.lang.String provider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException, java.security.SignatureException</PRE><DL><DD>create a PKCS10 certfication request using the named provider.<P><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.SignatureException</CODE></DL></DL><HR><A NAME="PKCS10CertificationRequest(java.lang.String, org.bouncycastle.asn1.x509.X509Name, java.security.PublicKey, org.bouncycastle.asn1.ASN1Set, java.security.PrivateKey, java.lang.String)"><!-- --></A><H3>PKCS10CertificationRequest</H3><PRE>public <B>PKCS10CertificationRequest</B>(java.lang.String signatureAlgorithm, <A HREF="../../../org/bouncycastle/asn1/x509/X509Name.html" title="class in org.bouncycastle.asn1.x509">X509Name</A> subject, java.security.PublicKey key,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -