Hierarchy (view full)

Implements

Constructors

Properties

_decodedPayload: Uint8Array
pubsubTopic: string
signature?: Uint8Array
signaturePublicKey?: Uint8Array

Accessors

  • get _rawTimestamp(): undefined | bigint
  • Returns undefined | bigint

  • get contentTopic(): string
  • Returns string

  • get ephemeral(): boolean
  • Returns boolean

  • get meta(): undefined | Uint8Array
  • Returns undefined | Uint8Array

  • get timestamp(): undefined | Date
  • Returns undefined | Date

  • get version(): number
  • Returns number

Methods

  • Verify the message's signature against the public key.

    Parameters

    • publicKey: Uint8Array

    Returns boolean

    true if the signature matches the public key, false if not or if no signature is present.

Generated using TypeDoc