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 ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface 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 wrapperresponseBytes- ResponseBytes wrapper
-
-
Method Details
-
getOcspResponse
public org.bouncycastle.asn1.ocsp.OCSPResponse getOcspResponse()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPResponse.
-