public enum OCSPRespStatus extends Enum<OCSPRespStatus>
| Enum Constant and Description |
|---|
INTERNAL_ERROR
Internal error in issuer
|
MALFORMED_REQUEST
Illegal confirmation request
|
SIG_REQUIRED
Must sign the request
|
SUCCESSFUL
Response has valid confirmations
|
TRY_LATER
Try again later
|
UNAUTHORIZED
Request unauthorized
|
UNKNOWN_STATUS
(4) is not used
|
| Modifier and Type | Method and Description |
|---|---|
static OCSPRespStatus |
fromInt(int value) |
int |
getStatusCode() |
static OCSPRespStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OCSPRespStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCSPRespStatus SUCCESSFUL
public static final OCSPRespStatus MALFORMED_REQUEST
public static final OCSPRespStatus INTERNAL_ERROR
public static final OCSPRespStatus TRY_LATER
public static final OCSPRespStatus UNKNOWN_STATUS
public static final OCSPRespStatus SIG_REQUIRED
public static final OCSPRespStatus UNAUTHORIZED
public static OCSPRespStatus[] values()
for (OCSPRespStatus c : OCSPRespStatus.values()) System.out.println(c);
public static OCSPRespStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static OCSPRespStatus fromInt(int value)
public int getStatusCode()
Copyright © 2019. All rights reserved.