23
23
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/concepts.html#crypt-materials-manager
24
24
"""
25
25
26
- from aws_cryptographic_materialproviders .mpl import AwsCryptographicMaterialProviders
27
- from aws_cryptographic_materialproviders .mpl .config import MaterialProvidersConfig
28
- from aws_cryptographic_materialproviders .mpl .models import (
26
+ from aws_cryptographic_material_providers .mpl import AwsCryptographicMaterialProviders
27
+ from aws_cryptographic_material_providers .mpl .config import MaterialProvidersConfig
28
+ from aws_cryptographic_material_providers .mpl .models import (
29
29
CreateDefaultCryptographicMaterialsManagerInput ,
30
30
SignatureAlgorithmNone ,
31
31
)
32
- from aws_cryptographic_materialproviders .mpl .references import ICryptographicMaterialsManager , IKeyring
32
+ from aws_cryptographic_material_providers .mpl .references import ICryptographicMaterialsManager , IKeyring
33
33
34
34
import aws_encryption_sdk
35
35
from aws_encryption_sdk import CommitmentPolicy
@@ -65,10 +65,10 @@ def __init__(self, keyring: IKeyring, cmm: ICryptographicMaterialsManager = None
65
65
def get_encryption_materials (self , param ):
66
66
"""Provides encryption materials appropriate for the request for the custom CMM.
67
67
68
- :param aws_cryptographic_materialproviders .mpl.models.GetEncryptionMaterialsInput param: Input object to
68
+ :param aws_cryptographic_material_providers .mpl.models.GetEncryptionMaterialsInput param: Input object to
69
69
provide to a crypto material manager's `get_encryption_materials` method.
70
70
:returns: Encryption materials output
71
- :rtype: aws_cryptographic_materialproviders .mpl.models.GetEncryptionMaterialsOutput
71
+ :rtype: aws_cryptographic_material_providers .mpl.models.GetEncryptionMaterialsOutput
72
72
"""
73
73
materials = self .underlying_cmm .get_encryption_materials (param )
74
74
if isinstance (materials .encryption_materials .algorithm_suite .signature , SignatureAlgorithmNone ):
@@ -81,10 +81,10 @@ def get_encryption_materials(self, param):
81
81
def decrypt_materials (self , param ):
82
82
"""Provides decryption materials appropriate for the request for the custom CMM.
83
83
84
- :param aws_cryptographic_materialproviders .mpl.models.DecryptMaterialsInput param: Input object to provide
84
+ :param aws_cryptographic_material_providers .mpl.models.DecryptMaterialsInput param: Input object to provide
85
85
to a crypto material manager's `decrypt_materials` method.
86
86
:returns: Decryption materials output
87
- :rtype: aws_cryptographic_materialproviders .mpl.models.GetDecryptionMaterialsOutput
87
+ :rtype: aws_cryptographic_material_providers .mpl.models.GetDecryptionMaterialsOutput
88
88
"""
89
89
materials = self .underlying_cmm .decrypt_materials (param )
90
90
if isinstance (materials .decryption_materials .algorithm_suite .signature , SignatureAlgorithmNone ):
0 commit comments