Abstract Class: Signer<Cryptosuite, Algorithms>
Defined in: packages/core/src/interfaces/signer.ts:10
An abstract class that represents a signer. It is used to sign input documents with a given cryptosuites.
Methods
canSign()
abstractcanSign(proofType):boolean
Defined in: packages/core/src/interfaces/signer.ts:19
Checks if the signer can sign with the given proof type.
sign()
abstractsign<InputDocument,ProofOptions>(inputDocument,proofOptions): link:../type-aliases/SecuredDataDocument.md<InputDocument> |Promise<link:../type-aliases/SecuredDataDocument.md<InputDocument>>
Defined in: packages/core/src/interfaces/signer.ts:29
Signs an input document with a cryptosuite.
Type Parameters
======= InputDocument
InputDocument extends
InputDocument
======= ProofOptions
ProofOptions extends
ProofOptions
signSigningRequest()
abstractsignSigningRequest<SigningRequest>(signingRequest):Proof|Promise<link:../interfaces/Proof.md>
Defined in: packages/core/src/interfaces/signer.ts:45
Signs a signing request with a cryptosuite.