⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attributecertificateholder.html

📁 kjlj oipipi poipoipo ipo [pipoi
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertificateParsingException</CODE></DL></DL><HR><A NAME="AttributeCertificateHolder(org.bouncycastle.jce.X509Principal)"><!-- --></A><H3>AttributeCertificateHolder</H3><PRE>public <B>AttributeCertificateHolder</B>(<A HREF="../../../org/bouncycastle/jce/X509Principal.html" title="class in org.bouncycastle.jce">X509Principal</A>&nbsp;principal)</PRE><DL></DL><HR><A NAME="AttributeCertificateHolder(javax.security.auth.x500.X500Principal)"><!-- --></A><H3>AttributeCertificateHolder</H3><PRE>public <B>AttributeCertificateHolder</B>(javax.security.auth.x500.X500Principal&nbsp;principal)</PRE><DL></DL><HR><A NAME="AttributeCertificateHolder(int, java.lang.String, java.lang.String, byte[])"><!-- --></A><H3>AttributeCertificateHolder</H3><PRE>public <B>AttributeCertificateHolder</B>(int&nbsp;digestedObjectType,                                  java.lang.String&nbsp;digestAlgorithm,                                  java.lang.String&nbsp;otherObjectTypeID,                                  byte[]&nbsp;objectDigest)</PRE><DL><DD>Constructs a holder for v2 attribute certificates with a hash value for some type of object. <p> <code>digestedObjectType</code> can be one of the following: <ul> <li>0 - publicKey - A hash of the public key of the holder must be passed. <li>1 - publicKeyCert - A hash of the public key certificate of the holder must be passed. <li>2 - otherObjectDigest - A hash of some other object type must be passed. <code>otherObjectTypeID</code> must not be empty. </ul> <p> This cannot be used if a v1 attribute certificate is used.<P><DL><DT><B>Parameters:</B><DD><CODE>digestedObjectType</CODE> - The digest object type.<DD><CODE>digestAlgorithm</CODE> - The algorithm identifier for the hash.<DD><CODE>otherObjectTypeID</CODE> - The object type ID if            <code>digestedObjectType</code> is            <code>otherObjectDigest</code>.<DD><CODE>objectDigest</CODE> - The hash value.</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="getDigestedObjectType()"><!-- --></A><H3>getDigestedObjectType</H3><PRE>public int <B>getDigestedObjectType</B>()</PRE><DL><DD>Returns the digest object type if an object digest info is used. <p> <ul> <li>0 - publicKey - A hash of the public key of the holder must be passed. <li>1 - publicKeyCert - A hash of the public key certificate of the holder must be passed. <li>2 - otherObjectDigest - A hash of some other object type must be passed. <code>otherObjectTypeID</code> must not be empty. </ul><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The digest object type or -1 if no object digest info is set.</DL></DD></DL><HR><A NAME="getDigestAlgorithm()"><!-- --></A><H3>getDigestAlgorithm</H3><PRE>public java.lang.String <B>getDigestAlgorithm</B>()</PRE><DL><DD>Returns the other object type ID if an object digest info is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The other object type ID or <code>null</code> if no object         digest info is set.</DL></DD></DL><HR><A NAME="getObjectDigest()"><!-- --></A><H3>getObjectDigest</H3><PRE>public byte[] <B>getObjectDigest</B>()</PRE><DL><DD>Returns the hash if an object digest info is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hash or <code>null</code> if no object digest info is set.</DL></DD></DL><HR><A NAME="getOtherObjectTypeID()"><!-- --></A><H3>getOtherObjectTypeID</H3><PRE>public java.lang.String <B>getOtherObjectTypeID</B>()</PRE><DL><DD>Returns the digest algorithm ID if an object digest info is used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The digest algorithm ID or <code>null</code> if no object         digest info is set.</DL></DD></DL><HR><A NAME="getEntityNames()"><!-- --></A><H3>getEntityNames</H3><PRE>public java.security.Principal[] <B>getEntityNames</B>()</PRE><DL><DD>Return any principal objects inside the attribute certificate holder entity names field.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of Principal objects (usually X500Principal), null if no         entity names field is set.</DL></DD></DL><HR><A NAME="getIssuer()"><!-- --></A><H3>getIssuer</H3><PRE>public java.security.Principal[] <B>getIssuer</B>()</PRE><DL><DD>Return the principals associated with the issuer attached to this holder<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of principals, null if no BaseCertificateID is set.</DL></DD></DL><HR><A NAME="getSerialNumber()"><!-- --></A><H3>getSerialNumber</H3><PRE>public java.math.BigInteger <B>getSerialNumber</B>()</PRE><DL><DD>Return the serial number associated with the issuer attached to this holder.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the certificate serial number, null if no BaseCertificateID is         set.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>java.security.cert.CertSelector</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/util/Selector.html#clone()">clone</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</A></CODE><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="match(java.security.cert.Certificate)"><!-- --></A><H3>match</H3><PRE>public boolean <B>match</B>(java.security.cert.Certificate&nbsp;cert)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>match</CODE> in interface <CODE>java.security.cert.CertSelector</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="match(java.lang.Object)"><!-- --></A><H3>match</H3><PRE>public boolean <B>match</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/util/Selector.html#match(java.lang.Object)">match</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</A></CODE></DL></DD><DD><DL></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.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/AttributeCertificateHolder.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AttributeCertificateHolder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -