public enum OcspError extends Enum<OcspError>
| Enum Constant and Description |
|---|
internalError |
malformedRequest |
sigRequired |
tryLater |
unauthorized |
| Modifier and Type | Method and Description |
|---|---|
static OcspError |
forCode(int status) |
static OcspError |
forName(String name) |
int |
getStatus() |
static OcspError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcspError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcspError malformedRequest
public static final OcspError internalError
public static final OcspError tryLater
public static final OcspError sigRequired
public static final OcspError unauthorized
public static OcspError[] values()
for (OcspError c : OcspError.values()) System.out.println(c);
public static OcspError 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 int getStatus()
public static OcspError forCode(int status)
Copyright © 2021. All rights reserved.