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

📄 certpathvalidatorutilities.html

📁 java非对称加密的源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                                                                      int&nbsp;index,                                                                      java.util.Set&nbsp;trustAnchors)                                                               throws java.security.cert.CertPathValidatorException</PRE><DL><DD>Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate.<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>java.security.cert.CertPathValidatorException</CODE> - if a TrustAnchor  was found but the signature verification on the given certificate has thrown an exception. This Exception can be obtainted with <code>getCause()</code> method.</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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;ext,                                             java.lang.String&nbsp;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>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="getIssuerPrincipal(java.security.cert.X509CRL)"><!-- --></A><H3>getIssuerPrincipal</H3><PRE>protected static javax.security.auth.x500.X500Principal <B>getIssuerPrincipal</B>(java.security.cert.X509CRL&nbsp;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&nbsp;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(java.security.cert.X509CRLSelector, java.util.List)"><!-- --></A><H3>findCRLs</H3><PRE>protected static final java.util.Collection <B>findCRLs</B>(java.security.cert.X509CRLSelector&nbsp;crlSelect,                                                     java.util.List&nbsp;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 CertStore's that are matching the crlSelect criteriums.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>crlSelect</CODE> - a <CODE>CertSelector</CODE> object that will be used to select the CRLs<DD><CODE>crlStores</CODE> - a List containing only <CODE>CertStore</CODE> objects. These are used to search for CRLs<DT><B>Returns:</B><DD>a Collection of all found <CODE>CRL</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="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>&nbsp;crlSelect,                                                     java.util.List&nbsp;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>&nbsp;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>&nbsp;validPolicyTree,                                                 java.util.List[]&nbsp;policyNodes,                                                 <A HREF="../../../../org/bouncycastle/jce/provider/PKIXPolicyNode.html" title="class in org.bouncycastle.jce.provider">PKIXPolicyNode</A>&nbsp;_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&nbsp;index,                                        java.util.List[]&nbsp;policyNodes,                                        <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A>&nbsp;pOid,                                        java.util.Set&nbsp;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&nbsp;index,                                      java.util.List[]&nbsp;policyNodes,                                      <A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A>&nbsp;_poid,                                      java.util.Set&nbsp;_pq)</PRE><DL><DD><DL></DL></DD></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>

⌨️ 快捷键说明

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