Class: Aws::PaymentCryptographyData::Types::DiffieHellmanDerivationData

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-paymentcryptographydata/types.rb

Overview

Note:

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

SharedInformation, Unknown

Defined Under Namespace

Classes: SharedInformation, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#shared_informationString

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.

Returns:

  • (String)


592
593
594
595
596
597
598
599
600
601
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 592

class DiffieHellmanDerivationData < Struct.new(
  :shared_information,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SharedInformation < DiffieHellmanDerivationData; end
  class Unknown < DiffieHellmanDerivationData; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



592
593
594
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 592

def unknown
  @unknown
end