Interface EncryptionConfiguration

All Superinterfaces:
AlgorithmPolicyConfiguration
All Known Implementing Classes:
BasicEncryptionConfiguration

public interface EncryptionConfiguration extends AlgorithmPolicyConfiguration
The configuration information to use when generating a JWE.
Since:
2.2.0
  • Method Details

    • getDataEncryptionAlgorithms

      @Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getDataEncryptionAlgorithms()
      Get the list of preferred data encryption algorithm URIs, in preference order.
      Returns:
      the list of algorithm URIs, may be empty
    • getKeyTransportEncryptionAlgorithms

      @Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getKeyTransportEncryptionAlgorithms()
      Get the list of preferred key transport encryption algorithm URIs, in preference order.
      Returns:
      the list of algorithm URIs, may be empty
    • getContentEncryptionKeyCredentialResolver

      @Nullable CredentialResolver getContentEncryptionKeyCredentialResolver()
      Get the CredentialResolver to resolve the content encryption key.
      Returns:
      the KeyInfoCredentialResolver instance
    • getKEKCredentialResolver

      @Nullable CredentialResolver getKEKCredentialResolver()
      Get the CredentialResolver to resolve the key encryption or key wrapping key.
      Returns:
      the CredentialResolver instance