📄 pkixcertpathreviewer.html
字号:
</DL></DL><HR><A NAME="certs"><!-- --></A><H3>certs</H3><PRE>protected java.util.List <B>certs</B></PRE><DL><DL></DL></DL><HR><A NAME="n"><!-- --></A><H3>n</H3><PRE>protected int <B>n</B></PRE><DL><DL></DL></DL><HR><A NAME="notifications"><!-- --></A><H3>notifications</H3><PRE>protected java.util.List[] <B>notifications</B></PRE><DL><DL></DL></DL><HR><A NAME="errors"><!-- --></A><H3>errors</H3><PRE>protected java.util.List[] <B>errors</B></PRE><DL><DL></DL></DL><HR><A NAME="trustAnchor"><!-- --></A><H3>trustAnchor</H3><PRE>protected java.security.cert.TrustAnchor <B>trustAnchor</B></PRE><DL><DL></DL></DL><HR><A NAME="subjectPublicKey"><!-- --></A><H3>subjectPublicKey</H3><PRE>protected java.security.PublicKey <B>subjectPublicKey</B></PRE><DL><DL></DL></DL><HR><A NAME="policyTree"><!-- --></A><H3>policyTree</H3><PRE>protected java.security.cert.PolicyNode <B>policyTree</B></PRE><DL><DL></DL></DL><!-- ========= 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="PKIXCertPathReviewer(java.security.cert.CertPath, java.security.cert.PKIXParameters)"><!-- --></A><H3>PKIXCertPathReviewer</H3><PRE>public <B>PKIXCertPathReviewer</B>(java.security.cert.CertPath certPath, java.security.cert.PKIXParameters params) throws <A HREF="../../../org/bouncycastle/x509/CertPathReviewerException.html" title="class in org.bouncycastle.x509">CertPathReviewerException</A></PRE><DL><DD>Creates a PKIXCertPathReviewer and initializes it with the given <CODE>CertPath</CODE> and <CODE>PKIXParameters</CODE> params<P><DL><DT><B>Parameters:</B><DD><CODE>certPath</CODE> - the <CODE>CertPath</CODE> to validate<DD><CODE>params</CODE> - the <CODE>PKIXParameters</CODE> to use<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/CertPathReviewerException.html" title="class in org.bouncycastle.x509">CertPathReviewerException</A></CODE> - if the certPath is empty</DL></DL><HR><A NAME="PKIXCertPathReviewer()"><!-- --></A><H3>PKIXCertPathReviewer</H3><PRE>public <B>PKIXCertPathReviewer</B>()</PRE><DL><DD>Creates an empty PKIXCertPathReviewer. Don't forget to call init() to initialize the object.<P></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="init(java.security.cert.CertPath, java.security.cert.PKIXParameters)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(java.security.cert.CertPath certPath, java.security.cert.PKIXParameters params) throws <A HREF="../../../org/bouncycastle/x509/CertPathReviewerException.html" title="class in org.bouncycastle.x509">CertPathReviewerException</A></PRE><DL><DD>Initializes the PKIXCertPathReviewer with the given <CODE>CertPath</CODE> and <CODE>PKIXParameters</CODE> params<P><DD><DL><DT><B>Parameters:</B><DD><CODE>certPath</CODE> - the <CODE>CertPath</CODE> to validate<DD><CODE>params</CODE> - the <CODE>PKIXParameters</CODE> to use<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/bouncycastle/x509/CertPathReviewerException.html" title="class in org.bouncycastle.x509">CertPathReviewerException</A></CODE> - if the certPath is empty<DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> is already initialized</DL></DD></DL><HR><A NAME="getCertPath()"><!-- --></A><H3>getCertPath</H3><PRE>public java.security.cert.CertPath <B>getCertPath</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the CertPath that was validated</DL></DD></DL><HR><A NAME="getCertPathSize()"><!-- --></A><H3>getCertPathSize</H3><PRE>public int <B>getCertPathSize</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the size of the CertPath</DL></DD></DL><HR><A NAME="getErrors()"><!-- --></A><H3>getErrors</H3><PRE>public java.util.List[] <B>getErrors</B>()</PRE><DL><DD>Returns an Array of Lists which contains a List of global error messages and a List of error messages for each certificate in the path. The global error List is at index 0. The error lists for each certificate at index 1 to n. The error messages are of type.<P><DD><DL><DT><B>Returns:</B><DD>the Array of Lists which contain the error messages<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> was not initialized</DL></DD></DL><HR><A NAME="getErrors(int)"><!-- --></A><H3>getErrors</H3><PRE>public java.util.List <B>getErrors</B>(int index)</PRE><DL><DD>Returns an List of error messages for the certificate at the given index in the CertPath. If index == -1 then the list of global errors is returned with errors not specific to a certificate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the certificate in the CertPath<DT><B>Returns:</B><DD>List of error messages for the certificate<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> was not initialized</DL></DD></DL><HR><A NAME="getNotifications()"><!-- --></A><H3>getNotifications</H3><PRE>public java.util.List[] <B>getNotifications</B>()</PRE><DL><DD>Returns an Array of Lists which contains a List of global notification messages and a List of botification messages for each certificate in the path. The global notificatio List is at index 0. The notification lists for each certificate at index 1 to n. The error messages are of type.<P><DD><DL><DT><B>Returns:</B><DD>the Array of Lists which contain the notification messages<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> was not initialized</DL></DD></DL><HR><A NAME="getNotifications(int)"><!-- --></A><H3>getNotifications</H3><PRE>public java.util.List <B>getNotifications</B>(int index)</PRE><DL><DD>Returns an List of notification messages for the certificate at the given index in the CertPath. If index == -1 then the list of global notifications is returned with notifications not specific to a certificate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the certificate in the CertPath<DT><B>Returns:</B><DD>List of notification messages for the certificate<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> was not initialized</DL></DD></DL><HR><A NAME="getPolicyTree()"><!-- --></A><H3>getPolicyTree</H3><PRE>public java.security.cert.PolicyNode <B>getPolicyTree</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the valid policy tree, <b>null</b> if no valid policy exists.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the <A HREF="../../../org/bouncycastle/x509/PKIXCertPathReviewer.html" title="class in org.bouncycastle.x509"><CODE>PKIXCertPathReviewer</CODE></A> was not initialized</DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -