-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f66b071
commit 7a3b06d
Showing
10 changed files
with
250 additions
and
34 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 77 additions & 1 deletion
78
test/assertions/invalid-verifiable-presentation-verified-steps.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,77 @@ | ||
[{"code": "formatValidation", "isLast": false, "label": "Format validation", "labelPending": "Validating format", "status": "success", "subSteps": [{"code": "validateDateFormat", "label": "Validating date format", "parentStep": "formatValidation", "status": "success"}]}, {"code": "proofVerification", "isLast": false, "label": "Proof Verification", "labelPending": "Verifying Proof", "status": "success", "subSteps": [], "suites": [{"proofType": "MerkleProof2019", "subSteps": [{"code": "computeLocalHash", "label": "Computing local hash", "parentStep": "proofVerification", "status": "success"}, {"code": "compareHashes", "label": "Comparing hashes", "parentStep": "proofVerification", "status": "success"}, {"code": "checkReceipt", "label": "Checking Receipt", "parentStep": "proofVerification", "status": "success"}]}]}, {"code": "statusCheck", "isLast": true, "label": "Status check", "labelPending": "Checking record status", "status": "success", "subSteps": [{"code": "checkRevokedStatus", "label": "Checking Revoked Status", "parentStep": "statusCheck", "status": "success"}, {"code": "checkExpiresDate", "label": "Checking Expiration Date", "parentStep": "statusCheck", "status": "success"}]}] | ||
[ | ||
{ | ||
"code": "formatValidation", | ||
"isLast": false, | ||
"label": "Format validation", | ||
"labelPending": "Validating format", | ||
"status": "success", | ||
"subSteps": [ | ||
{ | ||
"code": "validateDateFormat", | ||
"label": "Validating date format", | ||
"parentStep": "formatValidation", | ||
"status": "success" | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "proofVerification", | ||
"isLast": false, | ||
"label": "Proof Verification", | ||
"labelPending": "Verifying Proof", | ||
"status": "success", | ||
"subSteps": [], | ||
"suites": [ | ||
{ | ||
"proofType": "MerkleProof2019", | ||
"subSteps": [ | ||
{ | ||
"code": "assertProofValidity", | ||
"label": "Asserting proof purpose", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "computeLocalHash", | ||
"label": "Computing local hash", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "compareHashes", | ||
"label": "Comparing hashes", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "checkReceipt", | ||
"label": "Checking Receipt", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "statusCheck", | ||
"isLast": true, | ||
"label": "Status check", | ||
"labelPending": "Checking record status", | ||
"status": "success", | ||
"subSteps": [ | ||
{ | ||
"code": "checkRevokedStatus", | ||
"label": "Checking Revoked Status", | ||
"parentStep": "statusCheck", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "checkExpiresDate", | ||
"label": "Checking Expiration Date", | ||
"parentStep": "statusCheck", | ||
"status": "success" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 77 additions & 1 deletion
78
test/assertions/valid-verifiable-presentation-verified-steps.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,77 @@ | ||
[{"code": "formatValidation", "isLast": false, "label": "Format validation", "labelPending": "Validating format", "status": "success", "subSteps": [{"code": "validateDateFormat", "label": "Validating date format", "parentStep": "formatValidation", "status": "success"}]}, {"code": "proofVerification", "isLast": false, "label": "Proof Verification", "labelPending": "Verifying Proof", "status": "success", "subSteps": [], "suites": [{"proofType": "MerkleProof2019", "subSteps": [{"code": "computeLocalHash", "label": "Computing local hash", "parentStep": "proofVerification", "status": "success"}, {"code": "compareHashes", "label": "Comparing hashes", "parentStep": "proofVerification", "status": "success"}, {"code": "checkReceipt", "label": "Checking Receipt", "parentStep": "proofVerification", "status": "success"}]}]}, {"code": "statusCheck", "isLast": true, "label": "Status check", "labelPending": "Checking record status", "status": "success", "subSteps": [{"code": "checkRevokedStatus", "label": "Checking Revoked Status", "parentStep": "statusCheck", "status": "success"}, {"code": "checkExpiresDate", "label": "Checking Expiration Date", "parentStep": "statusCheck", "status": "success"}]}] | ||
[ | ||
{ | ||
"code": "formatValidation", | ||
"isLast": false, | ||
"label": "Format validation", | ||
"labelPending": "Validating format", | ||
"status": "success", | ||
"subSteps": [ | ||
{ | ||
"code": "validateDateFormat", | ||
"label": "Validating date format", | ||
"parentStep": "formatValidation", | ||
"status": "success" | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "proofVerification", | ||
"isLast": false, | ||
"label": "Proof Verification", | ||
"labelPending": "Verifying Proof", | ||
"status": "success", | ||
"subSteps": [], | ||
"suites": [ | ||
{ | ||
"proofType": "MerkleProof2019", | ||
"subSteps": [ | ||
{ | ||
"code": "assertProofValidity", | ||
"label": "Asserting proof purpose", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "computeLocalHash", | ||
"label": "Computing local hash", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "compareHashes", | ||
"label": "Comparing hashes", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "checkReceipt", | ||
"label": "Checking Receipt", | ||
"parentStep": "proofVerification", | ||
"status": "success" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "statusCheck", | ||
"isLast": true, | ||
"label": "Status check", | ||
"labelPending": "Checking record status", | ||
"status": "success", | ||
"subSteps": [ | ||
{ | ||
"code": "checkRevokedStatus", | ||
"label": "Checking Revoked Status", | ||
"parentStep": "statusCheck", | ||
"status": "success" | ||
}, | ||
{ | ||
"code": "checkExpiresDate", | ||
"label": "Checking Expiration Date", | ||
"parentStep": "statusCheck", | ||
"status": "success" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters