Module Values.WrappedKeySource

Parameter information for generating a WrappedKeyBlock for key exchange.

Sourcetype nonrec t = {
  1. wrappingKeyArn : KeyArn.t option;
    (*

    The KeyARN of the wrapped key.

    *)
  2. wrappedKeyMaterialFormat : WrappedKeyMaterialFormat.t option;
    (*

    The key block format of a wrapped key.

    *)
  3. keyMaterial : KeyMaterial.t option;
    (*

    Parameter information for generating a wrapped key using TR-31 or TR-34 skey exchange method.

    *)
  4. keyCheckValue : KeyCheckValue.t option;
    (*

    The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.

    *)
  5. keyCheckValueAlgorithm : KeyCheckValueAlgorithm.t option;
    (*

    The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

    *)
}
Sourceval make : ?wrappingKeyArn:??? -> ?wrappedKeyMaterialFormat:??? -> ?keyMaterial:??? -> ?keyCheckValue:??? -> ?keyCheckValueAlgorithm:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of KeyArn.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