A function to sign a Verifiable Credential (VC).
The parameters for signing the VC
Optional
Whether to add suite context
The document loader
Optional proof purpose options
The cryptographic suite
The unsigned VC
A promise that resolves to the signed VC
A function to sign a Verifiable Credential (VC).