📄 x509v2attributecertificate.html
字号:
<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/x509/X509V2AttributeCertificate.html#getSerialNumber()">getSerialNumber</A></B>()</CODE><BR> Return the serial number for the certificate.</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/x509/X509V2AttributeCertificate.html#getSignature()">getSignature</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/x509/X509V2AttributeCertificate.html#getVersion()">getVersion</A></B>()</CODE><BR> Return the version number for the certificate.</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/x509/X509V2AttributeCertificate.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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509V2AttributeCertificate.html#hasUnsupportedCriticalExtension()">hasUnsupportedCriticalExtension</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/x509/X509V2AttributeCertificate.html#verify(java.security.PublicKey, java.lang.String)">verify</A></B>(java.security.PublicKey key, java.lang.String provider)</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, 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="X509V2AttributeCertificate(java.io.InputStream)"><!-- --></A><H3>X509V2AttributeCertificate</H3><PRE>public <B>X509V2AttributeCertificate</B>(java.io.InputStream encIn) throws java.io.IOException</PRE><DL><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DL><HR><A NAME="X509V2AttributeCertificate(byte[])"><!-- --></A><H3>X509V2AttributeCertificate</H3><PRE>public <B>X509V2AttributeCertificate</B>(byte[] encoded) throws java.io.IOException</PRE><DL><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></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="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public int <B>getVersion</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getVersion()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the version number for the certificate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getVersion()">getVersion</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the version number.</DL></DD></DL><HR><A NAME="getSerialNumber()"><!-- --></A><H3>getSerialNumber</H3><PRE>public java.math.BigInteger <B>getSerialNumber</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getSerialNumber()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the serial number for the certificate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getSerialNumber()">getSerialNumber</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the serial number.</DL></DD></DL><HR><A NAME="getHolder()"><!-- --></A><H3>getHolder</H3><PRE>public <A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A> <B>getHolder</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getHolder()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the holder of the certificate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getHolder()">getHolder</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the holder.</DL></DD></DL><HR><A NAME="getIssuer()"><!-- --></A><H3>getIssuer</H3><PRE>public <A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A> <B>getIssuer</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getIssuer()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the issuer details for the certificate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getIssuer()">getIssuer</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the issuer details.</DL></DD></DL><HR><A NAME="getNotBefore()"><!-- --></A><H3>getNotBefore</H3><PRE>public java.util.Date <B>getNotBefore</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotBefore()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the date before which the certificate is not valid.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotBefore()">getNotBefore</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the "not valid before" date.</DL></DD></DL><HR><A NAME="getNotAfter()"><!-- --></A><H3>getNotAfter</H3><PRE>public java.util.Date <B>getNotAfter</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotAfter()">X509AttributeCertificate</A></CODE></B></DD><DD>Return the date after which the certificate is not valid.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotAfter()">getNotAfter</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the "not valid afer" date.</DL></DD></DL><HR><A NAME="getIssuerUniqueID()"><!-- --></A><H3>getIssuerUniqueID</H3><PRE>public boolean[] <B>getIssuerUniqueID</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getIssuerUniqueID()">getIssuerUniqueID</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="checkValidity()"><!-- --></A><H3>checkValidity</H3><PRE>public void <B>checkValidity</B>() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#checkValidity()">checkValidity</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertificateExpiredException</CODE><DD><CODE>java.security.cert.CertificateNotYetValidException</CODE></DL></DD></DL><HR><A NAME="checkValidity(java.util.Date)"><!-- --></A><H3>checkValidity</H3><PRE>public void <B>checkValidity</B>(java.util.Date date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -