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 ofPKIXValidationInformation.
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<X509Certificate>trustAnchorsCerts used as the trust anchors.private Collection<X509CRL>trustedCRLsCRLs used during validation.private IntegerverificationDepthMax verification depth during PKIX validation.
-
Constructor Summary
Constructors Constructor Description KeyAuthorityPKIXValidationInformation(Collection<X509Certificate> anchors, Collection<X509CRL> crls, Integer depth)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<X509Certificate>getCertificates()Collection<X509CRL>getCRLs()IntegergetVerificationDepth()
-
-
-
Field Detail
-
trustAnchors
@Nullable @NonnullElements private final Collection<X509Certificate> trustAnchors
Certs used as the trust anchors.
-
trustedCRLs
@Nullable @NonnullElements private final Collection<X509CRL> trustedCRLs
CRLs used during validation.
-
verificationDepth
@Nonnull private final Integer verificationDepth
Max verification depth during PKIX validation.
-
-
Constructor Detail
-
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 Detail
-
getCRLs
@Nullable public Collection<X509CRL> getCRLs()
- Specified by:
getCRLsin interfacePKIXValidationInformation
-
getCertificates
@Nullable public Collection<X509Certificate> getCertificates()
- Specified by:
getCertificatesin interfacePKIXValidationInformation
-
getVerificationDepth
@Nonnull public Integer getVerificationDepth()
- Specified by:
getVerificationDepthin interfacePKIXValidationInformation
-
-