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

📄 certpathvalidatorutilities.html

📁 kjlj oipipi poipoipo ipo [pipoi
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL><HR><A NAME="prepareNextCertB1(int, java.util.List[], java.lang.String, java.util.Map, java.security.cert.X509Certificate)"><!-- --></A><H3>prepareNextCertB1</H3><PRE>protected static void <B>prepareNextCertB1</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)                                 throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A>,                                        java.security.cert.CertPathValidatorException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></CODE><DD><CODE>java.security.cert.CertPathValidatorException</CODE></DL></DD></DL><HR><A NAME="prepareNextCertB2(int, java.util.List[], java.lang.String, org.bouncycastle.jce.provider.PKIXPolicyNode)"><!-- --></A><H3>prepareNextCertB2</H3><PRE>protected static <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A> <B>prepareNextCertB2</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)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isAnyPolicy(java.util.Set)"><!-- --></A><H3>isAnyPolicy</H3><PRE>protected static boolean <B>isAnyPolicy</B>(java.util.Set&nbsp;policySet)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="addAdditionalStoreFromLocation(java.lang.String, org.bouncycastle.x509.ExtendedPKIXParameters)"><!-- --></A><H3>addAdditionalStoreFromLocation</H3><PRE>protected static void <B>addAdditionalStoreFromLocation</B>(java.lang.String&nbsp;location,                                                     <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;pkixParams)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="findCertificates(org.bouncycastle.x509.X509CertStoreSelector, java.util.List)"><!-- --></A><H3>findCertificates</H3><PRE>protected static java.util.Collection <B>findCertificates</B>(<A HREF="../../../../org/bouncycastle/x509/X509CertStoreSelector.html" title="class in org.bouncycastle.x509">X509CertStoreSelector</A>&nbsp;certSelect,                                                       java.util.List&nbsp;certStores)                                                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 certificates or attribute certificates found in the X509Store's that are matching the certSelect criteriums.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>certSelect</CODE> - a <A HREF="../../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util"><CODE>Selector</CODE></A> object that will be used to select            the certificates<DD><CODE>certStores</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 certificates.<DT><B>Returns:</B><DD>a Collection of all found <CODE>X509Certificate</CODE> or         <A HREF="../../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509"><CODE>X509AttributeCertificate</CODE></A> 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="findCertificates(org.bouncycastle.x509.X509AttributeCertStoreSelector, java.util.List)"><!-- --></A><H3>findCertificates</H3><PRE>protected static java.util.Collection <B>findCertificates</B>(<A HREF="../../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html" title="class in org.bouncycastle.x509">X509AttributeCertStoreSelector</A>&nbsp;certSelect,                                                       java.util.List&nbsp;certStores)                                                throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD><DL><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="addAdditionalStoresFromCRLDistributionPoint(org.bouncycastle.asn1.x509.CRLDistPoint, org.bouncycastle.x509.ExtendedPKIXParameters)"><!-- --></A><H3>addAdditionalStoresFromCRLDistributionPoint</H3><PRE>protected static void <B>addAdditionalStoresFromCRLDistributionPoint</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)                                                           throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD><DL><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="getCRLIssuersFromDistributionPoint(org.bouncycastle.asn1.x509.DistributionPoint, java.util.Collection, java.security.cert.X509CRLSelector, org.bouncycastle.x509.ExtendedPKIXParameters)"><!-- --></A><H3>getCRLIssuersFromDistributionPoint</H3><PRE>protected static void <B>getCRLIssuersFromDistributionPoint</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,                                                         java.security.cert.X509CRLSelector&nbsp;selector,                                                         <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXParameters.html" title="class in org.bouncycastle.x509">ExtendedPKIXParameters</A>&nbsp;pkixParams)                                                  throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>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>. <p> The <code>issuerPrincipals</code> are a collection with a single <code>X500Principal</code> for <code>X509Certificate</code>s. For <A HREF="../../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509"><CODE>X509AttributeCertificate</CODE></A>s the issuer may contain more than one <code>X500Principal</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dp</CODE> - The distribution point.<DD><CODE>issuerPrincipals</CODE> - The issuers of the certificate or attribute            certificate which contains the distribution point.<DD><CODE>selector</CODE> - The CRL selector.<DD><CODE>pkixParams</CODE> - The PKIX parameters containing the cert stores.<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 an exception occurs while processing.<DD><CODE>java.lang.ClassCastException</CODE> - if <code>issuerPrincipals</code> does not contain only <code>X500Principal</code>s.</DL></DD></DL><HR><A NAME="getCertStatus(java.util.Date, java.security.cert.X509CRL, java.lang.Object, org.bouncycastle.jce.provider.CertStatus)"><!-- --></A><H3>getCertStatus</H3><PRE>protected static void <B>getCertStatus</B>(java.util.Date&nbsp;validDate,                                    java.security.cert.X509CRL&nbsp;crl,                                    java.lang.Object&nbsp;cert,                                    org.bouncycastle.jce.provider.CertStatus&nbsp;certStatus)                             throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD><DL><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="getDeltaCRLs(java.util.Date, org.bouncycastle.x509.ExtendedPKIXParameters, java.security.cert.X509CRL)"><!-- --></A><H3>getDeltaCRLs</H3><PRE>protected static java.util.Set <B>getDeltaCRLs</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)                                     throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Fetches delta CRLs according to RFC 3280 section 5.2.4.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>currentDate</CODE> - The date for which the delta CRLs must be valid.<DD><CODE>paramsPKIX</CODE> - The extended PKIX parameters.<DD><CODE>completeCRL</CODE> - The complete CRL the delta CRL is for.<DT><B>Returns:</B><DD>A <code>Set</code> of <code>X509CRL</code>s with delta CRLs.<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 an exception occurs while picking the delta             CRLs.</DL></DD></DL><HR><A NAME="getCompleteCRLs(org.bouncycastle.asn1.x509.DistributionPoint, java.lang.Object, java.util.Date, org.bouncycastle.x509.ExtendedPKIXParameters)"><!-- --></A><H3>getCompleteCRLs</H3><PRE>protected static java.util.Set <B>getCompleteCRLs</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)                                        throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD>Fetches complete CRLs according to RFC 3280.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dp</CODE> - The distribution point for which the complete CRL<DD><CODE>cert</CODE> - The <code>X509Certificate</code> or            <A HREF="../../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509"><CODE>X509AttributeCertificate</CODE></A> for            which the CRL should be searched.<DD><CODE>currentDate</CODE> - The date for which the delta CRLs must be valid.<DD><CODE>paramsPKIX</CODE> - The extended PKIX parameters.<DT><B>Returns:</B><DD>A <code>Set</code> of <code>X509CRL</code>s with complete         CRLs.<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 an exception occurs while picking the CRLs             or no CRLs are found.</DL></DD></DL><HR><A NAME="getValidCertDateFromValidityModel(org.bouncycastle.x509.ExtendedPKIXParameters, java.security.cert.CertPath, int)"><!-- --></A><H3>getValidCertDateFromValidityModel</H3><PRE>protected static java.util.Date <B>getValidCertDateFromValidityModel</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)                                                           throws <A HREF="../../../../org/bouncycastle/jce/provider/AnnotatedException.html" title="class in org.bouncycastle.jce.provider">AnnotatedException</A></PRE><DL><DD><DL><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="getNextWorkingKey(java.util.List, int)"><!-- --></A><H3>getNextWorkingKey</H3><PRE>protected static java.security.PublicKey <B>getNextWorkingKey</B>(java.util.List&nbsp;certs,                                                           int&nbsp;index)                                                    throws java.security.cert.CertPathValidatorException</PRE><DL><DD>Return the next working key inheriting DSA parameters if necessary. <p> This methods inherits DSA parameters from the indexed certificate or previous certificates in the certificate chain to the returned <code>PublicKey</code>. The list is searched upwards, meaning the end certificate is at position 0 and previous certificates are following. </p> <p> If the indexed certificate does not contain a DSA key this method simply returns the public key. If the DSA key already contains DSA parameters the key is also only returned. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>certs</CODE> - The certification path.<DD><CODE>index</CODE> - The index of the certificate which contains the public key            which should be extended with DSA parameters.<DT><B>Returns:</B><DD>The public key of the certificate in list position         <code>index</code> extended with DSA parameters if applicable.<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 DSA parameters cannot be inherited.<DD><CODE>java.security.cert.CertPathValidatorException</CODE></DL></DD></DL><HR><A NAME="findIssuerCerts(java.security.cert.X509Certificate, org.bouncycastle.x509.ExtendedPKIXBuilderParameters)"><!-- --></A><H3>findIssuerCerts</H3><PRE>protected static java.util.Collection <B>findIssuerCerts</B>(java.security.cert.X509Certificate&nbsp;cert,                                                      <A HREF="../../../../org/bouncycastle/x509/ExtendedPKIXBuilderParameters.html

⌨️ 快捷键说明

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