|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.security.OcspClientBouncyCastle
public class OcspClientBouncyCastle
OcspClient implementation using BouncyCastle.
| Constructor Summary | |
|---|---|
OcspClientBouncyCastle()
Deprecated. |
|
OcspClientBouncyCastle(OCSPVerifier verifier)
Create OcspClient |
|
| Method Summary | |
|---|---|
org.bouncycastle.cert.ocsp.BasicOCSPResp |
getBasicOCSPResp(X509Certificate checkCert,
X509Certificate rootCert,
String url)
Gets OCSP response. |
byte[] |
getEncoded(X509Certificate checkCert,
X509Certificate rootCert,
String url)
Gets an encoded byte array with OCSP validation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public OcspClientBouncyCastle()
OcspClient.
Note, if you use this constructor, OCSP response will not be verified.
public OcspClientBouncyCastle(OCSPVerifier verifier)
OcspClient
verifier - will be used for response verification. OCSPVerifier.| Method Detail |
|---|
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp(X509Certificate checkCert,
X509Certificate rootCert,
String url)
OCSPVerifier was setted, the response will be checked.
public byte[] getEncoded(X509Certificate checkCert,
X509Certificate rootCert,
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 source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||