Package com.lowagie.text.pdf
Class OcspClientBouncyCastle
- java.lang.Object
-
- com.lowagie.text.pdf.OcspClientBouncyCastle
-
- All Implemented Interfaces:
OcspClient
public class OcspClientBouncyCastle extends Object implements OcspClient
OcspClient implementation using BouncyCastle.- Since:
- 2.1.6
- Author:
- psoares
-
-
Constructor Summary
Constructors Constructor Description OcspClientBouncyCastle(X509Certificate checkCert, X509Certificate rootCert, String url)Creates an instance of an OcspClient that will be using BouncyCastle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEncoded()Gets an encoded byte array.
-
-
-
Constructor Detail
-
OcspClientBouncyCastle
public OcspClientBouncyCastle(X509Certificate checkCert, X509Certificate rootCert, String url)
Creates an instance of an OcspClient that will be using BouncyCastle.- Parameters:
checkCert- the check certificaterootCert- the root certificateurl- the OCSP URL
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
Description copied from interface:OcspClientGets an encoded byte array.- Specified by:
getEncodedin interfaceOcspClient- Returns:
- a byte array
- See Also:
OcspClient
-
-