Class OCSPResponseStatus
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class OCSPResponseStatus extends ASN1Object
OCSP RFC 2560, RFC 6960
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 }
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
SUCCESSFUL
public final static int
MALFORMED_REQUEST
public final static int
INTERNAL_ERROR
public final static int
TRY_LATER
public final static int
SIG_REQUIRED
public final static int
UNAUTHORIZED
-
Constructor Summary
Constructors Constructor Description OCSPResponseStatus(int value)
RFC 2560, RFC 6960 The OCSPResponseStatus enumeration.
-
Method Summary
Modifier and Type Method Description static OCSPResponseStatus
getInstance(Object obj)
int
getIntValue()
BigInteger
getValue()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Method Detail
-
getInstance
static OCSPResponseStatus getInstance(Object obj)
-
getIntValue
int getIntValue()
-
getValue
BigInteger getValue()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-