📄 certpathvalidatorutilities.html
字号:
<A NAME="constructor_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>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#CertPathValidatorUtilities()">CertPathValidatorUtilities</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== 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>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#addAdditionalStoreFromLocation(java.lang.String, org.bouncycastle.x509.ExtendedPKIXParameters)">addAdditionalStoreFromLocation</A></B>(java.lang.String location, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> pkixParams)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#addAdditionalStoresFromCRLDistributionPoint(org.bouncycastle.asn1.x509.CRLDistPoint, org.bouncycastle.x509.ExtendedPKIXParameters)">addAdditionalStoresFromCRLDistributionPoint</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/CRLDistPoint.html" title="class in org.bouncycastle.asn1.x509">CRLDistPoint</A> crldp, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> pkixParams)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#findCertificates(java.security.cert.CertSelector, java.util.List)">findCertificates</A></B>(java.security.cert.CertSelector certSelect, java.util.List certStores)</CODE><BR> Return a Collection of all certificates found in the CertStore's that are matching the certSelect criteriums.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#findCertificates(org.bouncycastle.util.Selector, java.util.List)">findCertificates</A></B>(<A HREF="../../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</A> certSelect, java.util.List certStores)</CODE><BR> Return a Collection of all certificates or attribute certificates found in the X509Store's that are matching the certSelect criteriums.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#findCRLs(java.security.cert.X509CRLSelector, java.util.List)">findCRLs</A></B>(java.security.cert.X509CRLSelector crlSelect, java.util.List crlStores)</CODE><BR> Return a Collection of all CRLs found in the CertStore's that are matching the crlSelect criteriums.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#findCRLs(org.bouncycastle.x509.X509CRLStoreSelector, java.util.List)">findCRLs</A></B>(<A HREF="../../../../org/bouncycastle/x509/X509CRLStoreSelector.html" title="class in org.bouncycastle.x509">X509CRLStoreSelector</A> crlSelect, java.util.List crlStores)</CODE><BR> Return a Collection of all CRLs found in the X509Store's that are matching the crlSelect criteriums.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.security.cert.TrustAnchor</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#findTrustAnchor(java.security.cert.X509Certificate, java.security.cert.CertPath, int, java.util.Set)">findTrustAnchor</A></B>(java.security.cert.X509Certificate cert, java.security.cert.CertPath certPath, int index, java.util.Set trustAnchors)</CODE><BR> Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getAlgorithmIdentifier(java.security.PublicKey)">getAlgorithmIdentifier</A></B>(java.security.PublicKey key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getCertStatus(java.util.Date, java.security.cert.X509CRL, java.math.BigInteger, org.bouncycastle.jce.provider.CertStatus)">getCertStatus</A></B>(java.util.Date validDate, java.security.cert.X509CRL crl, java.math.BigInteger serialNumber, org.bouncycastle.jce.provider.CertStatus certStatus)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Set</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getCompleteCRLs(org.bouncycastle.asn1.x509.DistributionPoint, java.lang.Object, java.util.Date, org.bouncycastle.x509.ExtendedPKIXParameters)">getCompleteCRLs</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/DistributionPoint.html" title="class in org.bouncycastle.asn1.x509">DistributionPoint</A> dp, java.lang.Object cert, java.util.Date currentDate, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> paramsPKIX)</CODE><BR> Fetches complete CRLs according to RFC 3280.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getCRLIssuersFromDistributionPoint(org.bouncycastle.asn1.x509.DistributionPoint, java.util.Collection, org.bouncycastle.x509.X509CRLStoreSelector, org.bouncycastle.x509.ExtendedPKIXParameters)">getCRLIssuersFromDistributionPoint</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/DistributionPoint.html" title="class in org.bouncycastle.asn1.x509">DistributionPoint</A> dp, java.util.Collection issuerPrincipals, <A HREF="../../../../org/bouncycastle/x509/X509CRLStoreSelector.html" title="class in org.bouncycastle.x509">X509CRLStoreSelector</A> selector, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> pkixParams)</CODE><BR> Add the CRL issuers from the cRLIssuer field of the distribution point or from the certificate if not given to the issuer criterion of the <code>selector</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Set</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getDeltaCRLs(java.util.Date, org.bouncycastle.x509.ExtendedPKIXParameters, java.security.cert.X509CRL)">getDeltaCRLs</A></B>(java.util.Date currentDate, <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> paramsPKIX, java.security.cert.X509CRL completeCRL)</CODE><BR> Fetches delta CRLs according to RFC 3280 section 5.2.4.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static javax.security.auth.x500.X500Principal</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getEncodedIssuerPrincipal(java.lang.Object)">getEncodedIssuerPrincipal</A></B>(java.lang.Object cert)</CODE><BR> Returns the issuer of an attribute certificate or certificate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getExtensionValue(java.security.cert.X509Extension, java.lang.String)">getExtensionValue</A></B>(java.security.cert.X509Extension ext, java.lang.String oid)</CODE><BR> extract the value of the given extension, if it exists.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static javax.security.auth.x500.X500Principal</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getIssuerPrincipal(java.security.cert.X509CRL)">getIssuerPrincipal</A></B>(java.security.cert.X509CRL crl)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.security.PublicKey</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getNextWorkingKey(java.security.cert.X509Certificate, java.util.List, int)">getNextWorkingKey</A></B>(java.security.cert.X509Certificate cert, java.util.List certs, int index)</CODE><BR> Return the next working key inheriting DSA parameters if necessary.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Set</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getQualifierSet(org.bouncycastle.asn1.ASN1Sequence)">getQualifierSet</A></B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A> qualifiers)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static javax.security.auth.x500.X500Principal</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getSubjectPrincipal(java.security.cert.X509Certificate)">getSubjectPrincipal</A></B>(java.security.cert.X509Certificate cert)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Date</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getValidCertDateFromValidityModel(org.bouncycastle.x509.ExtendedPKIXParameters, java.security.cert.CertPath, int)">getValidCertDateFromValidityModel</A></B>(<A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A> paramsPKIX, java.security.cert.CertPath certPath, int index)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.Date</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#getValidDate(java.security.cert.PKIXParameters)">getValidDate</A></B>(java.security.cert.PKIXParameters paramsPKIX)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#isAnyPolicy(java.util.Set)">isAnyPolicy</A></B>(java.util.Set policySet)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#isSelfIssued(java.security.cert.X509Certificate)">isSelfIssued</A></B>(java.security.cert.X509Certificate cert)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#prepareNextCertB1(int, java.util.List[], java.lang.String, java.util.Map, java.security.cert.X509Certificate)">prepareNextCertB1</A></B>(int i, java.util.List[] policyNodes, java.lang.String id_p, java.util.Map m_idp, java.security.cert.X509Certificate cert)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#prepareNextCertB2(int, java.util.List[], java.lang.String, org.bouncycastle.jce.provider.PKIXPolicyNode)">prepareNextCertB2</A></B>(int i, java.util.List[] policyNodes, java.lang.String id_p, <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A> validPolicyTree)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/CertPathValidatorUtilities.html#processCertD1i(int, java.util.List[], org.bouncycastle.asn1.DERObjectIdentifier, java.util.Set)">processCertD1i</A></B>(int index, java.util.List[] policyNodes, <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A> pOid,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -