2key-ratchet
Version:
2key-ratchet is an implementation of a Double Ratchet protocol and X3DH in TypeScript utilizing WebCrypto.
19 lines (18 loc) • 613 B
TypeScript
/**
*
* 2key-ratchet
* Copyright (c) 2016 Peculiar Ventures, Inc
* Based on https://whispersystems.org/docs/specifications/doubleratchet/ and
* https://whispersystems.org/docs/specifications/x3dh/ by Open Whisper Systems
*
*/
import { BaseProtocol } from "./base";
import { IdentityProtocol } from "./identity";
import { PreKeyProtocol } from "./prekey";
import { PreKeySignedProtocol } from "./prekey_signed";
export declare class PreKeyBundleProtocol extends BaseProtocol {
registrationId: number;
identity: IdentityProtocol;
preKey: PreKeyProtocol;
preKeySigned: PreKeySignedProtocol;
}