Class: Aws::PaymentCryptographyData::Types::WrappedKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::PaymentCryptographyData::Types::WrappedKey
- Defined in:
- gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb
Overview
Parameter information of a WrappedKeyBlock for encryption key exchange.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key_check_value_algorithm ⇒ String
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
-
#wrapped_key_material ⇒ Types::WrappedKeyMaterial
Parameter information of a WrappedKeyBlock for encryption key exchange.
Instance Attribute Details
#key_check_value_algorithm ⇒ String
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
2831 2832 2833 2834 2835 2836 |
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 2831 class WrappedKey < Struct.new( :wrapped_key_material, :key_check_value_algorithm) SENSITIVE = [] include Aws::Structure end |
#wrapped_key_material ⇒ Types::WrappedKeyMaterial
Parameter information of a WrappedKeyBlock for encryption key exchange.
2831 2832 2833 2834 2835 2836 |
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 2831 class WrappedKey < Struct.new( :wrapped_key_material, :key_check_value_algorithm) SENSITIVE = [] include Aws::Structure end |