Package org.opensaml.security.x509.impl
Class BasicPKIXValidationInformation
- java.lang.Object
-
- org.opensaml.security.x509.impl.BasicPKIXValidationInformation
-
- All Implemented Interfaces:
PKIXValidationInformation
public class BasicPKIXValidationInformation 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 BasicPKIXValidationInformation(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
private final Collection<X509Certificate> trustAnchors
Certs used as the trust anchors.
-
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 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
@Nullable public Integer getVerificationDepth()
- Specified by:
getVerificationDepthin interfacePKIXValidationInformation
-
-