Class BasicOCSPResponseBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ocsp.BasicOCSPResponseBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IBasicOCSPResponse
Wrapper class for
BasicOCSPResponse
.
-
Constructor Summary
ConstructorDescriptionBasicOCSPResponseBCFips
(org.bouncycastle.asn1.ocsp.BasicOCSPResponse basicOCSPResponse) Creates new wrapper instance forBasicOCSPResponse
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ocsp.BasicOCSPResponse
Gets actual org.bouncycastle object being wrapped.Gets TbsResponseData for the wrapped BasicOCSPResponse object and calls actualgetProducedAt
method, then gets Date.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
BasicOCSPResponseBCFips
public BasicOCSPResponseBCFips(org.bouncycastle.asn1.ocsp.BasicOCSPResponse basicOCSPResponse) Creates new wrapper instance forBasicOCSPResponse
.- Parameters:
-
basicOCSPResponse
-BasicOCSPResponse
to be wrapped
-
-
Method Details
-
getBasicOCSPResponse
public org.bouncycastle.asn1.ocsp.BasicOCSPResponse getBasicOCSPResponse()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
BasicOCSPResponse
.
-
getProducedAtDate
Gets TbsResponseData for the wrapped BasicOCSPResponse object and calls actualgetProducedAt
method, then gets Date.- Specified by:
-
getProducedAtDate
in interfaceIBasicOCSPResponse
- Returns:
- produced at date.
- Throws:
-
ParseException
- when parsing cannot be completed.
-