18
18
import six
19
19
from attr .validators import deep_iterable , deep_mapping , instance_of , optional
20
20
21
- from ..identifiers import Algorithm , KeyRingTraceFlag
21
+ from ..identifiers import Algorithm , KeyringTraceFlag
22
22
from ..internal .utils .streams import ROStream
23
- from ..structures import DataKey , EncryptedDataKey , KeyRingTrace
23
+ from ..structures import DataKey , EncryptedDataKey , KeyringTrace
24
24
25
25
26
26
@attr .s (hash = False )
@@ -64,7 +64,7 @@ class CryptographicMaterials(object):
64
64
:param encrypted_data_keys: List of encrypted data keys
65
65
:type encrypted_data_keys: list of :class:`EncryptedDataKey`
66
66
:param keyring_trace: Any KeyRing trace entries
67
- :type keyring_trace: list of :class:`KeyRingTrace `
67
+ :type keyring_trace: list of :class:`KeyringTrace `
68
68
"""
69
69
70
70
algorithm = attr .ib (validator = optional (instance_of (Algorithm )))
@@ -78,7 +78,7 @@ class CryptographicMaterials(object):
78
78
default = attr .Factory (list ), validator = optional (deep_iterable (member_validator = instance_of (EncryptedDataKey )))
79
79
)
80
80
keyring_trace = attr .ib (
81
- default = attr .Factory (list ), validator = optional (deep_iterable (member_validator = instance_of (KeyRingTrace )))
81
+ default = attr .Factory (list ), validator = optional (deep_iterable (member_validator = instance_of (KeyringTrace )))
82
82
)
83
83
84
84
@@ -103,7 +103,7 @@ class EncryptionMaterials(CryptographicMaterials):
103
103
:param dict encryption_context: Encryption context tied to `encrypted_data_keys`
104
104
:param bytes signing_key: Encoded signing key (optional)
105
105
:param keyring_trace: Any KeyRing trace entries (optional)
106
- :type keyring_trace: list of :class:`KeyRingTrace `
106
+ :type keyring_trace: list of :class:`KeyringTrace `
107
107
"""
108
108
109
109
signing_key = attr .ib (default = None , validator = attr .validators .optional (attr .validators .instance_of (bytes )))
@@ -177,7 +177,7 @@ class DecryptionMaterials(CryptographicMaterials):
177
177
:param dict encryption_context: Encryption context tied to `encrypted_data_keys` (optional)
178
178
:param bytes verification_key: Raw signature verification key (optional)
179
179
:param keyring_trace: Any KeyRing trace entries (optional)
180
- :type keyring_trace: list of :class:`KeyRingTrace `
180
+ :type keyring_trace: list of :class:`KeyringTrace `
181
181
"""
182
182
183
183
verification_key = attr .ib (default = None , validator = attr .validators .optional (attr .validators .instance_of (bytes )))
0 commit comments