Package org.opensaml.security.x509.impl
Class BasicPKIXValidationInformation
java.lang.Object
org.opensaml.security.x509.impl.BasicPKIXValidationInformation
- All Implemented Interfaces:
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 IntegerMax verification depth during PKIX validation. -
Constructor Summary
ConstructorsConstructorDescriptionBasicPKIXValidationInformation(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
-
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 validationcrls- CRLs used during validationdepth- max verification path depth
-
-
Method Details
-
getCRLs
- Specified by:
getCRLsin interfacePKIXValidationInformation
-
getCertificates
- Specified by:
getCertificatesin interfacePKIXValidationInformation
-
getVerificationDepth
- Specified by:
getVerificationDepthin interfacePKIXValidationInformation
-