org.bouncycastle.asn1.ocsp
Class OCSPResponseStatus
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.ocsp.OCSPResponseStatus
- All Implemented Interfaces:
- ASN1Encodable, 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
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SUCCESSFUL
public static final int SUCCESSFUL
MALFORMED_REQUEST
public static final int MALFORMED_REQUEST
INTERNAL_ERROR
public static final int INTERNAL_ERROR
TRY_LATER
public static final int TRY_LATER
SIG_REQUIRED
public static final int SIG_REQUIRED
UNAUTHORIZED
public static final int UNAUTHORIZED
OCSPResponseStatus
public OCSPResponseStatus(int value)
- 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
}
getInstance
public static OCSPResponseStatus getInstance(java.lang.Object obj)
getIntValue
public int getIntValue()
getValue
public java.math.BigInteger getValue()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.