Principal that issued a UCAN. In usually represents remote principal and is used to verify that certain payloads were signed by it.

Type Parameters

Hierarchy

Methods

  • Returns ID

  • 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