Interface JWEHeaderConfigurator<A extends JWEHeaderConfigurator<A>>

Type Parameters:
A - the JWE JOSE header configurator type
All Superinterfaces:
JOSEHeaderConfigurator<A>

public interface JWEHeaderConfigurator<A extends JWEHeaderConfigurator<A>> extends JOSEHeaderConfigurator<A>

A JWE JOSE header configurator is used in JWEBuilder or JsonJWEBuilder to configure JWE JOSE headers when building JWE objects.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • encryptionAlgorithm

      A encryptionAlgorithm(String enc)

      Specifies the encryption algorithm.

      Parameters:
      enc - the encryption algorithm
      Returns:
      the JWE JOSE header configurator
    • compressionAlgorithm

      A compressionAlgorithm(String zip)

      Specifies the compression algorithm.

      Parameters:
      zip - the compression algorithm
      Returns:
      the JWE JOSE header configurator