public class OCSPRule extends AbstractRule
| Modifier and Type | Field and Description |
|---|---|
protected net.klakegg.pkix.ocsp.OcspClient |
ocspClient |
static Property<net.klakegg.pkix.ocsp.CertificateResult> |
RESULT |
| Constructor and Description |
|---|
OCSPRule(CertificateBucket intermediateCertificates) |
OCSPRule(net.klakegg.pkix.ocsp.OcspClient ocspClient) |
| Modifier and Type | Method and Description |
|---|---|
Report |
validate(X509Certificate certificate,
Report report)
Validate certificate.
|
validatepublic static final Property<net.klakegg.pkix.ocsp.CertificateResult> RESULT
protected net.klakegg.pkix.ocsp.OcspClient ocspClient
public OCSPRule(CertificateBucket intermediateCertificates)
public OCSPRule(net.klakegg.pkix.ocsp.OcspClient ocspClient)
public Report validate(X509Certificate certificate, Report report) throws CertificateValidationException
ValidatorRulevalidate in interface ValidatorRulevalidate in class AbstractRulecertificate - Certificate subject to validation.report - Report to be filled during validation.CertificateValidationExceptionCopyright © 2020 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.