Class CertPathValidatorUtilitiesCanl

    • Constructor Detail

      • CertPathValidatorUtilitiesCanl

        public CertPathValidatorUtilitiesCanl()
    • Method Detail

      • findTrustAnchorPublic

        public static java.security.cert.TrustAnchor findTrustAnchorPublic​(java.security.cert.X509Certificate cert,
                                                                           java.util.Set<?> trustAnchors,
                                                                           java.lang.String sigProvider)
                                                                    throws org.bouncycastle.jce.provider.AnnotatedException
        Throws:
        org.bouncycastle.jce.provider.AnnotatedException
      • findIssuerCerts

        public static java.util.Collection<?> findIssuerCerts​(java.security.cert.X509Certificate cert,
                                                              org.bouncycastle.jcajce.PKIXExtendedBuilderParameters pkixParams)
                                                       throws org.bouncycastle.jce.provider.AnnotatedException
        Throws:
        org.bouncycastle.jce.provider.AnnotatedException
      • getCompleteCRLs2

        protected static java.util.Set<?> getCompleteCRLs2​(org.bouncycastle.asn1.x509.DistributionPoint dp,
                                                           java.security.cert.X509Certificate cert,
                                                           java.util.Date currentDate,
                                                           org.bouncycastle.jcajce.PKIXExtendedParameters paramsPKIX)
                                                    throws SimpleValidationErrorException
        Throws:
        SimpleValidationErrorException
      • getCompleteCRLs

        protected static java.util.Set getCompleteCRLs​(org.bouncycastle.asn1.x509.DistributionPoint dp,
                                                       java.lang.Object cert,
                                                       java.util.Date currentDate,
                                                       org.bouncycastle.jcajce.PKIXExtendedParameters paramsPKIX)
                                                throws org.bouncycastle.jce.provider.AnnotatedException
        Parameters:
        dp -
        cert -
        currentDate -
        paramsPKIX -
        Returns:
        A Set of X509CRLs.
        Throws:
        org.bouncycastle.jce.provider.AnnotatedException
      • getDeltaCRLs2

        protected static java.util.Set<java.security.cert.X509CRL> getDeltaCRLs2​(java.util.Date currentDate,
                                                                                 org.bouncycastle.jcajce.PKIXExtendedParameters paramsPKIX,
                                                                                 java.security.cert.X509CRL completeCRL)
                                                                          throws SimpleValidationErrorException
        Fetches delta CRLs according to RFC 3280 section 5.2.4.
        Parameters:
        currentDate - The date for which the delta CRLs must be valid.
        paramsPKIX - The extended PKIX parameters.
        completeCRL - The complete CRL the delta CRL is for.
        Returns:
        A Set of X509CRLs with delta CRLs.
        Throws:
        SimpleValidationErrorException - if an exception occurs while picking the delta CRLs.
      • getExtensionValue

        protected static org.bouncycastle.asn1.ASN1Primitive getExtensionValue​(java.security.cert.X509Extension ext,
                                                                               java.lang.String oid)
                                                                        throws org.bouncycastle.jce.provider.AnnotatedException
        Throws:
        org.bouncycastle.jce.provider.AnnotatedException
      • getAdditionalStoresFromCRLDistributionPoint

        protected static java.util.List<org.bouncycastle.jcajce.PKIXCRLStore> getAdditionalStoresFromCRLDistributionPoint​(org.bouncycastle.asn1.x509.CRLDistPoint crldp,
                                                                                                                          org.bouncycastle.jcajce.PKIXExtendedBuilderParameters pkixParams)
                                                                                                                   throws org.bouncycastle.jce.provider.AnnotatedException
        Throws:
        org.bouncycastle.jce.provider.AnnotatedException
      • getSerialNumber

        public static java.math.BigInteger getSerialNumber​(java.lang.Object cert)