@the-hashgraph-group-ag/cryptosuites-core / ProofVerifier
Abstract Class: ProofVerifier
Abstract class for a proof verifier.
Methods
canVerify()
abstractcanVerify(proof):boolean
Checks if the proof verifier can verify the given proof.
extractVerificationData()
abstractextractVerificationData(securedDocument,options?):VerificationData|Promise<link:../interfaces/VerificationData.md>
Extracts the verification data from the secured document. Function extracts the verification data from the secured document and returns the verification input and the proof value.
Parameters
======= securedDocument
The secured document to extract the verification data from.
======= options?
Returns
VerificationData |
Promise<link:../interfaces/VerificationData.md>
The verification input and the proof value.