public enum RevocationCheckingStrategy extends Enum<RevocationCheckingStrategy>
| Enum Constant and Description |
|---|
NO_CHECKS
Don't do any OCSP revocation checks, regardless whether there are stapled revocation statuses or not.
|
STRICT
Require stapled revocation status and verify OCSP revocation checks, fail if no revocation status is stapled to the certificate.
|
VERIFY_IF_PRESENT
Verify OCSP revocation checks when the revocation status is stapled to the certificate, continue if not.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
requiresRevocationChecking(RevocationCheckingStrategy revocationCheckingStrategy) |
static RevocationCheckingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevocationCheckingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevocationCheckingStrategy NO_CHECKS
public static final RevocationCheckingStrategy VERIFY_IF_PRESENT
public static final RevocationCheckingStrategy STRICT
public static RevocationCheckingStrategy[] values()
for (RevocationCheckingStrategy c : RevocationCheckingStrategy.values()) System.out.println(c);
public static RevocationCheckingStrategy 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 boolean requiresRevocationChecking(RevocationCheckingStrategy revocationCheckingStrategy)