public class CRLValidation extends java.lang.Object implements CertPathValidation
| Constructor and Description |
|---|
CRLValidation(org.bouncycastle.asn1.x500.X500Name trustAnchorName,
org.bouncycastle.util.Store crls)
Deprecated.
this constructor cannot verify CRL signatures, so a matched CRL is rejected
(fail-closed) rather than trusted. Use
CRLValidation(X500Name, SubjectPublicKeyInfo,
X509ContentVerifierProviderBuilder, Store) so CRLs are checked against the issuer's key. |
CRLValidation(org.bouncycastle.asn1.x500.X500Name trustAnchorName,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo trustAnchorKey,
X509ContentVerifierProviderBuilder contentVerifierProvider,
org.bouncycastle.util.Store crls)
Base constructor for CRL based revocation checking with CRL signature verification.
|
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.util.Memoable |
copy() |
void |
reset(org.bouncycastle.util.Memoable other) |
void |
validate(CertPathValidationContext context,
X509CertificateHolder certificate) |
public CRLValidation(org.bouncycastle.asn1.x500.X500Name trustAnchorName,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo trustAnchorKey,
X509ContentVerifierProviderBuilder contentVerifierProvider,
org.bouncycastle.util.Store crls)
trustAnchorName - the name of the trust anchor the path starts from.trustAnchorKey - the public key of the trust anchor, used to verify the first CRL.contentVerifierProvider - builder for the verifier used to check CRL signatures.crls - a Store of the CRLs to consult.public CRLValidation(org.bouncycastle.asn1.x500.X500Name trustAnchorName,
org.bouncycastle.util.Store crls)
CRLValidation(X500Name, SubjectPublicKeyInfo,
X509ContentVerifierProviderBuilder, Store) so CRLs are checked against the issuer's key.public void validate(CertPathValidationContext context, X509CertificateHolder certificate) throws CertPathValidationException
validate in interface CertPathValidationCertPathValidationExceptionpublic org.bouncycastle.util.Memoable copy()
copy in interface org.bouncycastle.util.Memoablepublic void reset(org.bouncycastle.util.Memoable other)
reset in interface org.bouncycastle.util.Memoable