Constructs an instance of Cryptosuite.
See CryptosuiteParams for required parameters to create a cryptosuite.
Optional
type?: "DataIntegrityProof"The algorithm used for canonicalization
The name of the cryptosuite
The multikey used to sign and verify proofs
The type of the proof
Implements ICryptosuite.canonicalize.
Implements ICryptosuite.createProof.
Implements ICryptosuite.proofSerialization.
Implements ICryptosuite.proofVerification.
Constructs an instance of DataIntegrityProof from the current Cryptosuite instance.
A new DataIntegrityProof instance.
Implements ICryptosuite.transformDocument.
Verify a proof for a secure document. Implements ICryptosuite Method verifyProof.
The secure document to verify.
The result of the verification.
Implements 3.1 Instantiate Cryptosuite
The Instantiate Cryptosuite algorithm is used to configure a cryptographic suite to be used by the Add Proof and Verify Proof functions in Verifiable Credential Data Integrity 1.0. The algorithm takes an options object (map options) as input and returns a cryptosuite instance (struct cryptosuite).
Cryptosuite