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

📄 certpathvalidatorutilities.html

📁 java非对称加密的源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DD><DL></DL></DD></DL><HR><A NAME="findCertificates(java.security.cert.CertSelector, java.util.List)"><!-- --></A><H3>findCertificates</H3><PRE>protected static java.util.Collection <B>findCertificates</B>(java.security.cert.CertSelector&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 found in the CertStore's that are matching the certSelect criteriums.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>certSelect</CODE> - a <CODE>CertSelector</CODE> object that will            be used to select the certificates<DD><CODE>certStores</CODE> - a List containing only <CODE>CertStore</CODE>            objects. These are used to search for certificates<DT><B>Returns:</B><DD>a Collection of all found <CODE>Certificate</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="findCertificates(org.bouncycastle.util.Selector, java.util.List)"><!-- --></A><H3>findCertificates</H3><PRE>protected static java.util.Collection <B>findCertificates</B>(<A HREF="../../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</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="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, org.bouncycastle.x509.X509CRLStoreSelector, 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,                                                         <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)                                                  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 atribute            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.math.BigInteger, 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.math.BigInteger&nbsp;serialNumber,                                    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 or no delta CRLs are found.</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.security.cert.X509Certificate, java.util.List, int)"><!-- --></A><H3>getNextWorkingKey</H3><PRE>protected static java.security.PublicKey <B>getNextWorkingKey</B>(java.security.cert.X509Certificate&nbsp;cert,                                                           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><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Bouncy Castle Cryptography Library 1.38</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/BrokenPBE.Util.html" title="class in org.bouncycastle.jce.provider"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/CertStoreCollectionSpi.html" title="class in org.bouncycastle.jce.provider"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/bouncycastle/jce/provider/CertPathValidatorUtilities.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CertPathValidatorUtilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT S

⌨️ 快捷键说明

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