com.lowagie.text.pdf
public class OcspClientBouncyCastle extends Object implements OcspClient
Since: 2.1.6
Field Summary | |
---|---|
X509Certificate | checkCert check certificate |
X509Certificate | rootCert root certificate |
String | url OCSP URL |
Constructor Summary | |
---|---|
OcspClientBouncyCastle(X509Certificate checkCert, X509Certificate rootCert, String url)
Creates an instance of an OcspClient that will be using BouncyCastle. |
Method Summary | |
---|---|
static OCSPReq | generateOCSPRequest(X509Certificate issuerCert, BigInteger serialNumber)
Generates an OCSP request using BouncyCastle. |
byte[] | getEncoded() |
Parameters: checkCert the check certificate rootCert the root certificate url the OCSP URL
Parameters: issuerCert certificate of the issues serialNumber serial number
Returns: an OCSP request
Throws: OCSPException IOException
Returns: a byte array
See Also: getEncoded