Enum Class OIDCJWKSDataBinder.JsonWebKeyLifecycleState
java.lang.Object
java.lang.Enum<OIDCJWKSDataBinder.JsonWebKeyLifecycleState>
org.apache.syncope.core.provisioning.api.data.OIDCJWKSDataBinder.JsonWebKeyLifecycleState
- All Implemented Interfaces:
Serializable,Comparable<OIDCJWKSDataBinder.JsonWebKeyLifecycleState>,Constable
- Enclosing interface:
OIDCJWKSDataBinder
public static enum OIDCJWKSDataBinder.JsonWebKeyLifecycleState
extends Enum<OIDCJWKSDataBinder.JsonWebKeyLifecycleState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
CURRENT
The key state is active and current and is used for crypto operations as necessary. Per the rotation schedule, the key with this status would be replaced and rotated by the future key. -
FUTURE
The key state is one for the future and will take the place of the current key per the rotation schedule. -
PREVIOUS
Previous key prior to the current key. This key continues to remain valid and available, and is a candidate to be removed from the keystore per the revocation schedule.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getState
public long getState()
-