Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::PaymentCryptography::Types::KeyModesOfUse

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#decryptBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#derive_keyBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#encryptBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#generateBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#no_restrictionsBoolean

Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#signBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#unwrapBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#verifyBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end

#wrapBoolean

Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.

Returns:

  • (Boolean)

1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 1164

class KeyModesOfUse < Struct.new(
  :encrypt,
  :decrypt,
  :wrap,
  :unwrap,
  :generate,
  :sign,
  :verify,
  :derive_key,
  :no_restrictions)
  SENSITIVE = []
  include Aws::Structure
end