Enum X509RevocationCheckerType
- java.lang.Object
-
- java.lang.Enum<X509RevocationCheckerType>
-
- org.apache.syncope.common.lib.types.X509RevocationCheckerType
-
- All Implemented Interfaces:
Serializable
,Comparable<X509RevocationCheckerType>
public enum X509RevocationCheckerType extends Enum<X509RevocationCheckerType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X509RevocationCheckerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static X509RevocationCheckerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final X509RevocationCheckerType NONE
No revocation is performed.
-
CRL
public static final X509RevocationCheckerType CRL
The CRL URI(s) mentioned in the certificate cRLDistributionPoints extension field. Caches are available to prevent excessive IO against CRL endpoints. CRL data fetched if does not exist in the cache or if it is expired
-
RESOURCE
public static final X509RevocationCheckerType RESOURCE
A CRL hosted at a fixed location. The CRL is fetched at periodic intervals and cached.
-
-
Method Detail
-
values
public static X509RevocationCheckerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (X509RevocationCheckerType c : X509RevocationCheckerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static X509RevocationCheckerType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-