Interface SignerArchive<ID, Alg>

Signer keys and it's DID that can be used for persist and restore signer across sessions.

Type Parameters

Hierarchy

  • SignerArchive

Properties

Properties

id: ID

DID Subject for this signer.

keys: {
    [Key: DIDKey]: KeyArchive<Alg>;
}

Set of private keys this signer uses keyed by corresponding did:key.

⚠️ At the moment signers only support single key use case, however we may change that in the future, which is why data model is forward designed to support multiple keys.

Type declaration

Generated using TypeDoc