verifyBaseProof: (secured: any, publicKey: Uint8Array) => Promise<any> = ...
Type Declaration
-
- (secured: any, publicKey: Uint8Array): Promise<any>
-
Parameters
- secured: any
- publicKey: Uint8Array
Returns Promise<any>
{ ok, detail, headerMatches, keyMatches, mandatory, nonMandatory }
Checks a base proof against the document it secures and a public key. Never throws.