Class BasicPKIXValidationInformation

  • All Implemented Interfaces:
    org.opensaml.security.x509.PKIXValidationInformation

    public class BasicPKIXValidationInformation
    extends Object
    implements org.opensaml.security.x509.PKIXValidationInformation
    Basic implementation of PKIXValidationInformation.
    • Field Detail

      • trustedCRLs

        private final Collection<X509CRL> trustedCRLs
        CRLs used during validation.
      • verificationDepth

        private final Integer verificationDepth
        Max verification depth during PKIX validation.
    • Constructor Detail

      • BasicPKIXValidationInformation

        public BasicPKIXValidationInformation​(@Nullable @ParameterName(name="anchors")
                                              Collection<X509Certificate> anchors,
                                              @Nullable @ParameterName(name="crls")
                                              Collection<X509CRL> crls,
                                              @Nullable @ParameterName(name="depth")
                                              Integer depth)
        Constructor.
        Parameters:
        anchors - certs used as trust anchors during validation
        crls - CRLs used during validation
        depth - max verification path depth
    • Method Detail

      • getCRLs

        @Nullable
        public Collection<X509CRL> getCRLs()
        Specified by:
        getCRLs in interface org.opensaml.security.x509.PKIXValidationInformation
      • getCertificates

        @Nullable
        public Collection<X509Certificate> getCertificates()
        Specified by:
        getCertificates in interface org.opensaml.security.x509.PKIXValidationInformation
      • getVerificationDepth

        @Nullable
        public Integer getVerificationDepth()
        Specified by:
        getVerificationDepth in interface org.opensaml.security.x509.PKIXValidationInformation