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
Modifier and TypeMethodDescriptionGets the certificate trust anchors used during PKIX validation.getCRLs()Gets the CRLs used during PKIX validation.Gets the maximum allowable trust chain verification depth.
-
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
Gets the CRLs used during PKIX validation.- Specified by:
getCRLsin interfacePKIXValidationInformation- Returns:
- CRLs used during PKIX validation
-
getCertificates
Gets the certificate trust anchors used during PKIX validation.- Specified by:
getCertificatesin interfacePKIXValidationInformation- Returns:
- trust anchors used during PKIX validation
-
getVerificationDepth
Gets the maximum allowable trust chain verification depth.- Specified by:
getVerificationDepthin interfacePKIXValidationInformation- Returns:
- maximum allowable trust chain verification depth
-