Signs any document with the create-proof algorithm of the suite named or implied by the key.
options.proofMembers are put on the proof and signed; they may not override type, cryptosuite, proofValue or @context.
options.proofMembers
type
cryptosuite
proofValue
@context
the unsecured document
publicJwk, privateKey, cryptosuite, verificationMethod, proofPurpose, challenge, domain, proofMembers and the other proof options
publicJwk
privateKey
verificationMethod
proofPurpose
challenge
domain
proofMembers
the secured document
Signs any document with the create-proof algorithm of the suite named or implied by the key.
options.proofMembersare put on the proof and signed; they may not overridetype,cryptosuite,proofValueor@context.