Documentation
    Preparing search index...

    Interface IEncryptedMessage

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

    Hierarchy (View Summary)

    Index

    Properties

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

    Methods

    • Parameters

      • publicKey: Uint8Array

      Returns boolean