|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.pdf.OcspClientBouncyCastle
public class OcspClientBouncyCastle
OcspClient implementation using BouncyCastle.
| Field Summary | |
|---|---|
private java.security.cert.X509Certificate |
checkCert
check certificate |
private java.security.cert.X509Certificate |
rootCert
root certificate |
private java.lang.String |
url
OCSP URL |
| Constructor Summary | |
|---|---|
OcspClientBouncyCastle(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url)
Creates an instance of an OcspClient that will be using BouncyCastle. |
|
| Method Summary | |
|---|---|
private static org.bouncycastle.ocsp.OCSPReq |
generateOCSPRequest(java.security.cert.X509Certificate issuerCert,
java.math.BigInteger serialNumber)
Generates an OCSP request using BouncyCastle. |
byte[] |
getEncoded()
Gets an encoded byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.security.cert.X509Certificate rootCert
private java.security.cert.X509Certificate checkCert
private java.lang.String url
| Constructor Detail |
|---|
public OcspClientBouncyCastle(java.security.cert.X509Certificate checkCert,
java.security.cert.X509Certificate rootCert,
java.lang.String url)
checkCert - the check certificaterootCert - the root certificateurl - the OCSP URL| Method Detail |
|---|
private static org.bouncycastle.ocsp.OCSPReq generateOCSPRequest(java.security.cert.X509Certificate issuerCert,
java.math.BigInteger serialNumber)
throws org.bouncycastle.ocsp.OCSPException,
java.io.IOException
issuerCert - certificate of the issuesserialNumber - serial number
org.bouncycastle.ocsp.OCSPException
java.io.IOExceptionpublic byte[] getEncoded()
OcspClient
getEncoded in interface OcspClientOcspClient.getEncoded()
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||