Class OCSPResponseBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.ocsp.OCSPResponseBC
-
- All Implemented Interfaces:
IASN1Encodable
,IOCSPResponse
public class OCSPResponseBC extends ASN1EncodableBC implements IOCSPResponse
Wrapper class forOCSPResponse
.
-
-
Constructor Summary
Constructors Constructor Description OCSPResponseBC(IOCSPResponseStatus respStatus, IResponseBytes responseBytes)
Creates new wrapper instance forOCSPResponse
.OCSPResponseBC(org.bouncycastle.asn1.ocsp.OCSPResponse ocspResponse)
Creates new wrapper instance forOCSPResponse
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ocsp.OCSPResponse
getOcspResponse()
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 Detail
-
OCSPResponseBC
public OCSPResponseBC(org.bouncycastle.asn1.ocsp.OCSPResponse ocspResponse)
Creates new wrapper instance forOCSPResponse
.- Parameters:
ocspResponse
-OCSPResponse
to be wrapped
-
OCSPResponseBC
public OCSPResponseBC(IOCSPResponseStatus respStatus, IResponseBytes responseBytes)
Creates new wrapper instance forOCSPResponse
.- Parameters:
respStatus
- OCSPResponseStatus wrapperresponseBytes
- ResponseBytes wrapper
-
-