public final class OCSPUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
OCSPUtils.OCSPRevocationStatus |
static class |
OCSPUtils.RevocationStatus |
Constructor and Description |
---|
OCSPUtils() |
Modifier and Type | Method and Description |
---|---|
static OCSPUtils.OCSPRevocationStatus |
check(X509Certificate cert,
X509Certificate issuerCertificate)
Requests certificate revocation status using OCSP.
|
static OCSPUtils.OCSPRevocationStatus |
check(X509Certificate cert,
X509Certificate issuerCertificate,
Date date,
X509Certificate responderCert)
Requests certificate revocation status using OCSP.
|
static OCSPUtils.OCSPRevocationStatus |
check(X509Certificate cert,
X509Certificate issuerCertificate,
URI responderURI,
X509Certificate responderCert,
Date date)
Requests certificate revocation status using OCSP.
|
public static OCSPUtils.OCSPRevocationStatus check(X509Certificate cert, X509Certificate issuerCertificate, URI responderURI, X509Certificate responderCert, Date date) throws CertPathValidatorException
cert
- the certificate to be checkedissuerCertificate
- The issuer certificateresponderURI
- an address of OCSP responder. Overrides any OCSP responder URIs stored in certificate's AIA extensiondate
- responderCert
- a certificate that OCSP responder uses to sign OCSP responsesCertPathValidatorException
public static OCSPUtils.OCSPRevocationStatus check(X509Certificate cert, X509Certificate issuerCertificate, Date date, X509Certificate responderCert) throws CertPathValidatorException
cert
- the certificate to be checkedissuerCertificate
- The issuer certificatedate
- CertPathValidatorException
public static OCSPUtils.OCSPRevocationStatus check(X509Certificate cert, X509Certificate issuerCertificate) throws CertPathValidatorException
cert
- the certificate to be checkedissuerCertificate
- The issuer certificateCertPathValidatorException
Copyright © 2019 JBoss by Red Hat. All rights reserved.