Class: Aws::PaymentCryptography::Types::Key

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

Overview

Metadata about an Amazon Web Services Payment Cryptography key.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#create_timestampTime

The date and time when the key was created.

Returns:

  • (Time)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#delete_pending_timestampTime

The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when KeyState is DELETE_PENDING and the key is scheduled for deletion.

Returns:

  • (Time)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#delete_timestampTime

The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when when the KeyState is DELETE_COMPLETE and the Amazon Web Services Payment Cryptography key is deleted.

Returns:

  • (Time)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specifies whether the key is enabled.

Returns:

  • (Boolean)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#exportableBoolean

Specifies whether the key is exportable. This data is immutable after the key is created.

Returns:

  • (Boolean)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_arnString

The Amazon Resource Name (ARN) of the key.

Returns:

  • (String)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_attributesTypes::KeyAttributes

The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.



993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_check_valueString

The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.

Returns:

  • (String)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_check_value_algorithmString

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.

Returns:

  • (String)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_originString

The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment Cryptography, the value is EXTERNAL.

Returns:

  • (String)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#key_stateString

The state of key that is being created or deleted.

Returns:

  • (String)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#usage_start_timestampTime

The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.

Returns:

  • (Time)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#usage_stop_timestampTime

The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.

Returns:

  • (Time)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 993

class Key < Struct.new(
  :key_arn,
  :key_attributes,
  :key_check_value,
  :key_check_value_algorithm,
  :enabled,
  :exportable,
  :key_state,
  :key_origin,
  :create_timestamp,
  :usage_start_timestamp,
  :usage_stop_timestamp,
  :delete_pending_timestamp,
  :delete_timestamp)
  SENSITIVE = []
  include Aws::Structure
end