Class: Aws::PaymentCryptography::Types::KeyBlockHeaders

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb

Overview

Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.

Constant Summary collapse

SENSITIVE =
[:optional_blocks]

Instance Attribute Summary collapse

Instance Attribute Details

#key_exportabilityString

Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.

When set to EXPORTABLE, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set to NON_EXPORTABLE, the key cannot be subsequently exported by the receiver. When set to SENSITIVE, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to ANSI X9.143-2022.

Returns:

  • (String)


1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1269

class KeyBlockHeaders < Struct.new(
  :key_modes_of_use,
  :key_exportability,
  :key_version,
  :optional_blocks)
  SENSITIVE = [:optional_blocks]
  include Aws::Structure
end

#key_modes_of_useTypes::KeyModesOfUse

The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.



1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1269

class KeyBlockHeaders < Struct.new(
  :key_modes_of_use,
  :key_exportability,
  :key_version,
  :optional_blocks)
  SENSITIVE = [:optional_blocks]
  include Aws::Structure
end

#key_versionString

Parameter used to indicate the version of the key carried in the key block or indicate the value carried in the key block is a component of a key.

Returns:

  • (String)


1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1269

class KeyBlockHeaders < Struct.new(
  :key_modes_of_use,
  :key_exportability,
  :key_version,
  :optional_blocks)
  SENSITIVE = [:optional_blocks]
  include Aws::Structure
end

#optional_blocksHash<String,String>

Parameter used to indicate the type of optional data in key block headers. Refer to ANSI X9.143-2022 for information on allowed data type for optional blocks.

Optional block character limit is 112 characters. For each optional block, 2 characters are reserved for optional block ID and 2 characters reserved for optional block length. More than one optional blocks can be included as long as the combined length does not increase 112 characters.

Returns:

  • (Hash<String,String>)


1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1269

class KeyBlockHeaders < Struct.new(
  :key_modes_of_use,
  :key_exportability,
  :key_version,
  :optional_blocks)
  SENSITIVE = [:optional_blocks]
  include Aws::Structure
end