public class OcspMultiClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static Property<Boolean> |
EXCEPTION_ON_NO_PATH |
static Property<OcspFetcher> |
FETCHER |
static Property<List<X509Certificate>> |
INTERMEDIATES |
static Property<Boolean> |
NONCE |
static Property<URI> |
OVERRIDE_URL |
protected Properties |
properties
Properties provided by the builder.
|
| Modifier and Type | Method and Description |
|---|---|
static Builder<OcspMultiClient> |
builder()
Builder to create an instance of the client.
|
protected URI |
detectOcspUri(X509Certificate certificate) |
protected network.oxalis.pkix.ocsp.OcspResponse |
fetch(network.oxalis.pkix.ocsp.OcspRequest ocspReq,
URI uri) |
protected X509Certificate |
findIntermediate(X509Certificate certificate)
Method for finding issuer by provided issuers in properties given an issued certificate.
|
OcspResult |
verify(CertificateIssuer issuer,
X509Certificate... certificates) |
OcspResult |
verify(URI uri,
CertificateIssuer issuer,
BigInteger... serialNumbers) |
OcspResult |
verify(X509Certificate... certificates) |
public static final Property<OcspFetcher> FETCHER
public static final Property<List<X509Certificate>> INTERMEDIATES
protected final Properties properties
public static Builder<OcspMultiClient> builder()
public OcspResult verify(X509Certificate... certificates) throws OcspException
OcspExceptionpublic OcspResult verify(CertificateIssuer issuer, X509Certificate... certificates) throws OcspException
OcspExceptionpublic OcspResult verify(URI uri, CertificateIssuer issuer, BigInteger... serialNumbers) throws OcspException
OcspExceptionprotected X509Certificate findIntermediate(X509Certificate certificate) throws OcspException
certificate - Issued certificate.OcspException - Thrown when no issuer is found.protected URI detectOcspUri(X509Certificate certificate) throws OcspException
OcspExceptionprotected network.oxalis.pkix.ocsp.OcspResponse fetch(network.oxalis.pkix.ocsp.OcspRequest ocspReq,
URI uri)
throws OcspException
OcspExceptionCopyright © 2022 NorStella. All rights reserved.