📄 x509attributecertificate.html
字号:
<DD><DL><DT><B>Returns:</B><DD>the serial number.</DL></DD></DL><HR><A NAME="getNotBefore()"><!-- --></A><H3>getNotBefore</H3><PRE>java.util.Date <B>getNotBefore</B>()</PRE><DL><DD>Return the date before which the certificate is not valid.<P><DD><DL></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>java.util.Date <B>getNotAfter</B>()</PRE><DL><DD>Return the date after which the certificate is not valid.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the "not valid afer" date.</DL></DD></DL><HR><A NAME="getHolder()"><!-- --></A><H3>getHolder</H3><PRE><A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A> <B>getHolder</B>()</PRE><DL><DD>Return the holder of the certificate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the holder.</DL></DD></DL><HR><A NAME="getIssuer()"><!-- --></A><H3>getIssuer</H3><PRE><A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A> <B>getIssuer</B>()</PRE><DL><DD>Return the issuer details for the certificate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the issuer details.</DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE><A HREF="../../../org/bouncycastle/x509/X509Attribute.html" title="class in org.bouncycastle.x509">X509Attribute</A>[] <B>getAttributes</B>()</PRE><DL><DD>Return the attributes contained in the attribute block in the certificate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of attributes.</DL></DD></DL><HR><A NAME="getAttributes(java.lang.String)"><!-- --></A><H3>getAttributes</H3><PRE><A HREF="../../../org/bouncycastle/x509/X509Attribute.html" title="class in org.bouncycastle.x509">X509Attribute</A>[] <B>getAttributes</B>(java.lang.String oid)</PRE><DL><DD>Return the attributes with the same type as the passed in oid.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>oid</CODE> - the object identifier we wish to match.<DT><B>Returns:</B><DD>an array of matched attributes, null if there is no match.</DL></DD></DL><HR><A NAME="getIssuerUniqueID()"><!-- --></A><H3>getIssuerUniqueID</H3><PRE>boolean[] <B>getIssuerUniqueID</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="checkValidity()"><!-- --></A><H3>checkValidity</H3><PRE>void <B>checkValidity</B>() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException</PRE><DL><DD><DL></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>void <B>checkValidity</B>(java.util.Date date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException</PRE><DL><DD><DL></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="getSignature()"><!-- --></A><H3>getSignature</H3><PRE>byte[] <B>getSignature</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="verify(java.security.PublicKey, java.lang.String)"><!-- --></A><H3>verify</H3><PRE>void <B>verify</B>(java.security.PublicKey key, java.lang.String provider) throws java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertificateException</CODE><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.SignatureException</CODE></DL></DD></DL><HR><A NAME="getEncoded()"><!-- --></A><H3>getEncoded</H3><PRE>byte[] <B>getEncoded</B>() throws java.io.IOException</PRE><DL><DD>Return an ASN.1 encoded byte array representing the attribute certificate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an ASN.1 encoded byte array.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the certificate cannot be encoded.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Bouncy Castle Cryptography Library 1.42</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/bouncycastle/x509/X509Attribute.html" title="class in org.bouncycastle.x509"><B>PREV CLASS</B></A> <A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html" title="class in org.bouncycastle.x509"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/bouncycastle/x509/X509AttributeCertificate.html" target="_top"><B>FRAMES</B></A> <A HREF="X509AttributeCertificate.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -