Class OCSPResponseStatusBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ocsp.OCSPResponseStatusBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IOCSPResponseStatus
Wrapper class for
OCSPResponseStatus
.
-
Constructor Summary
ConstructorDescriptionOCSPResponseStatusBCFips
(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus
. -
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponseStatusBCFips
Gets wrapper instance.org.bouncycastle.asn1.ocsp.OCSPResponseStatus
Gets actual org.bouncycastle object being wrapped.int
GetsSUCCESSFUL
constant for the wrapped OCSPResponseStatus.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
-
OCSPResponseStatusBCFips
public OCSPResponseStatusBCFips(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus
.- Parameters:
-
ocspResponseStatus
-OCSPResponseStatus
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPResponseStatusBCFips
instance.
-
getOcspResponseStatus
public org.bouncycastle.asn1.ocsp.OCSPResponseStatus getOcspResponseStatus()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPResponseStatus
.
-
getSuccessful
public int getSuccessful()GetsSUCCESSFUL
constant for the wrapped OCSPResponseStatus.- Specified by:
-
getSuccessful
in interfaceIOCSPResponseStatus
- Returns:
- OCSPResponseStatus.SUCCESSFUL value.
-