📄 x509crl.html
字号:
<CODE>abstract byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#getSignature()">getSignature</A></B>()</CODE><BR> Gets the <code>signature</code> value (the raw signature bits) from the CRL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#getTBSCertList()">getTBSCertList</A></B>()</CODE><BR> Gets the DER-encoded CRL information, the <code>tbsCertList</code> from this CRL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../java/util/Date.html">Date</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#getThisUpdate()">getThisUpdate</A></B>()</CODE><BR> Gets the <code>thisUpdate</code> date from the CRL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#getVersion()">getVersion</A></B>()</CODE><BR> Gets the <code>version</code> (version number) value from the CRL.</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="../../../java/security/cert/X509CRL.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hashcode value for this CRL from its encoded form.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#verify(java.security.PublicKey)">verify</A></B>(<A HREF="../../../java/security/PublicKey.html">PublicKey</A> key)</CODE><BR> Verifies that this CRL was signed using the private key that corresponds to the given public key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/security/cert/X509CRL.html#verify(java.security.PublicKey, java.lang.String)">verify</A></B>(<A HREF="../../../java/security/PublicKey.html">PublicKey</A> key, <A HREF="../../../java/lang/String.html">String</A> sigProvider)</CODE><BR> Verifies that this CRL was signed using the private key that corresponds to the given public key.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.security.cert.CRL"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.security.cert.<A HREF="../../../java/security/cert/CRL.html">CRL</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/security/cert/CRL.html#getType()">getType</A>, <A HREF="../../../java/security/cert/CRL.html#isRevoked(java.security.cert.Certificate)">isRevoked</A>, <A HREF="../../../java/security/cert/CRL.html#toString()">toString</A></CODE></TD></TR></TABLE> <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#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</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#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> <A NAME="methods_inherited_from_class_java.security.cert.X509Extension"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface java.security.cert.<A HREF="../../../java/security/cert/X509Extension.html">X509Extension</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/security/cert/X509Extension.html#getCriticalExtensionOIDs()">getCriticalExtensionOIDs</A>, <A HREF="../../../java/security/cert/X509Extension.html#getExtensionValue(java.lang.String)">getExtensionValue</A>, <A HREF="../../../java/security/cert/X509Extension.html#getNonCriticalExtensionOIDs()">getNonCriticalExtensionOIDs</A>, <A HREF="../../../java/security/cert/X509Extension.html#hasUnsupportedCriticalExtension()">hasUnsupportedCriticalExtension</A></CODE></TD></TR></TABLE> <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="X509CRL()"><!-- --></A><H3>X509CRL</H3><PRE>protected <B>X509CRL</B>()</PRE><DL><DD>Constructor for X.509 CRLs.</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="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../java/lang/Object.html">Object</A> other)</PRE><DL><DD>Compares this CRL for equality with the given object. If the <code>other</code> object is an <code>instanceof</code> <code>X509CRL</code>, then its encoded form is retrieved and compared with the encoded form of this CRL.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - the object to test for equality with this CRL.<DT><B>Returns:</B><DD>true iff the encoded forms of the two CRLs match, false otherwise.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hashcode value for this CRL from its encoded form.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the hashcode value.</DL></DD></DL><HR><A NAME="getEncoded()"><!-- --></A><H3>getEncoded</H3><PRE>public abstract byte[] <B>getEncoded</B>() throws <A HREF="../../../java/security/cert/CRLException.html">CRLException</A></PRE><DL><DD>Returns the ASN.1 DER-encoded form of this CRL.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the encoded form of this certificate<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/security/cert/CRLException.html">CRLException</A></CODE> - if an encoding error occurs.</DL></DD></DL><HR><A NAME="verify(java.security.PublicKey)"><!-- --></A><H3>verify</H3><PRE>public abstract void <B>verify</B>(<A HREF="../../../java/security/PublicKey.html">PublicKey</A> key) throws <A HREF="../../../java/security/cert/CRLException.html">CRLException</A>, <A HREF="../../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A>, <A HREF="../../../java/security/InvalidKeyException.html">InvalidKeyException</A>, <A HREF="../../../java/security/NoSuchProviderException.html">NoSuchProviderException</A>, <A HREF="../../../java/security/SignatureException.html">SignatureException</A></PRE><DL><DD>Verifies that this CRL was signed using the private key that corresponds to the given public key.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the PublicKey used to carry out the verification.<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A></CODE> - on unsupported signature algorithms.<DD><CODE><A HREF="../../../java/security/InvalidKeyException.html">InvalidKeyException</A></CODE> - on incorrect key.<DD><CODE><A HREF="../../../java/security/NoSuchProviderException.html">NoSuchProviderException</A></CODE> - if there's no default provider.<DD><CODE><A HREF="../../../java/security/SignatureException.html">SignatureException</A></CODE> - on signature errors.<DD><CODE><A HREF="../../../java/security/cert/CRLException.html">CRLException</A></CODE> - on encoding errors.</DL></DD></DL><HR><A NAME="verify(java.security.PublicKey, java.lang.String)"><!-- --></A><H3>verify</H3><PRE>public abstract void <B>verify</B>(<A HREF="../../../java/security/PublicKey.html">PublicKey</A> key, <A HREF="../../../java/lang/String.html">String</A> sigProvider) throws <A HREF="../../../java/security/cert/CRLException.html">CRLException</A>, <A HREF="../../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A>, <A HREF="../../../java/security/InvalidKeyException.html">InvalidKeyException</A>, <A HREF="../../../java/security/NoSuchProviderException.html">NoSuchProviderException</A>, <A HREF="../../../java/security/SignatureException.html">SignatureException</A></PRE><DL><DD>Verifies that this CRL was signed using the private key that corresponds to the given public key. This method uses the signature verification engine supplied by the given provider.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the PublicKey used to carry out the verification.<DD><CODE>sigProvider</CODE> - the name of the signature provider.<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/security/NoSuchAlgorithmException.html">NoSuchAlgorithmException</A></CODE> - on unsupported signature algorithms.<DD><CODE><A HREF="../../../java/security/InvalidKeyException.html">InvalidKeyException</A></CODE> - on incorrect key.<DD><CODE><A HREF="../../../java/security/NoSuchProviderException.html">NoSuchProviderException</A></CODE> - on incorrect provider.<DD><CODE><A HREF="../../../java/security/SignatureException.html">SignatureException</A></CODE> - on signature errors.<DD><CODE><A HREF="../../../java/security/cert/CRLException.html">CRLException</A></CODE> - on encoding errors.</DL></DD></DL><HR><A NAME="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public abstract int <B>getVersion</B>()</PRE><DL><DD>Gets the <code>version</code> (version number) value from the CRL. The ASN.1 definition for this is: <pre> version Version OPTIONAL, -- if present, must be v2<p> Version ::= INTEGER { v1(0), v2(1), v3(2) } -- v3 does not apply to CRLs but appears for consistency -- with definition of Version for certs </pre><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the version number, i.e. 1 or 2.</DL></DD></DL><HR><A NAME="getIssuerDN()"><!-- --></A><H3>getIssuerDN</H3><PRE>public abstract <A HREF="../../../java/security/Principal.html">Principal</A> <B>getIssuerDN</B>()</PRE><DL><DD>Gets the <code>issuer</code> (issuer distinguished name) value from the CRL. The issuer name identifies the entity that signed (and issued) the CRL. <p>The issuer name field contains an X.500 distinguished name (DN). The ASN.1 definition for this is: <pre> issuer Name
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -