public enum RevocationCheckPolicy extends java.lang.Enum<RevocationCheckPolicy>
Enum Constant | Description |
---|---|
NO_CHECK |
Do not check revocation information.
|
OPTIONAL |
Same as
Supported if revocation information is available in the RevocationInformationSources and NoCheck otherwise. |
REQUIRED |
Certificate must have revocation information (OCSP or CRL)
Revocation information is acquired from revocation sources
Revocation information is validated
|
SUPPORTED |
Same as
Required for certificates that have revocation information and NoCheck otherwise. |
Modifier and Type | Method | Description |
---|---|---|
static RevocationCheckPolicy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RevocationCheckPolicy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevocationCheckPolicy REQUIRED
public static final RevocationCheckPolicy SUPPORTED
Required
for certificates that have revocation information and NoCheck
otherwise.public static final RevocationCheckPolicy OPTIONAL
Supported
if revocation information is available in the RevocationInformationSources
and NoCheck
otherwise.public static final RevocationCheckPolicy NO_CHECK
public static RevocationCheckPolicy[] values()
for (RevocationCheckPolicy c : RevocationCheckPolicy.values()) System.out.println(c);
public static RevocationCheckPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null