Options
All
  • Public
  • Public/Protected
  • All
Menu

A collection of Signature.

Hierarchy

  • Signatures

Index

Constructors

  • Creates a new, empty, signatures collection.

    Returns Signatures

Properties

count: number

How many signatures do we currently hold.

Methods

  • asJSON(): string
  • Get the json with all signatures

    Returns string

  • clear(): void
  • Remove all the signatures we currently hold.

    Returns void

  • free(): void
  • Returns void

  • get(signer: UserId): undefined | Map<any, any>
  • Get the map of signatures that belong to the given user.

    Parameters

    Returns undefined | Map<any, any>

  • Try to find an Ed25519 signature from the given signer with the given key ID.

    Parameters

    Returns undefined | Ed25519Signature

  • isEmpty(): boolean
  • Do we hold any signatures or is our collection completely empty.

    Returns boolean

Generated using TypeDoc