@veramo/credential-ld 5.1.5-next.12 → 5.1.5-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/contexts/schema.org.json +8612 -0
- package/build/contexts/w3id.org_security_bbs_v1.json +128 -0
- package/build/contexts/w3id.org_security_suites_ed25519-2018_v1.json +89 -56
- package/build/contexts/{ed25519-signature-2018-v1.json → w3id.org_security_suites_ed25519-2020-v1.json} +10 -8
- package/build/contexts/{json-web-signature-2020-v1.json → w3id.org_security_suites_jws-2020_v1.json} +15 -8
- package/build/contexts/w3id.org_security_suites_x25519-2020_v1.json +27 -0
- package/build/contexts/w3id.org_security_v1.json +36 -9
- package/build/contexts/w3id.org_security_v2.json +90 -22
- package/build/contexts/w3id.org_security_v3-unstable.json +4 -2
- package/build/contexts/www.w3.org_2018_credentials_examples_v1.json +69 -0
- package/build/contexts/www.w3.org_2018_credentials_v1.json +156 -36
- package/build/ld-credential-module.d.ts.map +1 -1
- package/build/ld-credential-module.js +5 -2
- package/build/ld-credential-module.js.map +1 -1
- package/build/ld-default-contexts.d.ts.map +1 -1
- package/build/ld-default-contexts.js +18 -9
- package/build/ld-default-contexts.js.map +1 -1
- package/build/ld-suites.d.ts +2 -2
- package/build/ld-suites.d.ts.map +1 -1
- package/build/ld-suites.js.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +3 -2
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
- package/build/suites/Ed25519Signature2018.d.ts +1 -1
- package/build/suites/Ed25519Signature2018.d.ts.map +1 -1
- package/build/suites/Ed25519Signature2018.js +2 -1
- package/build/suites/Ed25519Signature2018.js.map +1 -1
- package/build/suites/Ed25519Signature2020.d.ts +3 -5
- package/build/suites/Ed25519Signature2020.d.ts.map +1 -1
- package/build/suites/Ed25519Signature2020.js +50 -9
- package/build/suites/Ed25519Signature2020.js.map +1 -1
- package/build/suites/JsonWebSignature2020.d.ts +1 -1
- package/build/suites/JsonWebSignature2020.d.ts.map +1 -1
- package/build/suites/JsonWebSignature2020.js +2 -1
- package/build/suites/JsonWebSignature2020.js.map +1 -1
- package/package.json +4 -4
- package/src/__tests__/issue-verify-ed25519-2020.test.ts +143 -0
- package/src/contexts/schema.org.json +8612 -0
- package/src/contexts/veramo.io_contexts_profile_v1.json +4 -4
- package/src/contexts/w3id.org_security_bbs_v1.json +128 -0
- package/src/contexts/w3id.org_security_suites_ed25519-2018_v1.json +89 -57
- package/src/contexts/{ed25519-signature-2018-v1.json → w3id.org_security_suites_ed25519-2020-v1.json} +10 -8
- package/src/contexts/w3id.org_security_suites_jws-2020_v1.json +78 -0
- package/src/contexts/w3id.org_security_suites_x25519-2020_v1.json +27 -0
- package/src/contexts/w3id.org_security_v1.json +36 -12
- package/src/contexts/w3id.org_security_v2.json +124 -57
- package/src/contexts/w3id.org_security_v3-unstable.json +684 -692
- package/src/contexts/www.w3.org_2018_credentials_examples_v1.json +69 -0
- package/src/contexts/www.w3.org_2018_credentials_v1.json +157 -79
- package/src/contexts/www.w3.org_ns_did_v1.json +0 -1
- package/src/ld-credential-module.ts +19 -5
- package/src/ld-default-contexts.ts +19 -10
- package/src/ld-suites.ts +2 -1
- package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +4 -5
- package/src/suites/Ed25519Signature2018.ts +2 -1
- package/src/suites/Ed25519Signature2020.ts +72 -11
- package/src/suites/JsonWebSignature2020.ts +2 -1
- package/build/contexts/did_v0.11.json +0 -61
- package/build/contexts/ed25519-signature-2020-v1.json +0 -77
- package/build/contexts/kyc-v1.json +0 -8
- package/build/contexts/socialmedia-v1.json +0 -7
- package/build/contexts/transmute_v1.json +0 -20
- package/src/contexts/did_v0.11.json +0 -64
- package/src/contexts/ed25519-signature-2020-v1.json +0 -77
- package/src/contexts/json-web-signature-2020-v1.json +0 -71
- package/src/contexts/kyc-v1.json +0 -8
- package/src/contexts/socialmedia-v1.json +0 -7
- package/src/contexts/transmute_v1.json +0 -21
- /package/build/contexts/{eip712.json → w3id.org_security_suites_eip712sig-2021_v1.json} +0 -0
- /package/src/contexts/{eip712.json → w3id.org_security_suites_eip712sig-2021_v1.json} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"@version": 1.1,
|
|
4
|
+
"id": "@id",
|
|
5
|
+
"type": "@type",
|
|
6
|
+
"BbsBlsSignature2020": {
|
|
7
|
+
"@id": "https://w3id.org/security#BbsBlsSignature2020",
|
|
8
|
+
"@context": {
|
|
9
|
+
"@version": 1.1,
|
|
10
|
+
"@protected": true,
|
|
11
|
+
"id": "@id",
|
|
12
|
+
"type": "@type",
|
|
13
|
+
"challenge": "https://w3id.org/security#challenge",
|
|
14
|
+
"created": {
|
|
15
|
+
"@id": "http://purl.org/dc/terms/created",
|
|
16
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
17
|
+
},
|
|
18
|
+
"domain": "https://w3id.org/security#domain",
|
|
19
|
+
"proofValue": "https://w3id.org/security#proofValue",
|
|
20
|
+
"nonce": "https://w3id.org/security#nonce",
|
|
21
|
+
"proofPurpose": {
|
|
22
|
+
"@id": "https://w3id.org/security#proofPurpose",
|
|
23
|
+
"@type": "@vocab",
|
|
24
|
+
"@context": {
|
|
25
|
+
"@version": 1.1,
|
|
26
|
+
"@protected": true,
|
|
27
|
+
"id": "@id",
|
|
28
|
+
"type": "@type",
|
|
29
|
+
"assertionMethod": {
|
|
30
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
31
|
+
"@type": "@id",
|
|
32
|
+
"@container": "@set"
|
|
33
|
+
},
|
|
34
|
+
"authentication": {
|
|
35
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
36
|
+
"@type": "@id",
|
|
37
|
+
"@container": "@set"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"verificationMethod": {
|
|
42
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
43
|
+
"@type": "@id"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"BbsBlsSignatureProof2020": {
|
|
48
|
+
"@id": "https://w3id.org/security#BbsBlsSignatureProof2020",
|
|
49
|
+
"@context": {
|
|
50
|
+
"@version": 1.1,
|
|
51
|
+
"@protected": true,
|
|
52
|
+
"id": "@id",
|
|
53
|
+
"type": "@type",
|
|
54
|
+
"challenge": "https://w3id.org/security#challenge",
|
|
55
|
+
"created": {
|
|
56
|
+
"@id": "http://purl.org/dc/terms/created",
|
|
57
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
58
|
+
},
|
|
59
|
+
"domain": "https://w3id.org/security#domain",
|
|
60
|
+
"nonce": "https://w3id.org/security#nonce",
|
|
61
|
+
"proofPurpose": {
|
|
62
|
+
"@id": "https://w3id.org/security#proofPurpose",
|
|
63
|
+
"@type": "@vocab",
|
|
64
|
+
"@context": {
|
|
65
|
+
"@version": 1.1,
|
|
66
|
+
"@protected": true,
|
|
67
|
+
"id": "@id",
|
|
68
|
+
"type": "@type",
|
|
69
|
+
"sec": "https://w3id.org/security#",
|
|
70
|
+
"assertionMethod": {
|
|
71
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
72
|
+
"@type": "@id",
|
|
73
|
+
"@container": "@set"
|
|
74
|
+
},
|
|
75
|
+
"authentication": {
|
|
76
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
77
|
+
"@type": "@id",
|
|
78
|
+
"@container": "@set"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"proofValue": "https://w3id.org/security#proofValue",
|
|
83
|
+
"verificationMethod": {
|
|
84
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
85
|
+
"@type": "@id"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"Bls12381G1Key2020": {
|
|
90
|
+
"@id": "https://w3id.org/security#Bls12381G1Key2020",
|
|
91
|
+
"@context": {
|
|
92
|
+
"@protected": true,
|
|
93
|
+
"id": "@id",
|
|
94
|
+
"type": "@type",
|
|
95
|
+
"controller": {
|
|
96
|
+
"@id": "https://w3id.org/security#controller",
|
|
97
|
+
"@type": "@id"
|
|
98
|
+
},
|
|
99
|
+
"revoked": {
|
|
100
|
+
"@id": "https://w3id.org/security#revoked",
|
|
101
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
102
|
+
},
|
|
103
|
+
"publicKeyBase58": {
|
|
104
|
+
"@id": "https://w3id.org/security#publicKeyBase58"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"Bls12381G2Key2020": {
|
|
109
|
+
"@id": "https://w3id.org/security#Bls12381G2Key2020",
|
|
110
|
+
"@context": {
|
|
111
|
+
"@protected": true,
|
|
112
|
+
"id": "@id",
|
|
113
|
+
"type": "@type",
|
|
114
|
+
"controller": {
|
|
115
|
+
"@id": "https://w3id.org/security#controller",
|
|
116
|
+
"@type": "@id"
|
|
117
|
+
},
|
|
118
|
+
"revoked": {
|
|
119
|
+
"@id": "https://w3id.org/security#revoked",
|
|
120
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
121
|
+
},
|
|
122
|
+
"publicKeyBase58": {
|
|
123
|
+
"@id": "https://w3id.org/security#publicKeyBase58"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -1,58 +1,91 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@context":
|
|
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
|
-
|
|
2
|
+
"@context": {
|
|
3
|
+
"id": "@id",
|
|
4
|
+
"type": "@type",
|
|
5
|
+
"@protected": true,
|
|
6
|
+
"proof": {
|
|
7
|
+
"@id": "https://w3id.org/security#proof",
|
|
8
|
+
"@type": "@id",
|
|
9
|
+
"@container": "@graph"
|
|
10
|
+
},
|
|
11
|
+
"Ed25519VerificationKey2018": {
|
|
12
|
+
"@id": "https://w3id.org/security#Ed25519VerificationKey2018",
|
|
13
|
+
"@context": {
|
|
14
|
+
"@protected": true,
|
|
15
|
+
"id": "@id",
|
|
16
|
+
"type": "@type",
|
|
17
|
+
"controller": {
|
|
18
|
+
"@id": "https://w3id.org/security#controller",
|
|
19
|
+
"@type": "@id"
|
|
20
|
+
},
|
|
21
|
+
"revoked": {
|
|
22
|
+
"@id": "https://w3id.org/security#revoked",
|
|
23
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
24
|
+
},
|
|
25
|
+
"publicKeyBase58": {
|
|
26
|
+
"@id": "https://w3id.org/security#publicKeyBase58"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"Ed25519Signature2018": {
|
|
31
|
+
"@id": "https://w3id.org/security#Ed25519Signature2018",
|
|
32
|
+
"@context": {
|
|
33
|
+
"@protected": true,
|
|
34
|
+
"id": "@id",
|
|
35
|
+
"type": "@type",
|
|
36
|
+
"challenge": "https://w3id.org/security#challenge",
|
|
37
|
+
"created": {
|
|
38
|
+
"@id": "http://purl.org/dc/terms/created",
|
|
39
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
40
|
+
},
|
|
41
|
+
"domain": "https://w3id.org/security#domain",
|
|
42
|
+
"expires": {
|
|
43
|
+
"@id": "https://w3id.org/security#expiration",
|
|
44
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
45
|
+
},
|
|
46
|
+
"nonce": "https://w3id.org/security#nonce",
|
|
47
|
+
"proofPurpose": {
|
|
48
|
+
"@id": "https://w3id.org/security#proofPurpose",
|
|
49
|
+
"@type": "@vocab",
|
|
50
|
+
"@context": {
|
|
51
|
+
"@protected": true,
|
|
52
|
+
"id": "@id",
|
|
53
|
+
"type": "@type",
|
|
54
|
+
"assertionMethod": {
|
|
55
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
56
|
+
"@type": "@id",
|
|
57
|
+
"@container": "@set"
|
|
58
|
+
},
|
|
59
|
+
"authentication": {
|
|
60
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
61
|
+
"@type": "@id",
|
|
62
|
+
"@container": "@set"
|
|
63
|
+
},
|
|
64
|
+
"capabilityInvocation": {
|
|
65
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
66
|
+
"@type": "@id",
|
|
67
|
+
"@container": "@set"
|
|
68
|
+
},
|
|
69
|
+
"capabilityDelegation": {
|
|
70
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
71
|
+
"@type": "@id",
|
|
72
|
+
"@container": "@set"
|
|
73
|
+
},
|
|
74
|
+
"keyAgreement": {
|
|
75
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
76
|
+
"@type": "@id",
|
|
77
|
+
"@container": "@set"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"jws": {
|
|
82
|
+
"@id": "https://w3id.org/security#jws"
|
|
83
|
+
},
|
|
84
|
+
"verificationMethod": {
|
|
85
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
86
|
+
"@type": "@id"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
58
91
|
}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"@type": "@id",
|
|
9
9
|
"@container": "@graph"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
12
|
-
"@id": "https://w3id.org/security#
|
|
11
|
+
"Ed25519VerificationKey2020": {
|
|
12
|
+
"@id": "https://w3id.org/security#Ed25519VerificationKey2020",
|
|
13
13
|
"@context": {
|
|
14
14
|
"@protected": true,
|
|
15
15
|
"id": "@id",
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"@id": "https://w3id.org/security#revoked",
|
|
23
23
|
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
24
24
|
},
|
|
25
|
-
"
|
|
26
|
-
"@id": "https://w3id.org/security#
|
|
25
|
+
"publicKeyMultibase": {
|
|
26
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
27
|
+
"@type": "https://w3id.org/security#multibase"
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
|
-
"
|
|
31
|
-
"@id": "https://w3id.org/security#
|
|
31
|
+
"Ed25519Signature2020": {
|
|
32
|
+
"@id": "https://w3id.org/security#Ed25519Signature2020",
|
|
32
33
|
"@context": {
|
|
33
34
|
"@protected": true,
|
|
34
35
|
"id": "@id",
|
|
@@ -78,8 +79,9 @@
|
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
|
-
"
|
|
82
|
-
"@id": "https://w3id.org/security#
|
|
82
|
+
"proofValue": {
|
|
83
|
+
"@id": "https://w3id.org/security#proofValue",
|
|
84
|
+
"@type": "https://w3id.org/security#multibase"
|
|
83
85
|
},
|
|
84
86
|
"verificationMethod": {
|
|
85
87
|
"@id": "https://w3id.org/security#verificationMethod",
|
package/build/contexts/{json-web-signature-2020-v1.json → w3id.org_security_suites_jws-2020_v1.json}
RENAMED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"privateKeyJwk": {
|
|
4
|
+
"@id": "https://w3id.org/security#privateKeyJwk",
|
|
5
|
+
"@type": "@json"
|
|
6
|
+
},
|
|
7
7
|
"JsonWebKey2020": {
|
|
8
|
-
"@id": "https://w3id.org/security#JsonWebKey2020"
|
|
8
|
+
"@id": "https://w3id.org/security#JsonWebKey2020",
|
|
9
|
+
"@context": {
|
|
10
|
+
"@protected": true,
|
|
11
|
+
"id": "@id",
|
|
12
|
+
"type": "@type",
|
|
13
|
+
"publicKeyJwk": {
|
|
14
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
15
|
+
"@type": "@json"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
9
18
|
},
|
|
10
19
|
"JsonWebSignature2020": {
|
|
11
20
|
"@id": "https://w3id.org/security#JsonWebSignature2020",
|
|
12
21
|
"@context": {
|
|
13
|
-
"@
|
|
22
|
+
"@protected": true,
|
|
14
23
|
"id": "@id",
|
|
15
24
|
"type": "@type",
|
|
16
|
-
"@protected": true,
|
|
17
25
|
"challenge": "https://w3id.org/security#challenge",
|
|
18
26
|
"created": {
|
|
19
27
|
"@id": "http://purl.org/dc/terms/created",
|
|
@@ -30,7 +38,6 @@
|
|
|
30
38
|
"@id": "https://w3id.org/security#proofPurpose",
|
|
31
39
|
"@type": "@vocab",
|
|
32
40
|
"@context": {
|
|
33
|
-
"@version": 1.1,
|
|
34
41
|
"@protected": true,
|
|
35
42
|
"id": "@id",
|
|
36
43
|
"type": "@type",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"id": "@id",
|
|
4
|
+
"type": "@type",
|
|
5
|
+
"@protected": true,
|
|
6
|
+
"X25519KeyAgreementKey2020": {
|
|
7
|
+
"@id": "https://w3id.org/security#X25519KeyAgreementKey2020",
|
|
8
|
+
"@context": {
|
|
9
|
+
"@protected": true,
|
|
10
|
+
"id": "@id",
|
|
11
|
+
"type": "@type",
|
|
12
|
+
"controller": {
|
|
13
|
+
"@id": "https://w3id.org/security#controller",
|
|
14
|
+
"@type": "@id"
|
|
15
|
+
},
|
|
16
|
+
"revoked": {
|
|
17
|
+
"@id": "https://w3id.org/security#revoked",
|
|
18
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
19
|
+
},
|
|
20
|
+
"publicKeyMultibase": {
|
|
21
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
22
|
+
"@type": "https://w3id.org/security#multibase"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -17,28 +17,55 @@
|
|
|
17
17
|
"cipherAlgorithm": "sec:cipherAlgorithm",
|
|
18
18
|
"cipherData": "sec:cipherData",
|
|
19
19
|
"cipherKey": "sec:cipherKey",
|
|
20
|
-
"created": {
|
|
21
|
-
|
|
20
|
+
"created": {
|
|
21
|
+
"@id": "dc:created",
|
|
22
|
+
"@type": "xsd:dateTime"
|
|
23
|
+
},
|
|
24
|
+
"creator": {
|
|
25
|
+
"@id": "dc:creator",
|
|
26
|
+
"@type": "@id"
|
|
27
|
+
},
|
|
22
28
|
"digestAlgorithm": "sec:digestAlgorithm",
|
|
23
29
|
"digestValue": "sec:digestValue",
|
|
24
30
|
"domain": "sec:domain",
|
|
25
31
|
"encryptionKey": "sec:encryptionKey",
|
|
26
|
-
"expiration": {
|
|
27
|
-
|
|
32
|
+
"expiration": {
|
|
33
|
+
"@id": "sec:expiration",
|
|
34
|
+
"@type": "xsd:dateTime"
|
|
35
|
+
},
|
|
36
|
+
"expires": {
|
|
37
|
+
"@id": "sec:expiration",
|
|
38
|
+
"@type": "xsd:dateTime"
|
|
39
|
+
},
|
|
28
40
|
"initializationVector": "sec:initializationVector",
|
|
29
41
|
"iterationCount": "sec:iterationCount",
|
|
30
42
|
"nonce": "sec:nonce",
|
|
31
43
|
"normalizationAlgorithm": "sec:normalizationAlgorithm",
|
|
32
|
-
"owner": {
|
|
44
|
+
"owner": {
|
|
45
|
+
"@id": "sec:owner",
|
|
46
|
+
"@type": "@id"
|
|
47
|
+
},
|
|
33
48
|
"password": "sec:password",
|
|
34
|
-
"privateKey": {
|
|
49
|
+
"privateKey": {
|
|
50
|
+
"@id": "sec:privateKey",
|
|
51
|
+
"@type": "@id"
|
|
52
|
+
},
|
|
35
53
|
"privateKeyPem": "sec:privateKeyPem",
|
|
36
|
-
"publicKey": {
|
|
54
|
+
"publicKey": {
|
|
55
|
+
"@id": "sec:publicKey",
|
|
56
|
+
"@type": "@id"
|
|
57
|
+
},
|
|
37
58
|
"publicKeyBase58": "sec:publicKeyBase58",
|
|
38
59
|
"publicKeyPem": "sec:publicKeyPem",
|
|
39
60
|
"publicKeyWif": "sec:publicKeyWif",
|
|
40
|
-
"publicKeyService": {
|
|
41
|
-
|
|
61
|
+
"publicKeyService": {
|
|
62
|
+
"@id": "sec:publicKeyService",
|
|
63
|
+
"@type": "@id"
|
|
64
|
+
},
|
|
65
|
+
"revoked": {
|
|
66
|
+
"@id": "sec:revoked",
|
|
67
|
+
"@type": "xsd:dateTime"
|
|
68
|
+
},
|
|
42
69
|
"salt": "sec:salt",
|
|
43
70
|
"signature": "sec:signature",
|
|
44
71
|
"signatureAlgorithm": "sec:signingAlgorithm",
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@context": [
|
|
2
|
+
"@context": [
|
|
3
|
+
{
|
|
3
4
|
"@version": 1.1
|
|
4
|
-
},
|
|
5
|
+
},
|
|
6
|
+
"https://w3id.org/security/v1",
|
|
7
|
+
{
|
|
5
8
|
"AesKeyWrappingKey2019": "sec:AesKeyWrappingKey2019",
|
|
6
9
|
"DeleteKeyOperation": "sec:DeleteKeyOperation",
|
|
7
10
|
"DeriveSecretOperation": "sec:DeriveSecretOperation",
|
|
@@ -25,34 +28,99 @@
|
|
|
25
28
|
"WrapKeyOperation": "sec:WrapKeyOperation",
|
|
26
29
|
"X25519KeyAgreementKey2019": "sec:X25519KeyAgreementKey2019",
|
|
27
30
|
"allowedAction": "sec:allowedAction",
|
|
28
|
-
"assertionMethod": {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
"assertionMethod": {
|
|
32
|
+
"@id": "sec:assertionMethod",
|
|
33
|
+
"@type": "@id",
|
|
34
|
+
"@container": "@set"
|
|
35
|
+
},
|
|
36
|
+
"authentication": {
|
|
37
|
+
"@id": "sec:authenticationMethod",
|
|
38
|
+
"@type": "@id",
|
|
39
|
+
"@container": "@set"
|
|
40
|
+
},
|
|
41
|
+
"capability": {
|
|
42
|
+
"@id": "sec:capability",
|
|
43
|
+
"@type": "@id"
|
|
44
|
+
},
|
|
31
45
|
"capabilityAction": "sec:capabilityAction",
|
|
32
|
-
"capabilityChain": {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
46
|
+
"capabilityChain": {
|
|
47
|
+
"@id": "sec:capabilityChain",
|
|
48
|
+
"@type": "@id",
|
|
49
|
+
"@container": "@list"
|
|
50
|
+
},
|
|
51
|
+
"capabilityDelegation": {
|
|
52
|
+
"@id": "sec:capabilityDelegationMethod",
|
|
53
|
+
"@type": "@id",
|
|
54
|
+
"@container": "@set"
|
|
55
|
+
},
|
|
56
|
+
"capabilityInvocation": {
|
|
57
|
+
"@id": "sec:capabilityInvocationMethod",
|
|
58
|
+
"@type": "@id",
|
|
59
|
+
"@container": "@set"
|
|
60
|
+
},
|
|
61
|
+
"caveat": {
|
|
62
|
+
"@id": "sec:caveat",
|
|
63
|
+
"@type": "@id",
|
|
64
|
+
"@container": "@set"
|
|
65
|
+
},
|
|
36
66
|
"challenge": "sec:challenge",
|
|
37
67
|
"ciphertext": "sec:ciphertext",
|
|
38
|
-
"controller": {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
68
|
+
"controller": {
|
|
69
|
+
"@id": "sec:controller",
|
|
70
|
+
"@type": "@id"
|
|
71
|
+
},
|
|
72
|
+
"delegator": {
|
|
73
|
+
"@id": "sec:delegator",
|
|
74
|
+
"@type": "@id"
|
|
75
|
+
},
|
|
76
|
+
"equihashParameterK": {
|
|
77
|
+
"@id": "sec:equihashParameterK",
|
|
78
|
+
"@type": "xsd:integer"
|
|
79
|
+
},
|
|
80
|
+
"equihashParameterN": {
|
|
81
|
+
"@id": "sec:equihashParameterN",
|
|
82
|
+
"@type": "xsd:integer"
|
|
83
|
+
},
|
|
84
|
+
"invocationTarget": {
|
|
85
|
+
"@id": "sec:invocationTarget",
|
|
86
|
+
"@type": "@id"
|
|
87
|
+
},
|
|
88
|
+
"invoker": {
|
|
89
|
+
"@id": "sec:invoker",
|
|
90
|
+
"@type": "@id"
|
|
91
|
+
},
|
|
44
92
|
"jws": "sec:jws",
|
|
45
|
-
"keyAgreement": {
|
|
46
|
-
|
|
47
|
-
|
|
93
|
+
"keyAgreement": {
|
|
94
|
+
"@id": "sec:keyAgreementMethod",
|
|
95
|
+
"@type": "@id",
|
|
96
|
+
"@container": "@set"
|
|
97
|
+
},
|
|
98
|
+
"kmsModule": {
|
|
99
|
+
"@id": "sec:kmsModule"
|
|
100
|
+
},
|
|
101
|
+
"parentCapability": {
|
|
102
|
+
"@id": "sec:parentCapability",
|
|
103
|
+
"@type": "@id"
|
|
104
|
+
},
|
|
48
105
|
"plaintext": "sec:plaintext",
|
|
49
|
-
"proof": {
|
|
50
|
-
|
|
106
|
+
"proof": {
|
|
107
|
+
"@id": "sec:proof",
|
|
108
|
+
"@type": "@id",
|
|
109
|
+
"@container": "@graph"
|
|
110
|
+
},
|
|
111
|
+
"proofPurpose": {
|
|
112
|
+
"@id": "sec:proofPurpose",
|
|
113
|
+
"@type": "@vocab"
|
|
114
|
+
},
|
|
51
115
|
"proofValue": "sec:proofValue",
|
|
52
116
|
"referenceId": "sec:referenceId",
|
|
53
117
|
"unwrappedKey": "sec:unwrappedKey",
|
|
54
|
-
"verificationMethod": {
|
|
118
|
+
"verificationMethod": {
|
|
119
|
+
"@id": "sec:verificationMethod",
|
|
120
|
+
"@type": "@id"
|
|
121
|
+
},
|
|
55
122
|
"verifyData": "sec:verifyData",
|
|
56
123
|
"wrappedKey": "sec:wrappedKey"
|
|
57
|
-
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
58
126
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@context": [
|
|
2
|
+
"@context": [
|
|
3
|
+
{
|
|
3
4
|
"@version": 1.1,
|
|
4
5
|
"id": "@id",
|
|
5
6
|
"type": "@type",
|
|
@@ -706,5 +707,6 @@
|
|
|
706
707
|
"@id": "https://w3id.org/security#x509CertificateFingerprint",
|
|
707
708
|
"@type": "https://w3id.org/security#multibase"
|
|
708
709
|
}
|
|
709
|
-
}
|
|
710
|
+
}
|
|
711
|
+
]
|
|
710
712
|
}
|