Skip to content

Commit 083b155

Browse files
committed
fix: Fix JSON-LD context files.
Signed-off-by: Markus Sabadello <[email protected]>
1 parent 48578d1 commit 083b155

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

src/main/resources/info/weboftrust/ldsignatures/security-v1-custom.jsonld renamed to src/main/resources/info/weboftrust/ldsignatures/security-v1-CUSTOM.jsonld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
3131
"initializationVector": "sec:initializationVector",
3232
"iterationCount": "sec:iterationCount",
33+
"jws": "sec:jws",
3334
"nonce": "sec:nonce",
3435
"normalizationAlgorithm": "sec:normalizationAlgorithm",
3536
"owner": {"@id": "sec:owner", "@type": "@id"},
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"@context": {
3+
"id": "@id",
4+
"type": "@type",
5+
6+
"dc": "http://purl.org/dc/terms/",
7+
"sec": "https://w3id.org/security#",
8+
"xsd": "http://www.w3.org/2001/XMLSchema#",
9+
10+
"EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
11+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
12+
"EncryptedMessage": "sec:EncryptedMessage",
13+
"GraphSignature2012": "sec:GraphSignature2012",
14+
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
15+
"LinkedDataSignature2016": "sec:LinkedDataSignature2016",
16+
"CryptographicKey": "sec:Key",
17+
18+
"authenticationTag": "sec:authenticationTag",
19+
"canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
20+
"cipherAlgorithm": "sec:cipherAlgorithm",
21+
"cipherData": "sec:cipherData",
22+
"cipherKey": "sec:cipherKey",
23+
"created": {"@id": "dc:created", "@type": "xsd:dateTime"},
24+
"creator": {"@id": "dc:creator", "@type": "@id"},
25+
"digestAlgorithm": "sec:digestAlgorithm",
26+
"digestValue": "sec:digestValue",
27+
"domain": "sec:domain",
28+
"encryptionKey": "sec:encryptionKey",
29+
"expiration": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
30+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
31+
"initializationVector": "sec:initializationVector",
32+
"iterationCount": "sec:iterationCount",
33+
"jws": "sec:jws",
34+
"nonce": "sec:nonce",
35+
"normalizationAlgorithm": "sec:normalizationAlgorithm",
36+
"owner": {"@id": "sec:owner", "@type": "@id"},
37+
"password": "sec:password",
38+
"privateKey": {"@id": "sec:privateKey", "@type": "@id"},
39+
"privateKeyPem": "sec:privateKeyPem",
40+
"proof": "sec:proof",
41+
"publicKey": {"@id": "sec:publicKey", "@type": "@id"},
42+
"publicKeyBase58": "sec:publicKeyBase58",
43+
"publicKeyPem": "sec:publicKeyPem",
44+
"publicKeyWif": "sec:publicKeyWif",
45+
"publicKeyService": {"@id": "sec:publicKeyService", "@type": "@id"},
46+
"revoked": {"@id": "sec:revoked", "@type": "xsd:dateTime"},
47+
"salt": "sec:salt",
48+
"signature": "sec:signature",
49+
"signatureAlgorithm": "sec:signingAlgorithm",
50+
"signatureValue": "sec:signatureValue",
51+
52+
"AesKeyWrappingKey2019": "sec:AesKeyWrappingKey2019",
53+
"DeleteKeyOperation": "sec:DeleteKeyOperation",
54+
"DeriveSecretOperation": "sec:DeriveSecretOperation",
55+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
56+
"Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
57+
"EquihashProof2018": "sec:EquihashProof2018",
58+
"ExportKeyOperation": "sec:ExportKeyOperation",
59+
"GenerateKeyOperation": "sec:GenerateKeyOperation",
60+
"KmsOperation": "sec:KmsOperation",
61+
"RevokeKeyOperation": "sec:RevokeKeyOperation",
62+
"RsaSignature2018": "sec:RsaSignature2018",
63+
"RsaVerificationKey2018": "sec:RsaVerificationKey2018",
64+
"Sha256HmacKey2019": "sec:Sha256HmacKey2019",
65+
"SignOperation": "sec:SignOperation",
66+
"UnwrapKeyOperation": "sec:UnwrapKeyOperation",
67+
"VerifyOperation": "sec:VerifyOperation",
68+
"WrapKeyOperation": "sec:WrapKeyOperation",
69+
"X25519KeyAgreementKey2019": "sec:X25519KeyAgreementKey2019",
70+
71+
"allowedAction": "sec:allowedAction",
72+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
73+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"},
74+
"capability": {"@id": "sec:capability", "@type": "@id"},
75+
"capabilityAction": "sec:capabilityAction",
76+
"capabilityChain": {"@id": "sec:capabilityChain", "@type": "@id", "@container": "@list"},
77+
"capabilityDelegation": {"@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set"},
78+
"capabilityInvocation": {"@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set"},
79+
"caveat": {"@id": "sec:caveat", "@type": "@id", "@container": "@set"},
80+
"challenge": "sec:challenge",
81+
"ciphertext": "sec:ciphertext",
82+
"controller": {"@id": "sec:controller", "@type": "@id"},
83+
"delegator": {"@id": "sec:delegator", "@type": "@id"},
84+
"equihashParameterK": {"@id": "sec:equihashParameterK", "@type": "xsd:integer"},
85+
"equihashParameterN": {"@id": "sec:equihashParameterN", "@type": "xsd:integer"},
86+
"invocationTarget": {"@id": "sec:invocationTarget", "@type": "@id"},
87+
"invoker": {"@id": "sec:invoker", "@type": "@id"},
88+
"jws": "sec:jws",
89+
"keyAgreement": {"@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set"},
90+
"kmsModule": {"@id": "sec:kmsModule"},
91+
"parentCapability": {"@id": "sec:parentCapability", "@type": "@id"},
92+
"plaintext": "sec:plaintext",
93+
"proof": {"@id": "sec:proof", "@type": "@id"},
94+
"proofPurpose": {"@id": "sec:proofPurpose", "@type": "@vocab"},
95+
"proofValue": "sec:proofValue",
96+
"referenceId": "sec:referenceId",
97+
"unwrappedKey": "sec:unwrappedKey",
98+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"},
99+
"verifyData": "sec:verifyData",
100+
"wrappedKey": "sec:wrappedKey"
101+
}
102+
}

src/main/resources/info/weboftrust/ldsignatures/security-v2.jsonld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
}, "https://w3id.org/security/v1", {
55
"AesKeyWrappingKey2019": "sec:AesKeyWrappingKey2019",
66
"DeleteKeyOperation": "sec:DeleteKeyOperation",
7+
"DeriveSecretOperation": "sec:DeriveSecretOperation",
78
"Ed25519Signature2018": "sec:Ed25519Signature2018",
89
"Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
910
"EquihashProof2018": "sec:EquihashProof2018",

0 commit comments

Comments
 (0)