public class X509RevocationChecker extends PKIXCertPathChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
X509RevocationChecker.Builder |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAIN_VALIDITY_MODEL
This model uses the following validity model.
|
protected static String[] |
crlReasons |
static int |
PKIX_VALIDITY_MODEL
This is the default PKIX validity model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check(Certificate certificate,
Collection<String> collection) |
protected void |
checkCRLs(PKIXExtendedParameters paramsPKIX,
X509Certificate cert,
Date validDate,
X509Certificate sign,
PublicKey workingPublicKey,
List certPathCerts,
org.bouncycastle.pkix.jcajce.PKIXJcaJceHelper helper)
Checks a certificate if it is revoked.
|
Object |
clone() |
Set<String> |
getSupportedExtensions() |
void |
init(boolean forward) |
boolean |
isForwardCheckingSupported() |
checkpublic static final int PKIX_VALIDITY_MODEL
PKIXParameters.setDate(Date) method, so this
methods sets the Date when all certificates must have been
valid.public static final int CHAIN_VALIDITY_MODEL
PKIXParameters.setDate(Date) method sets the time, when
the end certificate must have been valid. It is used e.g.
in the German signature law.protected static final String[] crlReasons
public void init(boolean forward)
throws CertPathValidatorException
init in interface CertPathCheckerinit in class PKIXCertPathCheckerCertPathValidatorExceptionpublic boolean isForwardCheckingSupported()
isForwardCheckingSupported in interface CertPathCheckerisForwardCheckingSupported in class PKIXCertPathCheckerpublic Set<String> getSupportedExtensions()
getSupportedExtensions in class PKIXCertPathCheckerpublic void check(Certificate certificate, Collection<String> collection) throws CertPathValidatorException
check in class PKIXCertPathCheckerCertPathValidatorExceptionprotected void checkCRLs(PKIXExtendedParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, List certPathCerts, org.bouncycastle.pkix.jcajce.PKIXJcaJceHelper helper) throws org.bouncycastle.pkix.jcajce.AnnotatedException, CertPathValidatorException
paramsPKIX - PKIX parameters.cert - Certificate to check if it is revoked.validDate - The date when the certificate revocation status should be
checked.sign - The issuer certificate of the certificate cert.workingPublicKey - The public key of the issuer certificate sign.certPathCerts - The certificates of the certification path.AnnotatedException - if the certificate is revoked or the status cannot be checked
or some error occurs.CertPathValidatorExceptionpublic Object clone()
clone in class PKIXCertPathCheckerCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.