@veramo/credential-ld 5.1.5-next.11 → 5.1.5-next.13

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.
Files changed (71) hide show
  1. package/build/contexts/schema.org.json +8612 -0
  2. package/build/contexts/w3id.org_security_bbs_v1.json +128 -0
  3. package/build/contexts/w3id.org_security_suites_ed25519-2018_v1.json +89 -56
  4. package/build/contexts/{ed25519-signature-2018-v1.json → w3id.org_security_suites_ed25519-2020-v1.json} +10 -8
  5. package/build/contexts/{json-web-signature-2020-v1.json → w3id.org_security_suites_jws-2020_v1.json} +15 -8
  6. package/build/contexts/w3id.org_security_suites_x25519-2020_v1.json +27 -0
  7. package/build/contexts/w3id.org_security_v1.json +36 -9
  8. package/build/contexts/w3id.org_security_v2.json +90 -22
  9. package/build/contexts/w3id.org_security_v3-unstable.json +4 -2
  10. package/build/contexts/www.w3.org_2018_credentials_examples_v1.json +69 -0
  11. package/build/contexts/www.w3.org_2018_credentials_v1.json +156 -36
  12. package/build/ld-credential-module.d.ts.map +1 -1
  13. package/build/ld-credential-module.js +5 -2
  14. package/build/ld-credential-module.js.map +1 -1
  15. package/build/ld-default-contexts.d.ts.map +1 -1
  16. package/build/ld-default-contexts.js +18 -9
  17. package/build/ld-default-contexts.js.map +1 -1
  18. package/build/ld-suites.d.ts +2 -2
  19. package/build/ld-suites.d.ts.map +1 -1
  20. package/build/ld-suites.js.map +1 -1
  21. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +1 -1
  22. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
  23. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +3 -2
  24. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
  25. package/build/suites/Ed25519Signature2018.d.ts +1 -1
  26. package/build/suites/Ed25519Signature2018.d.ts.map +1 -1
  27. package/build/suites/Ed25519Signature2018.js +2 -1
  28. package/build/suites/Ed25519Signature2018.js.map +1 -1
  29. package/build/suites/Ed25519Signature2020.d.ts +3 -5
  30. package/build/suites/Ed25519Signature2020.d.ts.map +1 -1
  31. package/build/suites/Ed25519Signature2020.js +50 -9
  32. package/build/suites/Ed25519Signature2020.js.map +1 -1
  33. package/build/suites/JsonWebSignature2020.d.ts +1 -1
  34. package/build/suites/JsonWebSignature2020.d.ts.map +1 -1
  35. package/build/suites/JsonWebSignature2020.js +2 -1
  36. package/build/suites/JsonWebSignature2020.js.map +1 -1
  37. package/package.json +4 -4
  38. package/src/__tests__/issue-verify-ed25519-2020.test.ts +143 -0
  39. package/src/contexts/schema.org.json +8612 -0
  40. package/src/contexts/veramo.io_contexts_profile_v1.json +4 -4
  41. package/src/contexts/w3id.org_security_bbs_v1.json +128 -0
  42. package/src/contexts/w3id.org_security_suites_ed25519-2018_v1.json +89 -57
  43. package/src/contexts/{ed25519-signature-2018-v1.json → w3id.org_security_suites_ed25519-2020-v1.json} +10 -8
  44. package/src/contexts/w3id.org_security_suites_jws-2020_v1.json +78 -0
  45. package/src/contexts/w3id.org_security_suites_x25519-2020_v1.json +27 -0
  46. package/src/contexts/w3id.org_security_v1.json +36 -12
  47. package/src/contexts/w3id.org_security_v2.json +124 -57
  48. package/src/contexts/w3id.org_security_v3-unstable.json +684 -692
  49. package/src/contexts/www.w3.org_2018_credentials_examples_v1.json +69 -0
  50. package/src/contexts/www.w3.org_2018_credentials_v1.json +157 -79
  51. package/src/contexts/www.w3.org_ns_did_v1.json +0 -1
  52. package/src/ld-credential-module.ts +19 -5
  53. package/src/ld-default-contexts.ts +19 -10
  54. package/src/ld-suites.ts +2 -1
  55. package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +4 -5
  56. package/src/suites/Ed25519Signature2018.ts +2 -1
  57. package/src/suites/Ed25519Signature2020.ts +72 -11
  58. package/src/suites/JsonWebSignature2020.ts +2 -1
  59. package/build/contexts/did_v0.11.json +0 -61
  60. package/build/contexts/ed25519-signature-2020-v1.json +0 -77
  61. package/build/contexts/kyc-v1.json +0 -8
  62. package/build/contexts/socialmedia-v1.json +0 -7
  63. package/build/contexts/transmute_v1.json +0 -20
  64. package/src/contexts/did_v0.11.json +0 -64
  65. package/src/contexts/ed25519-signature-2020-v1.json +0 -77
  66. package/src/contexts/json-web-signature-2020-v1.json +0 -71
  67. package/src/contexts/kyc-v1.json +0 -8
  68. package/src/contexts/socialmedia-v1.json +0 -7
  69. package/src/contexts/transmute_v1.json +0 -21
  70. /package/build/contexts/{eip712.json → w3id.org_security_suites_eip712sig-2021_v1.json} +0 -0
  71. /package/src/contexts/{eip712.json → w3id.org_security_suites_eip712sig-2021_v1.json} +0 -0
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "@context": {
3
- "@version": 1.1,
4
- "@protected": true,
5
- "Profile": "https://veramo.io/contexts/profile#Profile",
6
- "name": "https://schema.org/name"
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "Profile": "https://veramo.io/contexts/profile#Profile",
6
+ "name": "https://schema.org/name"
7
7
  }
8
8
  }
@@ -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,59 +1,91 @@
1
1
  {
2
- "@context": [{
3
- "@version": 1.1
4
- }, "https://w3id.org/security/v1", {
5
- "AesKeyWrappingKey2019": "sec:AesKeyWrappingKey2019",
6
- "DeleteKeyOperation": "sec:DeleteKeyOperation",
7
- "DeriveSecretOperation": "sec:DeriveSecretOperation",
8
- "EcdsaSecp256k1Signature2019": "sec:EcdsaSecp256k1Signature2019",
9
- "EcdsaSecp256r1Signature2019": "sec:EcdsaSecp256r1Signature2019",
10
- "EcdsaSecp256k1VerificationKey2019": "sec:EcdsaSecp256k1VerificationKey2019",
11
- "EcdsaSecp256r1VerificationKey2019": "sec:EcdsaSecp256r1VerificationKey2019",
12
- "Ed25519Signature2018": "sec:Ed25519Signature2018",
13
- "Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
14
- "EquihashProof2018": "sec:EquihashProof2018",
15
- "ExportKeyOperation": "sec:ExportKeyOperation",
16
- "GenerateKeyOperation": "sec:GenerateKeyOperation",
17
- "KmsOperation": "sec:KmsOperation",
18
- "RevokeKeyOperation": "sec:RevokeKeyOperation",
19
- "RsaSignature2018": "sec:RsaSignature2018",
20
- "RsaVerificationKey2018": "sec:RsaVerificationKey2018",
21
- "Sha256HmacKey2019": "sec:Sha256HmacKey2019",
22
- "SignOperation": "sec:SignOperation",
23
- "UnwrapKeyOperation": "sec:UnwrapKeyOperation",
24
- "VerifyOperation": "sec:VerifyOperation",
25
- "WrapKeyOperation": "sec:WrapKeyOperation",
26
- "X25519KeyAgreementKey2019": "sec:X25519KeyAgreementKey2019",
27
-
28
- "allowedAction": "sec:allowedAction",
29
- "assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
30
- "authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"},
31
- "capability": {"@id": "sec:capability", "@type": "@id"},
32
- "capabilityAction": "sec:capabilityAction",
33
- "capabilityChain": {"@id": "sec:capabilityChain", "@type": "@id", "@container": "@list"},
34
- "capabilityDelegation": {"@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set"},
35
- "capabilityInvocation": {"@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set"},
36
- "caveat": {"@id": "sec:caveat", "@type": "@id", "@container": "@set"},
37
- "challenge": "sec:challenge",
38
- "ciphertext": "sec:ciphertext",
39
- "controller": {"@id": "sec:controller", "@type": "@id"},
40
- "delegator": {"@id": "sec:delegator", "@type": "@id"},
41
- "equihashParameterK": {"@id": "sec:equihashParameterK", "@type": "xsd:integer"},
42
- "equihashParameterN": {"@id": "sec:equihashParameterN", "@type": "xsd:integer"},
43
- "invocationTarget": {"@id": "sec:invocationTarget", "@type": "@id"},
44
- "invoker": {"@id": "sec:invoker", "@type": "@id"},
45
- "jws": "sec:jws",
46
- "keyAgreement": {"@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set"},
47
- "kmsModule": {"@id": "sec:kmsModule"},
48
- "parentCapability": {"@id": "sec:parentCapability", "@type": "@id"},
49
- "plaintext": "sec:plaintext",
50
- "proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
51
- "proofPurpose": {"@id": "sec:proofPurpose", "@type": "@vocab"},
52
- "proofValue": "sec:proofValue",
53
- "referenceId": "sec:referenceId",
54
- "unwrappedKey": "sec:unwrappedKey",
55
- "verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"},
56
- "verifyData": "sec:verifyData",
57
- "wrappedKey": "sec:wrappedKey"
58
- }]
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
+ }
59
91
  }
@@ -8,8 +8,8 @@
8
8
  "@type": "@id",
9
9
  "@container": "@graph"
10
10
  },
11
- "Ed25519VerificationKey2018": {
12
- "@id": "https://w3id.org/security#Ed25519VerificationKey2018",
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
- "publicKeyBase58": {
26
- "@id": "https://w3id.org/security#publicKeyBase58"
25
+ "publicKeyMultibase": {
26
+ "@id": "https://w3id.org/security#publicKeyMultibase",
27
+ "@type": "https://w3id.org/security#multibase"
27
28
  }
28
29
  }
29
30
  },
30
- "Ed25519Signature2018": {
31
- "@id": "https://w3id.org/security#Ed25519Signature2018",
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
- "jws": {
82
- "@id": "https://w3id.org/security#jws"
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",
@@ -0,0 +1,78 @@
1
+ {
2
+ "@context": {
3
+ "privateKeyJwk": {
4
+ "@id": "https://w3id.org/security#privateKeyJwk",
5
+ "@type": "@json"
6
+ },
7
+ "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
+ }
18
+ },
19
+ "JsonWebSignature2020": {
20
+ "@id": "https://w3id.org/security#JsonWebSignature2020",
21
+ "@context": {
22
+ "@protected": true,
23
+ "id": "@id",
24
+ "type": "@type",
25
+ "challenge": "https://w3id.org/security#challenge",
26
+ "created": {
27
+ "@id": "http://purl.org/dc/terms/created",
28
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
29
+ },
30
+ "domain": "https://w3id.org/security#domain",
31
+ "expires": {
32
+ "@id": "https://w3id.org/security#expiration",
33
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
34
+ },
35
+ "jws": "https://w3id.org/security#jws",
36
+ "nonce": "https://w3id.org/security#nonce",
37
+ "proofPurpose": {
38
+ "@id": "https://w3id.org/security#proofPurpose",
39
+ "@type": "@vocab",
40
+ "@context": {
41
+ "@protected": true,
42
+ "id": "@id",
43
+ "type": "@type",
44
+ "assertionMethod": {
45
+ "@id": "https://w3id.org/security#assertionMethod",
46
+ "@type": "@id",
47
+ "@container": "@set"
48
+ },
49
+ "authentication": {
50
+ "@id": "https://w3id.org/security#authenticationMethod",
51
+ "@type": "@id",
52
+ "@container": "@set"
53
+ },
54
+ "capabilityInvocation": {
55
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
56
+ "@type": "@id",
57
+ "@container": "@set"
58
+ },
59
+ "capabilityDelegation": {
60
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
61
+ "@type": "@id",
62
+ "@container": "@set"
63
+ },
64
+ "keyAgreement": {
65
+ "@id": "https://w3id.org/security#keyAgreementMethod",
66
+ "@type": "@id",
67
+ "@container": "@set"
68
+ }
69
+ }
70
+ },
71
+ "verificationMethod": {
72
+ "@id": "https://w3id.org/security#verificationMethod",
73
+ "@type": "@id"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
@@ -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
+ }
@@ -2,11 +2,9 @@
2
2
  "@context": {
3
3
  "id": "@id",
4
4
  "type": "@type",
5
-
6
5
  "dc": "http://purl.org/dc/terms/",
7
6
  "sec": "https://w3id.org/security#",
8
7
  "xsd": "http://www.w3.org/2001/XMLSchema#",
9
-
10
8
  "EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
11
9
  "Ed25519Signature2018": "sec:Ed25519Signature2018",
12
10
  "EncryptedMessage": "sec:EncryptedMessage",
@@ -14,34 +12,60 @@
14
12
  "LinkedDataSignature2015": "sec:LinkedDataSignature2015",
15
13
  "LinkedDataSignature2016": "sec:LinkedDataSignature2016",
16
14
  "CryptographicKey": "sec:Key",
17
-
18
15
  "authenticationTag": "sec:authenticationTag",
19
16
  "canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
20
17
  "cipherAlgorithm": "sec:cipherAlgorithm",
21
18
  "cipherData": "sec:cipherData",
22
19
  "cipherKey": "sec:cipherKey",
23
- "created": {"@id": "dc:created", "@type": "xsd:dateTime"},
24
- "creator": {"@id": "dc:creator", "@type": "@id"},
20
+ "created": {
21
+ "@id": "dc:created",
22
+ "@type": "xsd:dateTime"
23
+ },
24
+ "creator": {
25
+ "@id": "dc:creator",
26
+ "@type": "@id"
27
+ },
25
28
  "digestAlgorithm": "sec:digestAlgorithm",
26
29
  "digestValue": "sec:digestValue",
27
30
  "domain": "sec:domain",
28
31
  "encryptionKey": "sec:encryptionKey",
29
- "expiration": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
30
- "expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
32
+ "expiration": {
33
+ "@id": "sec:expiration",
34
+ "@type": "xsd:dateTime"
35
+ },
36
+ "expires": {
37
+ "@id": "sec:expiration",
38
+ "@type": "xsd:dateTime"
39
+ },
31
40
  "initializationVector": "sec:initializationVector",
32
41
  "iterationCount": "sec:iterationCount",
33
42
  "nonce": "sec:nonce",
34
43
  "normalizationAlgorithm": "sec:normalizationAlgorithm",
35
- "owner": {"@id": "sec:owner", "@type": "@id"},
44
+ "owner": {
45
+ "@id": "sec:owner",
46
+ "@type": "@id"
47
+ },
36
48
  "password": "sec:password",
37
- "privateKey": {"@id": "sec:privateKey", "@type": "@id"},
49
+ "privateKey": {
50
+ "@id": "sec:privateKey",
51
+ "@type": "@id"
52
+ },
38
53
  "privateKeyPem": "sec:privateKeyPem",
39
- "publicKey": {"@id": "sec:publicKey", "@type": "@id"},
54
+ "publicKey": {
55
+ "@id": "sec:publicKey",
56
+ "@type": "@id"
57
+ },
40
58
  "publicKeyBase58": "sec:publicKeyBase58",
41
59
  "publicKeyPem": "sec:publicKeyPem",
42
60
  "publicKeyWif": "sec:publicKeyWif",
43
- "publicKeyService": {"@id": "sec:publicKeyService", "@type": "@id"},
44
- "revoked": {"@id": "sec:revoked", "@type": "xsd:dateTime"},
61
+ "publicKeyService": {
62
+ "@id": "sec:publicKeyService",
63
+ "@type": "@id"
64
+ },
65
+ "revoked": {
66
+ "@id": "sec:revoked",
67
+ "@type": "xsd:dateTime"
68
+ },
45
69
  "salt": "sec:salt",
46
70
  "signature": "sec:signature",
47
71
  "signatureAlgorithm": "sec:signingAlgorithm",