UNPKG

@agnostack/verifyd

Version:

Please contact agnoStack via info@agnostack.com for any questions

35 lines 1.17 kB
export function getVerificationKeysData(publicKey: any, { crypto: _crypto, util: _util }?: { crypto: any; util: any; }): Promise<{ publicKey?: undefined; ephemeral?: undefined; verification?: undefined; } | { publicKey: any; ephemeral: {}; verification: { derivedSecretKey?: undefined; derivedHMACKey?: undefined; } | { derivedSecretKey: any; derivedHMACKey: any; }; }>; export function prepareVerificationRequest({ keysData: _keysData, disableRecryption: _disableRecryption, crypto: _crypto, util: _util }?: { keysData: any; disableRecryption: any; crypto: any; util: any; }): (requestPath: any, { method: rawMethod, body: rawBody, headers: rawHeaders, ...requestOptions }?: { method: any; body: any; headers: any; }) => Promise<any[] | undefined>; export function processVerificationResponse({ keysData, disableRecryption: _disableRecryption, crypto: _crypto, util: _util }?: { keysData: any; disableRecryption: any; crypto: any; util: any; }): (encryptedResponse: any, _derivedSecretKey: any) => Promise<any>; //# sourceMappingURL=verification.d.ts.map