UNPKG

ts-mls

Version:

[![CI](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml/badge.svg)](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [![npm version](https://badge.fury.io/js/ts-mls.svg)](https://badge.fury.io/js/ts-mls) [![Coverage Status](https://co

8 lines (7 loc) 560 B
import { ClientState } from "../../src/clientState"; import { CiphersuiteImpl } from "../../src/crypto/ciphersuite"; import { Hpke } from "../../src/crypto/hpke"; import { Signature } from "../../src/crypto/signature"; export declare function hpkeKeysMatch(publicKey: Uint8Array, privateKey: Uint8Array, hpke: Hpke): Promise<boolean>; export declare function signatureKeysMatch(publicKey: Uint8Array, privateKey: Uint8Array, s: Signature): Promise<boolean>; export declare function checkHpkeKeysMatch(group: ClientState, impl: CiphersuiteImpl): Promise<void>;