Package net.shibboleth.idp.saml.security
Class KeyAuthoritySupport.KeyAuthorityPKIXValidationInformation
java.lang.Object
net.shibboleth.idp.saml.security.KeyAuthoritySupport.KeyAuthorityPKIXValidationInformation
- All Implemented Interfaces:
PKIXValidationInformation
- Enclosing class:
- KeyAuthoritySupport
public static class KeyAuthoritySupport.KeyAuthorityPKIXValidationInformation
extends Object
implements PKIXValidationInformation
Basic implementation of
PKIXValidationInformation
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection<X509Certificate>
Certs used as the trust anchors.private final Collection<X509CRL>
CRLs used during validation.private final Integer
Max verification depth during PKIX validation. -
Constructor Summary
ConstructorsConstructorDescriptionKeyAuthorityPKIXValidationInformation
(Collection<X509Certificate> anchors, Collection<X509CRL> crls, Integer depth) Constructor. -
Method Summary
-
Field Details
-
trustAnchors
Certs used as the trust anchors. -
trustedCRLs
CRLs used during validation. -
verificationDepth
Max verification depth during PKIX validation.
-
-
Constructor Details
-
KeyAuthorityPKIXValidationInformation
public KeyAuthorityPKIXValidationInformation(@Nullable Collection<X509Certificate> anchors, @Nullable Collection<X509CRL> crls, @Nonnull Integer depth) Constructor.- Parameters:
anchors
- certs used as trust anchors during validationcrls
- CRLs used during validationdepth
- max verification path depth
-
-
Method Details
-
getCRLs
- Specified by:
getCRLs
in interfacePKIXValidationInformation
-
getCertificates
- Specified by:
getCertificates
in interfacePKIXValidationInformation
-
getVerificationDepth
- Specified by:
getVerificationDepth
in interfacePKIXValidationInformation
-