public class OCSPResponseStatus extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static int |
INTERNAL_ERROR |
static int |
MALFORMED_REQUEST |
static int |
SIG_REQUIRED |
static int |
SUCCESSFUL |
static int |
TRY_LATER |
static int |
UNAUTHORIZED |
Constructor and Description |
---|
OCSPResponseStatus(int value)
The OCSPResponseStatus enumeration.
|
Modifier and Type | Method and Description |
---|---|
static OCSPResponseStatus |
getInstance(java.lang.Object obj) |
java.math.BigInteger |
getValue() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public static final int SUCCESSFUL
public static final int MALFORMED_REQUEST
public static final int INTERNAL_ERROR
public static final int TRY_LATER
public static final int SIG_REQUIRED
public static final int UNAUTHORIZED
public OCSPResponseStatus(int value)
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 }
public static OCSPResponseStatus getInstance(java.lang.Object obj)
public java.math.BigInteger getValue()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object