Skip to content

GenerateAs2805KekValidation

Source: src/AWS/PaymentCryptography/GenerateAs2805KekValidation.ts

Runtime binding for payment-cryptography:GenerateAs2805KekValidation — generates AS2805 Key Encryption Key (KEK) validation data (random key send/receive components) under a KEK Key, used during AS2805 node key establishment in Australian payment networks. Provide GenerateAs2805KekValidationHttp on the Function to satisfy this service.

// init
const generateKekValidation =
yield* PaymentCryptography.GenerateAs2805KekValidation(kek);
// runtime
const validation = yield* generateKekValidation({
KekValidationType: "KEKS",
RandomKeySendVariantMask: mask,
});