UNPKG

@jsxc/jsxc

Version:

Real-time XMPP chat application with video calls, file transfer and encrypted communication

16 lines (12 loc) 359 B
import PreKey, { IPreKeyObject } from './PreKey'; interface ISignedPreKeyObject extends IPreKeyObject { signature: ArrayBuffer; } export default class SignedPreKey extends PreKey { constructor(data: ISignedPreKeyObject) { super(data); } public getSignature(): ArrayBuffer { return (<ISignedPreKeyObject>this.data).signature; } }