OcspClientpublic class OcspClientBouncyCastle extends Object implements OcspClient
| Constructor | Description |
|---|---|
OcspClientBouncyCastle() |
| Modifier and Type | Method | Description |
|---|---|---|
org.bouncycastle.cert.ocsp.BasicOCSPResp |
getBasicOCSPResp(X509Certificate checkCert,
X509Certificate rootCert,
String url) |
|
byte[] |
getEncoded(X509Certificate checkCert,
X509Certificate rootCert,
String url) |
Gets an encoded byte array with OCSP validation.
|
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp(X509Certificate checkCert, X509Certificate rootCert, String url)
public byte[] getEncoded(X509Certificate checkCert, X509Certificate rootCert, String url)
getEncoded in interface OcspClientcheckCert - to certificate to checkrootCert - the parent certificatethe - url to get the verification. It it's null it will be taken
from the check cert or from other implementation specific sourceCopyright © 2018. All rights reserved.