Class OCSPResponseStatusBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.ocsp.OCSPResponseStatusBC
-
- All Implemented Interfaces:
IASN1Encodable
,IOCSPResponseStatus
public class OCSPResponseStatusBC extends ASN1EncodableBC implements IOCSPResponseStatus
Wrapper class forOCSPResponseStatus
.
-
-
Field Summary
Fields Modifier and Type Field Description private static OCSPResponseStatusBC
INSTANCE
private static int
SUCCESSFUL
-
Constructor Summary
Constructors Constructor Description OCSPResponseStatusBC(org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus)
Creates new wrapper instance forOCSPResponseStatus
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OCSPResponseStatusBC
getInstance()
Gets wrapper instance.org.bouncycastle.asn1.ocsp.OCSPResponseStatus
getOcspResponseStatus()
Gets actual org.bouncycastle object being wrapped.int
getSuccessful()
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
-
-
-
-
Field Detail
-
INSTANCE
private static final OCSPResponseStatusBC INSTANCE
-
SUCCESSFUL
private static final int SUCCESSFUL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static OCSPResponseStatusBC 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.
-
-