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
ConstructorsConstructorDescriptionBasicOCSPResponseBCFips(org.bouncycastle.asn1.ocsp.BasicOCSPResponse basicOCSPResponse) Creates new wrapper instance forBasicOCSPResponse. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ocsp.BasicOCSPResponseGets actual org.bouncycastle object being wrapped.Gets TbsResponseData for the wrapped BasicOCSPResponse object and calls actualgetProducedAtmethod, then gets Date.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
BasicOCSPResponseBCFips
public BasicOCSPResponseBCFips(org.bouncycastle.asn1.ocsp.BasicOCSPResponse basicOCSPResponse) Creates new wrapper instance forBasicOCSPResponse.- Parameters:
-
basicOCSPResponse-BasicOCSPResponseto 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 actualgetProducedAtmethod, then gets Date.- Specified by:
-
getProducedAtDatein interfaceIBasicOCSPResponse - Returns:
- produced at date.
- Throws:
-
ParseException- when parsing cannot be completed.
-