Interface IEncryptedMessage

interface IEncryptedMessage {
    contentTopic: string;
    ephemeral: undefined | boolean;
    meta: undefined | Uint8Array;
    payload: Uint8Array;
    pubsubTopic: string;
    rateLimitProof: undefined | IRateLimitProof;
    signature?: Uint8Array;
    signaturePublicKey?: Uint8Array;
    timestamp: undefined | Date;
    version: number;
    verifySignature(publicKey): boolean;
}

Hierarchy (view full)

Properties

contentTopic: string
ephemeral: undefined | boolean
meta: undefined | Uint8Array
payload: Uint8Array
pubsubTopic: string
rateLimitProof: undefined | IRateLimitProof
signature?: Uint8Array
signaturePublicKey?: Uint8Array
timestamp: undefined | Date
version: number

Methods

  • Parameters

    • publicKey: Uint8Array

    Returns boolean