📄 x509attributecertificate.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.6.0) on Fri Mar 13 12:56:56 EST 2009 --><TITLE>X509AttributeCertificate (Bouncy Castle Library 1.42 API Specification)</TITLE><META NAME="date" CONTENT="2009-03-13"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ if (location.href.indexOf('is-external=true') == -1) { parent.document.title="X509AttributeCertificate (Bouncy Castle Library 1.42 API Specification)"; }}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><HR><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.bouncycastle.x509</FONT><BR>Interface X509AttributeCertificate</H2><DL><DT><B>All Superinterfaces:</B> <DD>java.security.cert.X509Extension</DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/bouncycastle/x509/X509V2AttributeCertificate.html" title="class in org.bouncycastle.x509">X509V2AttributeCertificate</A></DD></DL><HR><DL><DT><PRE>public interface <B>X509AttributeCertificate</B><DT>extends java.security.cert.X509Extension</DL></PRE><P>Interface for an X.509 Attribute Certificate.<P><P><HR><P><!-- ========== 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#checkValidity()">checkValidity</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/X509AttributeCertificate.html#checkValidity(java.util.Date)">checkValidity</A></B>(java.util.Date date)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/x509/X509Attribute.html" title="class in org.bouncycastle.x509">X509Attribute</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getAttributes()">getAttributes</A></B>()</CODE><BR> Return the attributes contained in the attribute block in the certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/x509/X509Attribute.html" title="class in org.bouncycastle.x509">X509Attribute</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getAttributes(java.lang.String)">getAttributes</A></B>(java.lang.String oid)</CODE><BR> Return the attributes with the same type as the passed in oid.</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/X509AttributeCertificate.html#getEncoded()">getEncoded</A></B>()</CODE><BR> Return an ASN.1 encoded byte array representing the attribute certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getHolder()">getHolder</A></B>()</CODE><BR> Return the holder of the certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getIssuer()">getIssuer</A></B>()</CODE><BR> Return the issuer details for the certificate.</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/X509AttributeCertificate.html#getIssuerUniqueID()">getIssuerUniqueID</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Date</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotAfter()">getNotAfter</A></B>()</CODE><BR> Return the date after which the certificate is not valid.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Date</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html#getNotBefore()">getNotBefore</A></B>()</CODE><BR> Return the date before which the certificate is not valid.</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/x509/X509AttributeCertificate.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/X509AttributeCertificate.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/X509AttributeCertificate.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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.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.security.cert.X509Extension"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface java.security.cert.X509Extension</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getCriticalExtensionOIDs, getExtensionValue, getNonCriticalExtensionOIDs, hasUnsupportedCriticalExtension</CODE></TD></TR></TABLE> <P><!-- ============ 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>int <B>getVersion</B>()</PRE><DL><DD>Return the version number for the certificate.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the version number.</DL></DD></DL><HR><A NAME="getSerialNumber()"><!-- --></A><H3>getSerialNumber</H3><PRE>java.math.BigInteger <B>getSerialNumber</B>()</PRE><DL><DD>Return the serial number for the certificate.<P><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -