public class BasicPKIXValidationInformation extends Object implements PKIXValidationInformation
PKIXValidationInformation
.Constructor and Description |
---|
BasicPKIXValidationInformation(Collection<X509Certificate> anchors,
Collection<X509CRL> crls,
Integer depth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<X509Certificate> |
getCertificates()
Gets the certificate trust anchors used during PKIX validation.
|
Collection<X509CRL> |
getCRLs()
Gets the CRLs used during PKIX validation.
|
Integer |
getVerificationDepth()
Gets the maximum allowable trust chain verification depth.
|
public BasicPKIXValidationInformation(@Nullable Collection<X509Certificate> anchors, @Nullable Collection<X509CRL> crls, @Nullable Integer depth)
anchors
- certs used as trust anchors during validationcrls
- CRLs used during validationdepth
- max verification path depth@Nullable public Collection<X509CRL> getCRLs()
getCRLs
in interface PKIXValidationInformation
@Nullable public Collection<X509Certificate> getCertificates()
getCertificates
in interface PKIXValidationInformation
@Nullable public Integer getVerificationDepth()
getVerificationDepth
in interface PKIXValidationInformation
Copyright © 2018. All rights reserved.