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
ConstructorsConstructorDescriptionOCSPResponseBC(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.OCSPResponseGets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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-OCSPResponseto 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.
-