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.
252 253 254 255 256 257 258 259 260 261 |
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 252 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
252 253 254 |
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 252 def unknown @unknown end |