SymmetricEncryptionAttributes - AWS Payment Cryptography Data Plane

SymmetricEncryptionAttributes

Parameters requried to encrypt plaintext data using symmetric keys.

Contents

Mode

The block cipher method to use for encryption.

Type: String

Valid Values: ECB | CBC | CFB | CFB1 | CFB8 | CFB64 | CFB128 | OFB

Required: Yes

InitializationVector

An input used to provide the intial state. If no value is provided, AWS Payment Cryptography defaults it to zero.

Type: String

Length Constraints: Minimum length of 16. Maximum length of 32.

Pattern: (?:[0-9a-fA-F]{16}|[0-9a-fA-F]{32})

Required: No

PaddingType

The padding to be included with the data.

Type: String

Valid Values: PKCS1 | OAEP_SHA1 | OAEP_SHA256 | OAEP_SHA512

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: