📄 certpathvalidatorutilities.html
字号:
<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="CertPathValidatorUtilities()"><!-- --></A><H3>CertPathValidatorUtilities</H3><PRE>public <B>CertPathValidatorUtilities</B>()</PRE><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="findTrustAnchor(java.security.cert.X509Certificate, java.util.Set)"><!-- --></A><H3>findTrustAnchor</H3><PRE>protected static java.security.cert.TrustAnchor <B>findTrustAnchor</B>(java.security.cert.X509Certificate cert, java.util.Set trustAnchors) throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate. Uses the default provider for signature verification.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cert</CODE> - the X509 certificate<DD><CODE>trustAnchors</CODE> - a Set of TrustAnchor's<DT><B>Returns:</B><DD>the <code>TrustAnchor</code> object if found or <code>null</code> if not.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></CODE> - if a TrustAnchor was found but the signature verification on the given certificate has thrown an exception.</DL></DD></DL><HR><A NAME="findTrustAnchor(java.security.cert.X509Certificate, java.util.Set, java.lang.String)"><!-- --></A><H3>findTrustAnchor</H3><PRE>protected static java.security.cert.TrustAnchor <B>findTrustAnchor</B>(java.security.cert.X509Certificate cert, java.util.Set trustAnchors, java.lang.String sigProvider) throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate. Uses the specified provider for signature verification, or the default provider if null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cert</CODE> - the X509 certificate<DD><CODE>trustAnchors</CODE> - a Set of TrustAnchor's<DD><CODE>sigProvider</CODE> - the provider to use for signature verification<DT><B>Returns:</B><DD>the <code>TrustAnchor</code> object if found or <code>null</code> if not.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></CODE> - if a TrustAnchor was found but the signature verification on the given certificate has thrown an exception.</DL></DD></DL><HR><A NAME="addAdditionalStoresFromAltNames(java.security.cert.X509Certificate, org.bouncycastle.x509.ExtendedPKIXParameters)"><!-- --></A><H3>addAdditionalStoresFromAltNames</H3><PRE>protected static void <B>addAdditionalStoresFromAltNames</B>(java.security.cert.X509Certificate cert, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> pkixParams) throws java.security.cert.CertificateParsingException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertificateParsingException</CODE></DL></DD></DL><HR><A NAME="getEncodedIssuerPrincipal(java.lang.Object)"><!-- --></A><H3>getEncodedIssuerPrincipal</H3><PRE>protected static javax.security.auth.x500.X500Principal <B>getEncodedIssuerPrincipal</B>(java.lang.Object cert)</PRE><DL><DD>Returns the issuer of an attribute certificate or certificate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cert</CODE> - The attribute certificate or certificate.<DT><B>Returns:</B><DD>The issuer as <code>X500Principal</code>.</DL></DD></DL><HR><A NAME="getValidDate(java.security.cert.PKIXParameters)"><!-- --></A><H3>getValidDate</H3><PRE>protected static java.util.Date <B>getValidDate</B>(java.security.cert.PKIXParameters paramsPKIX)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSubjectPrincipal(java.security.cert.X509Certificate)"><!-- --></A><H3>getSubjectPrincipal</H3><PRE>protected static javax.security.auth.x500.X500Principal <B>getSubjectPrincipal</B>(java.security.cert.X509Certificate cert)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isSelfIssued(java.security.cert.X509Certificate)"><!-- --></A><H3>isSelfIssued</H3><PRE>protected static boolean <B>isSelfIssued</B>(java.security.cert.X509Certificate cert)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getExtensionValue(java.security.cert.X509Extension, java.lang.String)"><!-- --></A><H3>getExtensionValue</H3><PRE>protected static <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A> <B>getExtensionValue</B>(java.security.cert.X509Extension ext, java.lang.String oid) throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Extract the value of the given extension, if it exists.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ext</CODE> - The extension object.<DD><CODE>oid</CODE> - The object identifier to obtain.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></CODE> - if the extension cannot be read.</DL></DD></DL><HR><A NAME="getIssuerPrincipal(java.security.cert.X509CRL)"><!-- --></A><H3>getIssuerPrincipal</H3><PRE>protected static javax.security.auth.x500.X500Principal <B>getIssuerPrincipal</B>(java.security.cert.X509CRL crl)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getAlgorithmIdentifier(java.security.PublicKey)"><!-- --></A><H3>getAlgorithmIdentifier</H3><PRE>protected static <A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A> <B>getAlgorithmIdentifier</B>(java.security.PublicKey key) throws java.security.cert.CertPathValidatorException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertPathValidatorException</CODE></DL></DD></DL><HR><A NAME="findCRLs(org.bouncycastle.x509.X509CRLStoreSelector, java.util.List)"><!-- --></A><H3>findCRLs</H3><PRE>protected static final java.util.Collection <B>findCRLs</B>(<A HREF="../../../../org/bouncycastle/x509/X509CRLStoreSelector.html" title="class in org.bouncycastle.x509">X509CRLStoreSelector</A> crlSelect, java.util.List crlStores) throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Return a Collection of all CRLs found in the X509Store's that are matching the crlSelect criteriums.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>crlSelect</CODE> - a <A HREF="../../../../org/bouncycastle/x509/X509CRLStoreSelector.html" title="class in org.bouncycastle.x509"><CODE>X509CRLStoreSelector</CODE></A> object that will be used to select the CRLs<DD><CODE>crlStores</CODE> - a List containing only <A HREF="../../../../org/bouncycastle/x509/X509Store.html" title="class in org.bouncycastle.x509"><CODE>X509Store</CODE></A> objects. These are used to search for CRLs<DT><B>Returns:</B><DD>a Collection of all found <CODE>X509CRL</CODE> objects. May be empty but never <code>null</code>.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></CODE></DL></DD></DL><HR><A NAME="getQualifierSet(org.bouncycastle.asn1.ASN1Sequence)"><!-- --></A><H3>getQualifierSet</H3><PRE>protected static final java.util.Set <B>getQualifierSet</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A> qualifiers) throws java.security.cert.CertPathValidatorException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.cert.CertPathValidatorException</CODE></DL></DD></DL><HR><A NAME="removePolicyNode(org.bouncycastle.jce.provider.PKIXPolicyNode, java.util.List[], org.bouncycastle.jce.provider.PKIXPolicyNode)"><!-- --></A><H3>removePolicyNode</H3><PRE>protected static <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A> <B>removePolicyNode</B>(<A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A> validPolicyTree, java.util.List[] policyNodes, <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A> _node)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="processCertD1i(int, java.util.List[], org.bouncycastle.asn1.DERObjectIdentifier, java.util.Set)"><!-- --></A><H3>processCertD1i</H3><PRE>protected static boolean <B>processCertD1i</B>(int index, java.util.List[] policyNodes, <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A> pOid, java.util.Set pq)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="processCertD1ii(int, java.util.List[], org.bouncycastle.asn1.DERObjectIdentifier, java.util.Set)"><!-- --></A><H3>processCertD1ii</H3><PRE>protected static void <B>processCertD1ii</B>(int index, java.util.List[] policyNodes, <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A> _poid, java.util.Set _pq)</PRE><DL><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -