Class: Aws::PaymentCryptography::Types::DiffieHellmanDerivationData
- Inherits:
-
Struct
- Object
- Struct
- Aws::PaymentCryptography::Types::DiffieHellmanDerivationData
- Defined in:
- gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb
Overview
DiffieHellmanDerivationData is a union - when making an API calls you must set exactly one of the members.
The shared information used when deriving a key using ECDH.
Direct Known Subclasses
Defined Under Namespace
Classes: SharedInformation, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#shared_information ⇒ String
A string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#shared_information ⇒ String
A string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.
It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes. It is not recommended to reuse shared information for multiple ECDH key derivations, as it could result in derived key material being the same across different derivations.
362 363 364 365 366 367 368 369 370 371 |
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 362 class DiffieHellmanDerivationData < Struct.new( :shared_information, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class SharedInformation < DiffieHellmanDerivationData; end class Unknown < DiffieHellmanDerivationData; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
362 363 364 |
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 362 def unknown @unknown end |