diff --git a/index.html b/index.html index 5592fa69..e44ed8a7 100644 --- a/index.html +++ b/index.html @@ -1735,6 +1735,11 @@

Verify Proof

MUST be raised.
  • +If the proof.proofPurpose value does not match +options.expectedProofPurpose, a +`MISMATCHED_PROOF_PURPOSE_ERROR` MUST be raised. +
  • +
  • Let unsecuredDocument be a copy of securedDocument with the `proof` value removed.
  • @@ -1762,11 +1767,6 @@

    Verify Proof

    parameters provided as inputs to the algorithm.
  • -If the proof.proofPurpose value does not match -options.proofPurpose, a `MISMATCHED_PROOF_PURPOSE_ERROR` -MUST be raised. -
  • -
  • If the proof.created is set and it deviates more than options.acceptableCreatedTimeDeviationInSeconds seconds, a `CREATED_TIME_DEVIATION_ERROR` MUST be raised.