Class OCSPResponseBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ocsp.OCSPResponseBC
- All Implemented Interfaces:
-
IASN1Encodable
,IOCSPResponse
Wrapper class for
OCSPResponse
.
-
Constructor Summary
ConstructorDescriptionOCSPResponseBC
(IOCSPResponseStatus respStatus, IResponseBytes responseBytes) Creates new wrapper instance forOCSPResponse
.OCSPResponseBC
(org.bouncycastle.asn1.ocsp.OCSPResponse ocspResponse) Creates new wrapper instance forOCSPResponse
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ocsp.OCSPResponse
Gets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
OCSPResponseBC
public OCSPResponseBC(org.bouncycastle.asn1.ocsp.OCSPResponse ocspResponse) Creates new wrapper instance forOCSPResponse
.- Parameters:
-
ocspResponse
-OCSPResponse
to be wrapped
-
OCSPResponseBC
Creates new wrapper instance forOCSPResponse
.- Parameters:
-
respStatus
- OCSPResponseStatus wrapper -
responseBytes
- ResponseBytes wrapper
-
-
Method Details
-
getOcspResponse
public org.bouncycastle.asn1.ocsp.OCSPResponse getOcspResponse()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPResponse
.
-