Interface CryptographicMaterialsManager

  • All Known Implementing Classes:
    DefaultCryptoMaterialsManager

    public interface CryptographicMaterialsManager
    Prepares the cryptographic materials used to encrypt and decrypt S3 objects. A CryptographicMaterialsManager uses Keyrings to obtain the encryption and decryption materials appropriate for each request.
    • Method Detail

      • getEncryptionMaterials

        EncryptionMaterials getEncryptionMaterials​(EncryptionMaterialsRequest request)
        Returns encryption materials appropriate for the given request.
        Parameters:
        request - the encryption materials request containing encryption context, commitment policy, and other configuration
        Returns:
        encryption materials including plaintext data key, encrypted data keys, algorithm suite, and encryption context
      • decryptMaterials

        DecryptionMaterials decryptMaterials​(DecryptMaterialsRequest request)
        Returns decryption materials appropriate for the given request.
        Parameters:
        request - the decrypt materials request containing algorithm suite, encrypted data keys, and encryption context
        Returns:
        decryption materials including plaintext data key and encryption context