Interface SignerImporter<ID, Alg>

Represents component that can create a signer from it's archive. Usually signer module would provide from function and therefor be an implementation of this interface.

Library also provides utility functions for combining multiple SignerImporters into one.

Type Parameters

  • ID extends DID = DID

    DID that can be imported, which may be a type union.

  • Alg extends SigAlg = SigAlg

    Multicodec code corresponding to signature algorithm.

Hierarchy

  • SignerImporter

Methods

Methods

  • Parameters

    Returns Signer<ID, Alg>

Generated using TypeDoc