org.bouncycastle.asn1.ocsp

Class OCSPResponseStatus

Implemented Interfaces:
DEREncodable, DERTags

public class OCSPResponseStatus
extends DEREnumerated

Field Summary

static int
INTERNAL_ERROR
static int
MALFORMED_REQUEST
static int
SIG_REQUIRED
static int
SUCCESSFUL
static int
TRY_LATER
static int
UNAUTHORIZED

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Fields inherited from interface org.bouncycastle.asn1.DERTags

APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERALIZED_TIME, GENERAL_STRING, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING

Constructor Summary

OCSPResponseStatus(int value)
The OCSPResponseStatus enumeration.
OCSPResponseStatus(DEREnumerated value)

Method Summary

Methods inherited from class org.bouncycastle.asn1.DEREnumerated

equals, getInstance, getInstance, getValue, hashCode

Methods inherited from class org.bouncycastle.asn1.DERObject

equals, hashCode, toASN1Object

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Field Details

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Field Value:
2

MALFORMED_REQUEST

public static final int MALFORMED_REQUEST
Field Value:
1

SIG_REQUIRED

public static final int SIG_REQUIRED
Field Value:
5

SUCCESSFUL

public static final int SUCCESSFUL
Field Value:
0

TRY_LATER

public static final int TRY_LATER
Field Value:
3

UNAUTHORIZED

public static final int UNAUTHORIZED
Field Value:
6

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
 }
 

OCSPResponseStatus

public OCSPResponseStatus(DEREnumerated value)