Package org.bouncycastle.asn1.ocsp
Class OCSPResponseStatus
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.OCSPResponseStatus
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponseStatus
getInstance
(Object obj) getValue()
Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
SUCCESSFUL
public static final int SUCCESSFUL- See Also:
-
MALFORMED_REQUEST
public static final int MALFORMED_REQUEST- See Also:
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR- See Also:
-
TRY_LATER
public static final int TRY_LATER- See Also:
-
SIG_REQUIRED
public static final int SIG_REQUIRED- See Also:
-
UNAUTHORIZED
public static final int UNAUTHORIZED- See Also:
-
-
Constructor Details
-
OCSPResponseStatus
public OCSPResponseStatus(int value) The OCSPResponseStatus enumeration.OCSPResponseStatus ::= ENUMERATED { successful (0), --Response has valid confirmations malformedRequest (1), --Illegal confirmation request internalError (2), --Internal error in issuer tryLater (3), --Try again later --(4) is not used sigRequired (5), --Must sign the request unauthorized (6) --Request unauthorized }
-
-
Method Details
-
getInstance
-
getValue
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-