aws_encryption_sdk.materials_managers.base

Base class interface for crypto material managers.

Classes

CryptoMaterialsManager Parent interface for crypto material manager classes.
class aws_encryption_sdk.materials_managers.base.CryptoMaterialsManager

Bases: object

Parent interface for crypto material manager classes.

New in version 1.3.0.

get_encryption_materials(request)

Provides encryption materials appropriate for the request.

Note

Must be implemented by specific CryptoMaterialsManager implementations.

Parameters:request (aws_encryption_sdk.materials_managers.EncryptionMaterialsRequest) – encryption materials request
Returns:encryption materials
Return type:aws_encryption_sdk.materials_managers.EncryptionMaterials
decrypt_materials(request)

Provides decryption materials appropriate for the request.

Note

Must be implemented by specific CryptoMaterialsManager implementations.

Parameters:request (aws_encryption_sdk.materials_managers.DecryptionMaterialsRequest) – decrypt materials request
Returns:decryption materials
Return type:aws_encryption_sdk.materials_managers.DecryptionMaterials