Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Claimer

Implements

Index

Constructors

constructor

  • new Claimer(secret: string): Claimer

Methods

buildCombinedPresentation

buildCredential

buildPresentation

requestAttestation

Static buildFromMnemonic

  • buildFromMnemonic(mnemonic: string, __namedParameters?: { keyLength: undefined | 1024 | 2048 | 4096; password: undefined | string }): Promise<Claimer>
  • Generates a claimer using the provided mnemonic.

    Parameters

    • mnemonic: string

      The mnemonic which is used to generate the key.

    • Default value __namedParameters: { keyLength: undefined | 1024 | 2048 | 4096; password: undefined | string } = {}
      • keyLength: undefined | 1024 | 2048 | 4096
      • password: undefined | string

    Returns Promise<Claimer>

    A new Claimer.

Static buildFromSeed

  • Generates a claimer using the provided seed.

    Parameters

    • seed: Uint8Array

      The seed which is used to generate the key.

    • Optional keyLength: KeyLength

      The key length of the new secret. Note that this secret will only support credentials and attester with the same key length.

    Returns Promise<Claimer>

    A new Claimer.

Static create

Generated using TypeDoc