Enum OIDCJWKSDataBinder.JsonWebKeyLifecycleState

    • Enum Constant Detail

      • CURRENT

        public static final OIDCJWKSDataBinder.JsonWebKeyLifecycleState 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.
      • PREVIOUS

        public static final OIDCJWKSDataBinder.JsonWebKeyLifecycleState 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 Detail

      • values

        public static OIDCJWKSDataBinder.JsonWebKeyLifecycleState[] 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 (OIDCJWKSDataBinder.JsonWebKeyLifecycleState c : OIDCJWKSDataBinder.JsonWebKeyLifecycleState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OIDCJWKSDataBinder.JsonWebKeyLifecycleState 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 name
        NullPointerException - if the argument is null
      • getState

        public long getState()