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

18 lines (17 loc) 702 B
import { Decoder } from "./codec/tlsDecoder.js"; import { BufferEncoder } from "./codec/tlsEncoder.js"; import { GroupContext } from "./groupContext.js"; import { RatchetTree } from "./ratchetTree.js"; import { SecretTree } from "./secretTree.js"; /** * This type contains everything necessary to receieve application messages for an earlier epoch */ export interface EpochReceiverData { resumptionPsk: Uint8Array; secretTree: SecretTree; ratchetTree: RatchetTree; senderDataSecret: Uint8Array; groupContext: GroupContext; } export declare const epochReceiverDataEncoder: BufferEncoder<EpochReceiverData>; export declare const decodeEpochReceiverData: Decoder<EpochReceiverData>;