@veramo/credential-ld 3.1.5-next.116 → 3.1.5-next.120
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/did_v0.11.json +55 -0
- package/build/contexts/ed25519-signature-2018-v1.json +91 -0
- package/build/contexts/kyc-v1.json +8 -0
- package/build/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json +21 -0
- package/build/contexts/socialmedia-v1.json +7 -0
- package/build/contexts/transmute_v1.json +20 -0
- package/build/contexts/veramo.io_contexts_profile_v1.json +8 -0
- package/build/contexts/w3id.org_security_suites_ed25519-2018_v1.json +58 -0
- package/build/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json +87 -0
- package/build/contexts/w3id.org_security_suites_x25519-2019_v1.json +26 -0
- package/build/contexts/w3id.org_security_v1.json +47 -0
- package/build/contexts/w3id.org_security_v2.json +58 -0
- package/build/contexts/w3id.org_security_v3-unstable.json +710 -0
- package/build/contexts/www.w3.org_2018_credentials_v1.json +195 -0
- package/build/contexts/www.w3.org_ns_did_v1.json +57 -0
- package/build/ld-credential-module.d.ts.map +1 -1
- package/build/ld-credential-module.js +5 -9
- package/build/ld-credential-module.js.map +1 -1
- package/build/ld-suites.js +1 -1
- package/build/ld-suites.js.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +2 -2
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +9 -13
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
- package/package.json +11 -11
- package/src/__tests__/issue-verify-flow.test.ts +3 -1
- package/src/ld-credential-module.ts +5 -10
- package/src/ld-suites.ts +1 -1
- package/src/module-types/jsonld/index.d.ts +9 -0
- package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +12 -15
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"@version": 1.1,
|
|
4
|
+
"id": "@id",
|
|
5
|
+
"type": "@type",
|
|
6
|
+
"dc": "http://purl.org/dc/terms/",
|
|
7
|
+
"schema": "http://schema.org/",
|
|
8
|
+
"sec": "https://w3id.org/security#",
|
|
9
|
+
"didv": "https://w3id.org/did#",
|
|
10
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
11
|
+
"EcdsaSecp256k1Signature2019": "sec:EcdsaSecp256k1Signature2019",
|
|
12
|
+
"EcdsaSecp256k1VerificationKey2019": "sec:EcdsaSecp256k1VerificationKey2019",
|
|
13
|
+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
|
|
14
|
+
"Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
|
|
15
|
+
"RsaSignature2018": "sec:RsaSignature2018",
|
|
16
|
+
"RsaVerificationKey2018": "sec:RsaVerificationKey2018",
|
|
17
|
+
"SchnorrSecp256k1Signature2019": "sec:SchnorrSecp256k1Signature2019",
|
|
18
|
+
"SchnorrSecp256k1VerificationKey2019": "sec:SchnorrSecp256k1VerificationKey2019",
|
|
19
|
+
"ServiceEndpointProxyService": "didv:ServiceEndpointProxyService",
|
|
20
|
+
"allowedAction": "sec:allowedAction",
|
|
21
|
+
"assertionMethod": { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
|
|
22
|
+
"authentication": { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
|
|
23
|
+
"capability": { "@id": "sec:capability", "@type": "@id" },
|
|
24
|
+
"capabilityAction": "sec:capabilityAction",
|
|
25
|
+
"capabilityChain": { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
|
|
26
|
+
"capabilityDelegation": { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
|
|
27
|
+
"capabilityInvocation": { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
|
|
28
|
+
"capabilityStatusList": { "@id": "sec:capabilityStatusList", "@type": "@id" },
|
|
29
|
+
"canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
|
|
30
|
+
"caveat": { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
|
|
31
|
+
"challenge": "sec:challenge",
|
|
32
|
+
"controller": { "@id": "sec:controller", "@type": "@id" },
|
|
33
|
+
"created": { "@id": "dc:created", "@type": "xsd:dateTime" },
|
|
34
|
+
"creator": { "@id": "dc:creator", "@type": "@id" },
|
|
35
|
+
"delegator": { "@id": "sec:delegator", "@type": "@id" },
|
|
36
|
+
"domain": "sec:domain",
|
|
37
|
+
"expirationDate": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
|
|
38
|
+
"invocationTarget": { "@id": "sec:invocationTarget", "@type": "@id" },
|
|
39
|
+
"invoker": { "@id": "sec:invoker", "@type": "@id" },
|
|
40
|
+
"jws": "sec:jws",
|
|
41
|
+
"keyAgreement": { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
|
|
42
|
+
"nonce": "sec:nonce",
|
|
43
|
+
"owner": { "@id": "sec:owner", "@type": "@id" },
|
|
44
|
+
"proof": { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
|
|
45
|
+
"proofPurpose": { "@id": "sec:proofPurpose", "@type": "@vocab" },
|
|
46
|
+
"proofValue": "sec:proofValue",
|
|
47
|
+
"publicKey": { "@id": "sec:publicKey", "@type": "@id", "@container": "@set" },
|
|
48
|
+
"publicKeyBase58": "sec:publicKeyBase58",
|
|
49
|
+
"publicKeyPem": "sec:publicKeyPem",
|
|
50
|
+
"revoked": { "@id": "sec:revoked", "@type": "xsd:dateTime" },
|
|
51
|
+
"service": { "@id": "didv:service", "@type": "@id", "@container": "@set" },
|
|
52
|
+
"serviceEndpoint": { "@id": "didv:serviceEndpoint", "@type": "@id" },
|
|
53
|
+
"verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
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
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"@version": 1.1,
|
|
4
|
+
"id": "@id",
|
|
5
|
+
"type": "@type",
|
|
6
|
+
"esrs2020": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
|
|
7
|
+
"EcdsaSecp256k1RecoverySignature2020": "esrs2020:EcdsaSecp256k1RecoverySignature2020",
|
|
8
|
+
"EcdsaSecp256k1RecoveryMethod2020": "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
|
|
9
|
+
"publicKeyJwk": {
|
|
10
|
+
"@id": "esrs2020:publicKeyJwk",
|
|
11
|
+
"@type": "@json"
|
|
12
|
+
},
|
|
13
|
+
"privateKeyJwk": {
|
|
14
|
+
"@id": "esrs2020:privateKeyJwk",
|
|
15
|
+
"@type": "@json"
|
|
16
|
+
},
|
|
17
|
+
"publicKeyHex": "esrs2020:publicKeyHex",
|
|
18
|
+
"privateKeyHex": "esrs2020:privateKeyHex",
|
|
19
|
+
"ethereumAddress": "esrs2020:ethereumAddress"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": [
|
|
3
|
+
{
|
|
4
|
+
"@version": 1.1
|
|
5
|
+
},
|
|
6
|
+
"https://www.w3.org/ns/did/v1",
|
|
7
|
+
{
|
|
8
|
+
"JsonWebKey2020": "https://w3id.org/security#JsonWebKey2020",
|
|
9
|
+
"Ed25519VerificationKey2018": "https://w3id.org/security#Ed25519VerificationKey2018",
|
|
10
|
+
"X25519KeyAgreementKey2019": "https://w3id.org/security#X25519KeyAgreementKey2019",
|
|
11
|
+
"publicKeyJwk": {
|
|
12
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
13
|
+
"@type": "@json"
|
|
14
|
+
},
|
|
15
|
+
"publicKeyBase58": {
|
|
16
|
+
"@id": "https://w3id.org/security#publicKeyBase58"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
"allowedAction": "sec:allowedAction",
|
|
28
|
+
"assertionMethod": { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
|
|
29
|
+
"authentication": { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
|
|
30
|
+
"capability": { "@id": "sec:capability", "@type": "@id" },
|
|
31
|
+
"capabilityAction": "sec:capabilityAction",
|
|
32
|
+
"capabilityChain": { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
|
|
33
|
+
"capabilityDelegation": { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
|
|
34
|
+
"capabilityInvocation": { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
|
|
35
|
+
"caveat": { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
|
|
36
|
+
"challenge": "sec:challenge",
|
|
37
|
+
"ciphertext": "sec:ciphertext",
|
|
38
|
+
"controller": { "@id": "sec:controller", "@type": "@id" },
|
|
39
|
+
"delegator": { "@id": "sec:delegator", "@type": "@id" },
|
|
40
|
+
"equihashParameterK": { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
|
|
41
|
+
"equihashParameterN": { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
|
|
42
|
+
"invocationTarget": { "@id": "sec:invocationTarget", "@type": "@id" },
|
|
43
|
+
"invoker": { "@id": "sec:invoker", "@type": "@id" },
|
|
44
|
+
"jws": "sec:jws",
|
|
45
|
+
"keyAgreement": { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
|
|
46
|
+
"kmsModule": { "@id": "sec:kmsModule" },
|
|
47
|
+
"parentCapability": { "@id": "sec:parentCapability", "@type": "@id" },
|
|
48
|
+
"plaintext": "sec:plaintext",
|
|
49
|
+
"proof": { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
|
|
50
|
+
"proofPurpose": { "@id": "sec:proofPurpose", "@type": "@vocab" },
|
|
51
|
+
"proofValue": "sec:proofValue",
|
|
52
|
+
"referenceId": "sec:referenceId",
|
|
53
|
+
"unwrappedKey": "sec:unwrappedKey",
|
|
54
|
+
"verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" },
|
|
55
|
+
"verifyData": "sec:verifyData",
|
|
56
|
+
"wrappedKey": "sec:wrappedKey"
|
|
57
|
+
}]
|
|
58
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
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
|
+
"EcdsaSecp256k1RecoveryMethod2020": {
|
|
12
|
+
"@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoveryMethod2020",
|
|
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
|
+
"blockchainAccountId": "https://w3id.org/security#blockchainAccountId",
|
|
22
|
+
"publicKeyJwk": {
|
|
23
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
24
|
+
"@type": "@json"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"EcdsaSecp256k1RecoverySignature2020": {
|
|
29
|
+
"@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoverySignature2020",
|
|
30
|
+
"@context": {
|
|
31
|
+
"@protected": true,
|
|
32
|
+
"id": "@id",
|
|
33
|
+
"type": "@type",
|
|
34
|
+
"challenge": "https://w3id.org/security#challenge",
|
|
35
|
+
"created": {
|
|
36
|
+
"@id": "http://purl.org/dc/terms/created",
|
|
37
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
38
|
+
},
|
|
39
|
+
"domain": "https://w3id.org/security#domain",
|
|
40
|
+
"expires": {
|
|
41
|
+
"@id": "https://w3id.org/security#expiration",
|
|
42
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
43
|
+
},
|
|
44
|
+
"jws": "https://w3id.org/security#jws",
|
|
45
|
+
"nonce": "https://w3id.org/security#nonce",
|
|
46
|
+
"proofPurpose": {
|
|
47
|
+
"@id": "https://w3id.org/security#proofPurpose",
|
|
48
|
+
"@type": "@vocab",
|
|
49
|
+
"@context": {
|
|
50
|
+
"@protected": true,
|
|
51
|
+
"id": "@id",
|
|
52
|
+
"type": "@type",
|
|
53
|
+
"assertionMethod": {
|
|
54
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
55
|
+
"@type": "@id",
|
|
56
|
+
"@container": "@set"
|
|
57
|
+
},
|
|
58
|
+
"authentication": {
|
|
59
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
60
|
+
"@type": "@id",
|
|
61
|
+
"@container": "@set"
|
|
62
|
+
},
|
|
63
|
+
"capabilityInvocation": {
|
|
64
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
65
|
+
"@type": "@id",
|
|
66
|
+
"@container": "@set"
|
|
67
|
+
},
|
|
68
|
+
"capabilityDelegation": {
|
|
69
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
70
|
+
"@type": "@id",
|
|
71
|
+
"@container": "@set"
|
|
72
|
+
},
|
|
73
|
+
"keyAgreement": {
|
|
74
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
75
|
+
"@type": "@id",
|
|
76
|
+
"@container": "@set"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"verificationMethod": {
|
|
81
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
82
|
+
"@type": "@id"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"id": "@id",
|
|
4
|
+
"type": "@type",
|
|
5
|
+
"@protected": true,
|
|
6
|
+
"X25519KeyAgreementKey2019": {
|
|
7
|
+
"@id": "https://w3id.org/security#X25519KeyAgreementKey2019",
|
|
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
|
+
"publicKeyBase58": {
|
|
21
|
+
"@id": "https://w3id.org/security#publicKeyBase58"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"id": "@id",
|
|
4
|
+
"type": "@type",
|
|
5
|
+
"dc": "http://purl.org/dc/terms/",
|
|
6
|
+
"sec": "https://w3id.org/security#",
|
|
7
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
8
|
+
"EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
|
|
9
|
+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
|
|
10
|
+
"EncryptedMessage": "sec:EncryptedMessage",
|
|
11
|
+
"GraphSignature2012": "sec:GraphSignature2012",
|
|
12
|
+
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
|
|
13
|
+
"LinkedDataSignature2016": "sec:LinkedDataSignature2016",
|
|
14
|
+
"CryptographicKey": "sec:Key",
|
|
15
|
+
"authenticationTag": "sec:authenticationTag",
|
|
16
|
+
"canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
|
|
17
|
+
"cipherAlgorithm": "sec:cipherAlgorithm",
|
|
18
|
+
"cipherData": "sec:cipherData",
|
|
19
|
+
"cipherKey": "sec:cipherKey",
|
|
20
|
+
"created": { "@id": "dc:created", "@type": "xsd:dateTime" },
|
|
21
|
+
"creator": { "@id": "dc:creator", "@type": "@id" },
|
|
22
|
+
"digestAlgorithm": "sec:digestAlgorithm",
|
|
23
|
+
"digestValue": "sec:digestValue",
|
|
24
|
+
"domain": "sec:domain",
|
|
25
|
+
"encryptionKey": "sec:encryptionKey",
|
|
26
|
+
"expiration": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
|
|
27
|
+
"expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
|
|
28
|
+
"initializationVector": "sec:initializationVector",
|
|
29
|
+
"iterationCount": "sec:iterationCount",
|
|
30
|
+
"nonce": "sec:nonce",
|
|
31
|
+
"normalizationAlgorithm": "sec:normalizationAlgorithm",
|
|
32
|
+
"owner": { "@id": "sec:owner", "@type": "@id" },
|
|
33
|
+
"password": "sec:password",
|
|
34
|
+
"privateKey": { "@id": "sec:privateKey", "@type": "@id" },
|
|
35
|
+
"privateKeyPem": "sec:privateKeyPem",
|
|
36
|
+
"publicKey": { "@id": "sec:publicKey", "@type": "@id" },
|
|
37
|
+
"publicKeyBase58": "sec:publicKeyBase58",
|
|
38
|
+
"publicKeyPem": "sec:publicKeyPem",
|
|
39
|
+
"publicKeyWif": "sec:publicKeyWif",
|
|
40
|
+
"publicKeyService": { "@id": "sec:publicKeyService", "@type": "@id" },
|
|
41
|
+
"revoked": { "@id": "sec:revoked", "@type": "xsd:dateTime" },
|
|
42
|
+
"salt": "sec:salt",
|
|
43
|
+
"signature": "sec:signature",
|
|
44
|
+
"signatureAlgorithm": "sec:signingAlgorithm",
|
|
45
|
+
"signatureValue": "sec:signatureValue"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
"allowedAction": "sec:allowedAction",
|
|
28
|
+
"assertionMethod": { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
|
|
29
|
+
"authentication": { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
|
|
30
|
+
"capability": { "@id": "sec:capability", "@type": "@id" },
|
|
31
|
+
"capabilityAction": "sec:capabilityAction",
|
|
32
|
+
"capabilityChain": { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
|
|
33
|
+
"capabilityDelegation": { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
|
|
34
|
+
"capabilityInvocation": { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
|
|
35
|
+
"caveat": { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
|
|
36
|
+
"challenge": "sec:challenge",
|
|
37
|
+
"ciphertext": "sec:ciphertext",
|
|
38
|
+
"controller": { "@id": "sec:controller", "@type": "@id" },
|
|
39
|
+
"delegator": { "@id": "sec:delegator", "@type": "@id" },
|
|
40
|
+
"equihashParameterK": { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
|
|
41
|
+
"equihashParameterN": { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
|
|
42
|
+
"invocationTarget": { "@id": "sec:invocationTarget", "@type": "@id" },
|
|
43
|
+
"invoker": { "@id": "sec:invoker", "@type": "@id" },
|
|
44
|
+
"jws": "sec:jws",
|
|
45
|
+
"keyAgreement": { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
|
|
46
|
+
"kmsModule": { "@id": "sec:kmsModule" },
|
|
47
|
+
"parentCapability": { "@id": "sec:parentCapability", "@type": "@id" },
|
|
48
|
+
"plaintext": "sec:plaintext",
|
|
49
|
+
"proof": { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
|
|
50
|
+
"proofPurpose": { "@id": "sec:proofPurpose", "@type": "@vocab" },
|
|
51
|
+
"proofValue": "sec:proofValue",
|
|
52
|
+
"referenceId": "sec:referenceId",
|
|
53
|
+
"unwrappedKey": "sec:unwrappedKey",
|
|
54
|
+
"verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" },
|
|
55
|
+
"verifyData": "sec:verifyData",
|
|
56
|
+
"wrappedKey": "sec:wrappedKey"
|
|
57
|
+
}]
|
|
58
|
+
}
|