Class: Aws::PaymentCryptography::Types::DiffieHellmanDerivationData

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/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)


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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



252
253
254
# File 'gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/types.rb', line 252

def unknown
  @unknown
end