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
ConstructorsConstructorDescriptionOCSPResponseStatusBC(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus. -
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponseStatusBCGets wrapper instance.org.bouncycastle.asn1.ocsp.OCSPResponseStatusGets actual org.bouncycastle object being wrapped.intGetsSUCCESSFULconstant for the wrapped OCSPResponseStatus.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
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
-
OCSPResponseStatusBC
public OCSPResponseStatusBC(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus) Creates new wrapper instance forOCSPResponseStatus.- Parameters:
-
ocspResponseStatus-OCSPResponseStatusto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPResponseStatusBCinstance.
-
getOcspResponseStatus
public org.bouncycastle.asn1.ocsp.OCSPResponseStatus getOcspResponseStatus()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPResponseStatus.
-
getSuccessful
public int getSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPResponseStatus.- Specified by:
-
getSuccessfulin interfaceIOCSPResponseStatus - Returns:
- OCSPResponseStatus.SUCCESSFUL value.
-