Interface EncryptingJWAKeyManager.EncryptedCEK

Enclosing interface:
EncryptingJWAKeyManager

public static interface EncryptingJWAKeyManager.EncryptedCEK

An encrypted CEK composed of the encrypted key and a map of specific parameters resulting from the CEK encryption and required by the recipient to decrypt the key.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the encrypted CEK.
    Returns the specific parameters resulting from the CEK encryption and required by a recipient to derive the key.
  • Method Details

    • getEncryptedKey

      byte[] getEncryptedKey()

      Returns the encrypted CEK.

      Returns:
      the encrypted key
    • getMoreHeaderParameters

      Map<String,Object> getMoreHeaderParameters()

      Returns the specific parameters resulting from the CEK encryption and required by a recipient to derive the key.

      Returns:
      a map of parameters or the empty map