public class OcspClientBouncyCastle extends java.lang.Object implements OcspClient
Constructor and Description |
---|
OcspClientBouncyCastle() |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.cert.ocsp.BasicOCSPResp |
getBasicOCSPResp(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url) |
byte[] |
getEncoded(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url)
Gets an encoded byte array with OCSP validation.
|
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 OcspClient
checkCert
- 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 © 2013. All Rights Reserved.