OcspClientpublic class OcspClientBouncyCastle extends java.lang.Object implements OcspClient
| Constructor | Description |
|---|---|
OcspClientBouncyCastle() |
Deprecated.
|
OcspClientBouncyCastle(OCSPVerifier verifier) |
Create
OcspClient |
| Modifier and Type | Method | Description |
|---|---|---|
org.bouncycastle.cert.ocsp.BasicOCSPResp |
getBasicOCSPResp(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url) |
Gets OCSP response.
|
byte[] |
getEncoded(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url) |
Gets an encoded byte array with OCSP validation.
|
@Deprecated public OcspClientBouncyCastle()
OcspClient.
Note, if you use this constructor, OCSP response will not be verified.public OcspClientBouncyCastle(OCSPVerifier verifier)
OcspClientverifier - will be used for response verification. {@see OCSPVerifier}.public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url)
public byte[] getEncoded(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url)
getEncoded in interface OcspClientcheckCert - to certificate to checkrootCert - the parent certificateurl - to get the verification. It it's null it will be taken
from the check cert or from other implementation specific sourceCopyright © 1998–2018. All rights reserved.