Type alias SignerInterface<Alg, Id>

SignerInterface<Alg, Id>: {
    algorithm: Alg;
    id: Id;
    sign: ((input) => Promise<Uint8Array>);
}

Type Parameters

  • Alg extends string = string

  • Id extends string = string

Type declaration

  • algorithm: Alg
  • id: Id
  • sign: ((input) => Promise<Uint8Array>)
      • (input): Promise<Uint8Array>
      • Parameters

        • input: {
              data: Uint8Array;
          }
          • data: Uint8Array

        Returns Promise<Uint8Array>