forked from alastria/alastria-identity-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.json
115 lines (115 loc) · 5.58 KB
/
configuration.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"nodeURL": "http://63.33.206.111/rpc",
"addressPassword": "Passw0rd",
"rawPublicKeySubject": "03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479",
"rawPublicKeyReceiver": "8b82bb2b1b5b4c1d56beeb88c98fcf894c23e8dee598d94c1c77099d3a80367f46",
"adminPubk": "0x0ce5edc204ae977d6d69fcc6b339a57b544ef4d094929f3eb918a77dfba26998e77ec5b29a379dd59bbe962e2b22745143aa2b52c4a875b7492c137eeebf4055",
"entity1Pubk": "0x356e3fce435d8729062e52d263c0c705b3c5e201a9a9608cdb070764e6b8df30ae8423b439a7af2bcc3529778341ab06c1e44411352f217b68ce44a673a1df63",
"entity2Pubk": "0xa33e56a80b9dc83a4456265d877c0765cea76146e625572fc679804f8867222ca3c816433a9b6e6690b0b8e919ffa874982706e812314aae09d85fc62fc4fa3c",
"entity3Pubk": "0xf6aa52924a7280241bd84d098d7c03b4e3a7e08f206b68868f439b65a6c3b26b1bd30b960325be8670339a66258b851ae170691429248149b601da5798f42d28",
"subject1Pubk": "0x2e507af01167c98a6accc0cd46ab2a256dd6b6c69ec1c0c28f80fb62e1f7d70233768b0c58dbbdac1fc358b8141c075a520483cf9779e4ea98d13df2833f3767",
"subject2Pubk": "0xaca7aa42e831f41b6f246d089fbcabe73e1c6ce01a1bb5d944fda4e148e1d6930f6ebb5138b1d103e3e384c893962a238e4088a549bfe84867da96942931f69a",
"rawPrivateKey": "278a5de700e29faae8e40e366ec5012b5ec63d36ec77e8a2417154cc1d25383f",
"context": [
"https://w3id.org/did/v1",
"JWT"
],
"type": [
"CustomType"
],
"signedTxCreateAlastriaID" : "0xf901888203f180830927c094bd4a2c84edb97be5beff7cd341bd63567e73f8c980b901246d69d99a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c450382c1a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000803265353037616630313136376339386136616363633063643436616232613235366464366236633639656331633063323866383066623632653166376437303233333736386230633538646262646163316663333538623831343163303735613532303438336366393737396534656139386431336466323833336633373637000000000000000000000000000000000000000000000000000000001ca0e3e05abb1592bd15dc72e57d8930c24efdd0e286437a34ca2f118372ad428b25a0480ac816c93a5c1e8eff1dfd96f850dc664c5daa1ff94a88bdf789b0652ebfd3",
"userPublicKey": "AE2309349218937HASKHIUE9287432",
"providerURL": "https://regular.telsius.blockchainbyeveris.io:2000",
"callbackURL": "https://serviceprovider.alastria.blockchainbyeveris.io/api/login/",
"alastriaNetId": "Alastria network",
"tokenExpTime": 1563783392,
"tokenActivationDate": 1563782792,
"tokenNotBefore": 123456789,
"jsonTokenId": "ze298y42sba",
"network": "quor",
"networkId": "redT",
"tokenPayload": {
"header": {
"alg": "ES256K",
"typ": "JWT",
"kid": "did:ala:quor:redt:0x12eeaCCA9eEbB78eB97d7cac6b#keys-1",
"jwk": "0x12345"
},
"payload": {
"iss": "did:ala:quor:redT:e53d78c1c6fc694a0f29b3f24bee439338acbe3e",
"gwu": "http://1.2.3.4:8097/alastria/presentation",
"cbu": "http://1.2.3.4:8097/alastria/presentation",
"iat": 1590569132,
"ani": "redT",
"exp": 1563783392
}
},
"jti": "https://www.empresa.com/alastria/credentials/3734",
"kidCredential": "did:ala:quor:redt:12eeaCCA9eEbB78eB97d7cac6b#keys-1",
"subjectAlastriaID": "did:ala:quor:redt:0x12eeaCCA9eEbB78eB97d7cac6b",
"credentialKey": "StudentID",
"credentialValue": "11235813",
"uri": "www.google.com",
"procUrl": "https://www.empresa.com/alastria/businessprocess/4583",
"procHash": "H398sjHd...kldjUYn475n",
"data": [
{
"@context": "JWT",
"levelOfAssurance": 3,
"required": true,
"field_name": "name"
},
{
"@context": "JWT",
"levelOfAssurance": 3,
"required": true,
"field_name": "email"
}
],
"entity1": "0xd2f868f056ef3a48bbc8d446dfed411e9bf93ab0",
"didEntity1": "did:ala:quor:redT:d2f868f056ef3a48bbc8d446dfed411e9bf93ab0",
"entity2": "0xf86484b4ae0148de488f4b66d0bf578bb3779fcd",
"didEntity2": "did:ala:quor:redT:0xf86484b4ae0148de488f4b66d0bf578bb3779fcd",
"entity3": "0xb0462601a17581ed1b5dda86272aee5e49e2f5f7",
"didEntity3": "did:ala:quor:redT:0xb0462601a17581ed1b5dda86272aee5e49e2f5f7",
"subject1": "0x87ff106536c5c129e8a5e1434888eb1c5fb5a927",
"didSubject1": "did:ala:quor:redT:0x87ff106536c5c129e8a5e1434888eb1c5fb5a927",
"subject2": "0x5a6d79a6240ce5724f551922a2d1addee9fcfa4c",
"didSubject2": "did:ala:quor:redT:0x5a6d79a6240ce5724f551922a2d1addee9fcfa4c",
"issuerLevel": 2,
"updateSubject1PresentationTo": 2,
"updateEntity2PresentationTo": 1,
"updateIssuerCredentialTo": 2,
"subject1PresentationStatus": {
"exist": true,
"status": "2"
},
"entity2PresentationStatus": {
"exist": true,
"status": "1"
},
"entityData1": {
"name": "Entidad1",
"cif": "A-28964782",
"urlLogo": "www.entidad1.com/logo",
"urlCreateAID": "www.entidad1.com/AID",
"urlAOA": "www.entidad1.com/AOA",
"status": true
},
"entityData2": {
"name": "Entidad2",
"cif": "A-95974786",
"urlLogo": "www.entidad2.com/logo",
"urlCreateAID": "www.entidad2.com/AID",
"urlAOA": "www.entidad2.com/AOA",
"status": true
},
"entityData3": {
"name": "Entidad3",
"cif": "A-49934581",
"urlLogo": "www.entidad3.com/logo",
"urlCreateAID": "www.entidad3.com/AID",
"urlAOA": "www.entidad3.com/AOA",
"status": true
}
}