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

📄 certpathvalidatorutilities.html

📁 java非对称加密的源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== 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&nbsp;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&nbsp;location,                               <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;pkixParams)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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>&nbsp;crldp,                                            <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;pkixParams)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;certSelect,                 java.util.List&nbsp;certStores)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;certSelect,                 java.util.List&nbsp;certStores)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;crlSelect,         java.util.List&nbsp;crlStores)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;crlSelect,         java.util.List&nbsp;crlStores)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;cert,                java.security.cert.CertPath&nbsp;certPath,                int&nbsp;index,                java.util.Set&nbsp;trustAnchors)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;validDate,              java.security.cert.X509CRL&nbsp;crl,              java.math.BigInteger&nbsp;serialNumber,              org.bouncycastle.jce.provider.CertStatus&nbsp;certStatus)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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>&nbsp;dp,                java.lang.Object&nbsp;cert,                java.util.Date&nbsp;currentDate,                <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;paramsPKIX)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;dp,                                   java.util.Collection&nbsp;issuerPrincipals,                                   <A HREF="../../../../org/bouncycastle/x509/X509CRLStoreSelector.html" title="class in org.bouncycastle.x509">X509CRLStoreSelector</A>&nbsp;selector,                                   <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;pkixParams)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;currentDate,             <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;paramsPKIX,             java.security.cert.X509CRL&nbsp;completeCRL)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;cert)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;ext,                  java.lang.String&nbsp;oid)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;crl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;cert,                  java.util.List&nbsp;certs,                  int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;qualifiers)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;cert)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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>&nbsp;paramsPKIX,                                  java.security.cert.CertPath&nbsp;certPath,                                  int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;paramsPKIX)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;policySet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;cert)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;i,                  java.util.List[]&nbsp;policyNodes,                  java.lang.String&nbsp;id_p,                  java.util.Map&nbsp;m_idp,                  java.security.cert.X509Certificate&nbsp;cert)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<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&nbsp;i,                  java.util.List[]&nbsp;policyNodes,                  java.lang.String&nbsp;id_p,                  <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A>&nbsp;validPolicyTree)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;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&nbsp;index,               java.util.List[]&nbsp;policyNodes,               <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A>&nbsp;pOid,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -