@orangecheck/stamp-ots / parseProof
Function: parseProof()
function parseProof(bytes: Uint8Array, digest: Uint8Array): OtsTimestamp;
Defined in: ots.ts:175
Parse either encoding and require that it commits to digest. A detached
file for some other digest is rejected rather than walked.
Parameters
| Parameter | Type |
|---|---|
bytes | Uint8Array |
digest | Uint8Array |