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.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final OCSPResponseStatusBCprivate static final int -
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 ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Field Details
-
INSTANCE
-
SUCCESSFUL
private static final int SUCCESSFUL- See Also:
-
-
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.
-