Enum Class OidcTenantConfig.TokenStateManager.EncryptionAlgorithm

java.lang.Object
java.lang.Enum<OidcTenantConfig.TokenStateManager.EncryptionAlgorithm>
io.quarkus.oidc.OidcTenantConfig.TokenStateManager.EncryptionAlgorithm
All Implemented Interfaces:
Serializable, Comparable<OidcTenantConfig.TokenStateManager.EncryptionAlgorithm>, Constable
Enclosing class:
OidcTenantConfig.TokenStateManager

public static enum OidcTenantConfig.TokenStateManager.EncryptionAlgorithm extends Enum<OidcTenantConfig.TokenStateManager.EncryptionAlgorithm>
Supported session cookie key encryption algorithms
  • Enum Constant Details

    • A256GCMKW

      Content encryption key will be generated and encrypted using the A256GCMKW algorithm and the configured encryption secret. The generated content encryption key will be used to encrypt the session cookie content.
    • DIR

      The configured key encryption secret will be used as the content encryption key to encrypt the session cookie content. Using the direct encryption avoids a content encryption key generation step and will make the encrypted session cookie sequence slightly shorter.

      Avoid using the direct encryption if the encryption secret is less than 32 characters long.

  • 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 name
      NullPointerException - if the argument is null