-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2055 from ianco/revocation_int_tests
Additional integration tests for revocation scenarios
- Loading branch information
Showing
8 changed files
with
190 additions
and
4 deletions.
There are no files selected for viewing
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
24 changes: 24 additions & 0 deletions
24
demo/features/data/presentation_DL_age_over_19_v2_with_health_id_no_revoc.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"presentation": { | ||
"comment": "This is a comment for the send presentation.", | ||
"requested_attributes": { | ||
"address_attrs": { | ||
"cred_type_name": "Schema_DriversLicense_v2", | ||
"revealed": true, | ||
"cred_id": "replace_me" | ||
}, | ||
"health_attrs": { | ||
"cred_type_name": "Schema_Health_ID", | ||
"revealed": true, | ||
"cred_id": "replace_me" | ||
} | ||
}, | ||
"requested_predicates": { | ||
"age": { | ||
"cred_type_name": "Schema_DriversLicense_v2", | ||
"cred_id": "replace me" | ||
} | ||
}, | ||
"self_attested_attributes": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
demo/features/data/presentation_DL_age_over_19_v2_with_health_id_r2.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"presentation": { | ||
"comment": "This is a comment for the send presentation.", | ||
"requested_attributes": { | ||
"address_attrs": { | ||
"cred_type_name": "Schema_DriversLicense_v2", | ||
"revealed": true, | ||
"cred_id": "replace_me" | ||
}, | ||
"health_attrs": { | ||
"cred_type_name": "Schema_Health_ID", | ||
"revealed": true, | ||
"cred_id": "replace_me" | ||
} | ||
}, | ||
"requested_predicates": { | ||
"age": { | ||
"cred_type_name": "Schema_DriversLicense_v2", | ||
"cred_id": "replace me" | ||
} | ||
}, | ||
"self_attested_attributes": {} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
demo/features/data/proof_request_DL_age_over_19_v2_with_health_id_no_revoc.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"presentation_proposal": { | ||
"requested_attributes": { | ||
"address_attrs": { | ||
"name": "address", | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_DriversLicense_v2", | ||
"schema_version": "1.0.1" | ||
} | ||
] | ||
}, | ||
"health_attrs": { | ||
"name": "health_id_num", | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_Health_ID", | ||
"schema_version": "1.0.0" | ||
} | ||
] | ||
} | ||
}, | ||
"requested_predicates": { | ||
"age": { | ||
"name": "age", | ||
"p_type": ">", | ||
"p_value": 19, | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_DriversLicense_v2", | ||
"schema_version": "1.0.1" | ||
} | ||
] | ||
} | ||
}, | ||
"version": "0.1.0" | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
demo/features/data/proof_request_DL_age_over_19_v2_with_health_id_r2.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"presentation_proposal": { | ||
"requested_attributes": { | ||
"address_attrs": { | ||
"name": "address", | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_DriversLicense_v2", | ||
"schema_version": "1.0.1" | ||
} | ||
] | ||
}, | ||
"health_attrs": { | ||
"name": "health_id_num", | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_Health_ID", | ||
"schema_version": "1.0.0" | ||
} | ||
] | ||
} | ||
}, | ||
"requested_predicates": { | ||
"age": { | ||
"name": "age", | ||
"p_type": ">", | ||
"p_value": 19, | ||
"restrictions": [ | ||
{ | ||
"schema_name": "Schema_DriversLicense_v2", | ||
"schema_version": "1.0.1" | ||
} | ||
] | ||
} | ||
}, | ||
"version": "0.1.0" | ||
} | ||
} |
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