Class OCSPResponseStatusBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ocsp.OCSPResponseStatusBC
- All Implemented Interfaces:
-
IASN1Encodable
,IOCSPResponseStatus
Wrapper class for
OCSPResponseStatus
.
-
Constructor Summary
ConstructorDescriptionOCSPResponseStatusBC
(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus
. -
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponseStatusBC
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.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 Details
-
OCSPResponseStatusBC
public OCSPResponseStatusBC(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus
.- Parameters:
-
ocspResponseStatus
-OCSPResponseStatus
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPResponseStatusBC
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.
-