public class OCSPResponseStatus
extends java.lang.Object
implements org.mozilla.jss.asn1.ASN1Value
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 }
Modifier and Type | Class and Description |
---|---|
static class |
OCSPResponseStatus.Template
A Template for decoding an
OCSPResponseStatus . |
Modifier and Type | Field and Description |
---|---|
static OCSPResponseStatus |
INTERNAL_ERROR |
static OCSPResponseStatus |
MALFORMED_REQUEST |
static OCSPResponseStatus |
SIG_REQUIRED |
static OCSPResponseStatus |
SUCCESSFUL |
static OCSPResponseStatus |
TRY_LATER |
static OCSPResponseStatus |
UNAUTHORIZED |
Constructor and Description |
---|
OCSPResponseStatus(long val) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream ostream) |
void |
encode(org.mozilla.jss.asn1.Tag implicitTag,
java.io.OutputStream ostream) |
org.mozilla.jss.asn1.Tag |
getTag() |
static OCSPResponseStatus.Template |
getTemplate() |
long |
getValue() |
public static final OCSPResponseStatus SUCCESSFUL
public static final OCSPResponseStatus MALFORMED_REQUEST
public static final OCSPResponseStatus INTERNAL_ERROR
public static final OCSPResponseStatus TRY_LATER
public static final OCSPResponseStatus SIG_REQUIRED
public static final OCSPResponseStatus UNAUTHORIZED
public long getValue()
public org.mozilla.jss.asn1.Tag getTag()
getTag
in interface org.mozilla.jss.asn1.ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public void encode(org.mozilla.jss.asn1.Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public static OCSPResponseStatus.Template getTemplate()