Verifier corresponding to did:key identified principal.

Type Parameters

Hierarchy

Methods

  • Returns `did:key:${string}`

  • Returns unwrapped did:key of this principal.

    Returns `did:key:${string}`

  • Type Parameters

    • T

      Source data before it was byte encoding into payload.

      Takes byte encoded payload and verifies that it is signed by corresponding signer.

    Parameters

    Returns Crypto.Await<boolean>

  • Wraps key of this verifier into a verifier with a different DID. This is primarily used to wrap VerifierKey into a Verifier that has did of different method.

    Type Parameters

    • ID extends `did:${string}:${string}`

    Parameters

    • id: ID

    Returns Verifier<ID, Alg>

Generated using TypeDoc