Module Values.DiffieHellmanDerivationDataSource

The shared information used when deriving a key using ECDH.

Sourcetype nonrec t = {
  1. sharedInformation : SharedInformation.t option;
    (*

    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.

    *)
}
Sourceval make : ?sharedInformation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SharedInformation.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t