EncryptDataInput
¶
Source code in docs_src/capo_payment_cryptography_data/types/encrypt_data_input.py
encryption_attributes
instance-attribute
¶
encryption_attributes: EncryptionDecryptionAttributes
The encryption key type and attributes for plaintext encryption.
key_identifier
instance-attribute
¶
key_identifier: KeyArnOrKeyAliasType
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
plain_text
instance-attribute
¶
plain_text: PlainTextType
The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm and padding type that you define in AsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.
wrapped_key
instance-attribute
¶
wrapped_key: NotRequired[WrappedKey]
The WrappedKeyBlock containing the encryption key for plaintext encryption.