@veramo/credential-ld 4.2.1-next.6 → 4.2.1-unstable.9
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/action-handler.d.ts +389 -3
- package/build/action-handler.d.ts.map +1 -1
- package/build/action-handler.js +118 -136
- package/build/action-handler.js.map +1 -1
- package/build/index.d.ts +8 -16
- package/build/index.d.ts.map +1 -1
- package/build/index.js +8 -36
- package/build/index.js.map +1 -1
- package/build/ld-context-loader.d.ts +1 -1
- package/build/ld-context-loader.d.ts.map +1 -1
- package/build/ld-context-loader.js +6 -20
- package/build/ld-context-loader.js.map +1 -1
- package/build/ld-credential-module.d.ts +3 -3
- package/build/ld-credential-module.d.ts.map +1 -1
- package/build/ld-credential-module.js +72 -85
- package/build/ld-credential-module.js.map +1 -1
- package/build/ld-default-contexts.d.ts +315 -1
- package/build/ld-default-contexts.d.ts.map +1 -1
- package/build/ld-default-contexts.js +28 -17
- package/build/ld-default-contexts.js.map +1 -1
- package/build/ld-suite-loader.d.ts +1 -1
- package/build/ld-suite-loader.d.ts.map +1 -1
- package/build/ld-suite-loader.js +4 -9
- package/build/ld-suite-loader.js.map +1 -1
- package/build/ld-suites.js +2 -7
- package/build/ld-suites.js.map +1 -1
- package/build/plugin.schema.json +430 -0
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +16 -52
- 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 +12 -48
- package/build/suites/Ed25519Signature2018.js.map +1 -1
- package/build/suites/Ed25519Signature2020.d.ts +1 -1
- package/build/suites/Ed25519Signature2020.d.ts.map +1 -1
- package/build/suites/Ed25519Signature2020.js +16 -54
- 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 +44 -82
- package/build/suites/JsonWebSignature2020.js.map +1 -1
- package/build/tsdoc-metadata.json +1 -1
- package/build/types.js +1 -2
- package/package.json +20 -9
- package/src/__tests__/context.loader.test.ts +3 -3
- package/src/__tests__/issue-verify-flow.test.ts +7 -5
- package/src/action-handler.ts +8 -7
- package/src/index.ts +8 -17
- package/src/ld-context-loader.ts +1 -1
- package/src/ld-credential-module.ts +5 -4
- package/src/ld-default-contexts.ts +27 -14
- package/src/ld-suite-loader.ts +1 -1
- package/src/module-types/jsonld/index.d.ts +0 -1
- package/{plugin.schema.json → src/plugin.schema.json} +0 -0
- package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +4 -4
- package/src/suites/Ed25519Signature2018.ts +1 -1
- package/src/suites/Ed25519Signature2020.ts +4 -3
- package/src/suites/JsonWebSignature2020.ts +1 -1
|
@@ -1,57 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.LdCredentialModule = void 0;
|
|
39
|
-
const cross_fetch_1 = __importDefault(require("cross-fetch"));
|
|
40
|
-
const debug_1 = __importDefault(require("debug"));
|
|
41
|
-
const jsonld_signatures_1 = require("@digitalcredentials/jsonld-signatures");
|
|
42
|
-
const vc = __importStar(require("@digitalcredentials/vc"));
|
|
43
|
-
const debug = (0, debug_1.default)('veramo:w3c:ld-credential-module');
|
|
44
|
-
class LdCredentialModule {
|
|
1
|
+
import fetch from 'cross-fetch';
|
|
2
|
+
import Debug from 'debug';
|
|
3
|
+
import jsonldSignatures from '@digitalcredentials/jsonld-signatures';
|
|
4
|
+
const { extendContextLoader } = jsonldSignatures;
|
|
5
|
+
import * as vc from '@digitalcredentials/vc';
|
|
6
|
+
const debug = Debug('veramo:w3c:ld-credential-module');
|
|
7
|
+
export class LdCredentialModule {
|
|
8
|
+
/**
|
|
9
|
+
* TODO: General Implementation Notes
|
|
10
|
+
* - (SOLVED) EcdsaSecp256k1Signature2019 (Signature) and EcdsaSecp256k1VerificationKey2019 (Key)
|
|
11
|
+
* are not useable right now, since they are not able to work with blockChainId and ECRecover.
|
|
12
|
+
* - DID Fragment Resolution.
|
|
13
|
+
* - Key Manager and Verification Methods: Veramo currently implements no link between those.
|
|
14
|
+
*/
|
|
15
|
+
ldContextLoader;
|
|
16
|
+
ldSuiteLoader;
|
|
45
17
|
constructor(options) {
|
|
46
18
|
this.ldContextLoader = options.ldContextLoader;
|
|
47
19
|
this.ldSuiteLoader = options.ldSuiteLoader;
|
|
48
20
|
}
|
|
49
21
|
getDocumentLoader(context, attemptToFetchContexts = false) {
|
|
50
|
-
return (
|
|
22
|
+
return extendContextLoader(async (url) => {
|
|
51
23
|
// console.log(`resolving context for: ${url}`)
|
|
52
24
|
// did resolution
|
|
53
25
|
if (url.toLowerCase().startsWith('did:')) {
|
|
54
|
-
const resolutionResult =
|
|
26
|
+
const resolutionResult = await context.agent.resolveDid({ didUrl: url });
|
|
55
27
|
const didDoc = resolutionResult.didDocument;
|
|
56
28
|
if (!didDoc)
|
|
57
29
|
return;
|
|
@@ -67,7 +39,7 @@ class LdCredentialModule {
|
|
|
67
39
|
};
|
|
68
40
|
}
|
|
69
41
|
if (this.ldContextLoader.has(url)) {
|
|
70
|
-
const contextDoc =
|
|
42
|
+
const contextDoc = await this.ldContextLoader.get(url);
|
|
71
43
|
return {
|
|
72
44
|
contextUrl: null,
|
|
73
45
|
documentUrl: url,
|
|
@@ -79,9 +51,9 @@ class LdCredentialModule {
|
|
|
79
51
|
// attempt to fetch the remote context!!!! MEGA FAIL for JSON-LD.
|
|
80
52
|
debug('WARNING: attempting to fetch the doc directly for ', url);
|
|
81
53
|
try {
|
|
82
|
-
const response =
|
|
54
|
+
const response = await fetch(url);
|
|
83
55
|
if (response.status === 200) {
|
|
84
|
-
const document =
|
|
56
|
+
const document = await response.json();
|
|
85
57
|
return {
|
|
86
58
|
contextUrl: null,
|
|
87
59
|
documentUrl: url,
|
|
@@ -96,50 +68,65 @@ class LdCredentialModule {
|
|
|
96
68
|
}
|
|
97
69
|
debug(`WARNING: Possible unknown context/identifier for ${url} \n falling back to default documentLoader`);
|
|
98
70
|
return vc.defaultDocumentLoader(url);
|
|
99
|
-
})
|
|
71
|
+
});
|
|
100
72
|
}
|
|
101
|
-
issueLDVerifiableCredential(credential, issuerDid, key, verificationMethodId, options, context) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
73
|
+
async issueLDVerifiableCredential(credential, issuerDid, key, verificationMethodId, options, context) {
|
|
74
|
+
const suite = this.ldSuiteLoader.getSignatureSuiteForKeyType(key.type, key.meta?.verificationMethod?.type ?? '');
|
|
75
|
+
const documentLoader = this.getDocumentLoader(context, options.fetchRemoteContexts);
|
|
76
|
+
// some suites can modify the incoming credential (e.g. add required contexts)
|
|
77
|
+
suite.preSigningCredModification(credential);
|
|
78
|
+
return await vc.issue({
|
|
79
|
+
...options,
|
|
80
|
+
credential,
|
|
81
|
+
suite: await suite.getSuiteForSigning(key, issuerDid, verificationMethodId, context),
|
|
82
|
+
documentLoader,
|
|
83
|
+
compactProof: false,
|
|
109
84
|
});
|
|
110
85
|
}
|
|
111
|
-
signLDVerifiablePresentation(presentation, holderDid, key, verificationMethodId, challenge, domain, options, context) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
86
|
+
async signLDVerifiablePresentation(presentation, holderDid, key, verificationMethodId, challenge, domain, options, context) {
|
|
87
|
+
const suite = this.ldSuiteLoader.getSignatureSuiteForKeyType(key.type, key.meta?.verificationMethod?.type ?? '');
|
|
88
|
+
const documentLoader = this.getDocumentLoader(context, options.fetchRemoteContexts);
|
|
89
|
+
suite.preSigningPresModification(presentation);
|
|
90
|
+
return await vc.signPresentation({
|
|
91
|
+
...options,
|
|
92
|
+
presentation,
|
|
93
|
+
suite: await suite.getSuiteForSigning(key, holderDid, verificationMethodId, context),
|
|
94
|
+
challenge,
|
|
95
|
+
domain,
|
|
96
|
+
documentLoader,
|
|
97
|
+
compactProof: false,
|
|
120
98
|
});
|
|
121
99
|
}
|
|
122
|
-
verifyCredential(credential, fetchRemoteContexts = false, options, context) {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
100
|
+
async verifyCredential(credential, fetchRemoteContexts = false, options, context) {
|
|
101
|
+
const result = await vc.verifyCredential({
|
|
102
|
+
...options,
|
|
103
|
+
credential,
|
|
104
|
+
suite: this.ldSuiteLoader.getAllSignatureSuites().map((x) => x.getSuiteForVerification()),
|
|
105
|
+
documentLoader: this.getDocumentLoader(context, fetchRemoteContexts),
|
|
106
|
+
compactProof: false,
|
|
107
|
+
checkStatus: async () => Promise.resolve({ verified: true }), // Fake method
|
|
130
108
|
});
|
|
109
|
+
if (!result.verified) {
|
|
110
|
+
// result can include raw Error
|
|
111
|
+
debug(`Error verifying LD Credential: ${JSON.stringify(result, null, 2)}`);
|
|
112
|
+
}
|
|
113
|
+
return result;
|
|
131
114
|
}
|
|
132
|
-
verifyPresentation(presentation, challenge, domain, fetchRemoteContexts = false, options, context) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
115
|
+
async verifyPresentation(presentation, challenge, domain, fetchRemoteContexts = false, options, context) {
|
|
116
|
+
const result = await vc.verify({
|
|
117
|
+
...options,
|
|
118
|
+
presentation,
|
|
119
|
+
suite: this.ldSuiteLoader.getAllSignatureSuites().map((x) => x.getSuiteForVerification()),
|
|
120
|
+
documentLoader: this.getDocumentLoader(context, fetchRemoteContexts),
|
|
121
|
+
challenge,
|
|
122
|
+
domain,
|
|
123
|
+
compactProof: false,
|
|
141
124
|
});
|
|
125
|
+
if (!result.verified) {
|
|
126
|
+
// result can include raw Error
|
|
127
|
+
debug(`Error verifying LD Presentation: ${JSON.stringify(result, null, 2)}`);
|
|
128
|
+
}
|
|
129
|
+
return result;
|
|
142
130
|
}
|
|
143
131
|
}
|
|
144
|
-
exports.LdCredentialModule = LdCredentialModule;
|
|
145
132
|
//# sourceMappingURL=ld-credential-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-credential-module.js","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ld-credential-module.js","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,gBAAgB,MAAM,uCAAuC,CAAA;AACpE,MAAM,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAK5C,MAAM,KAAK,GAAG,KAAK,CAAC,iCAAiC,CAAC,CAAA;AAEtD,MAAM,OAAO,kBAAkB;IAC7B;;;;;;OAMG;IAEK,eAAe,CAAiB;IACxC,aAAa,CAAe;IAE5B,YAAY,OAA2E;QACrF,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAA;QAC9C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;IAC5C,CAAC;IAED,iBAAiB,CAAC,OAAiC,EAAE,yBAAkC,KAAK;QAC1F,OAAO,mBAAmB,CAAC,KAAK,EAAE,GAAW,EAAE,EAAE;YAC/C,+CAA+C;YAE/C,iBAAiB;YACjB,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;gBACxC,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAA;gBACxE,MAAM,MAAM,GAAG,gBAAgB,CAAC,WAAW,CAAA;gBAE3C,IAAI,CAAC,MAAM;oBAAE,OAAM;gBAEnB,+EAA+E;gBAC/E,qFAAqF;gBACrF,gFAAgF;gBAChF,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC,OAAO,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AC,MAAM,CAAC,QAAQ,EAAE;YACpB,+BAA+B;YAC/B,KAAK,CAAC,oCAAoC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;SAC7E;QACD,OAAO,MAAM,CAAA;IACf,CAAC;CACF"}
|
|
@@ -6,5 +6,319 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @beta This API may change without a BREAKING CHANGE notice.
|
|
8
8
|
*/
|
|
9
|
-
export declare const LdDefaultContexts: Map<string,
|
|
9
|
+
export declare const LdDefaultContexts: Map<string, {
|
|
10
|
+
"@context": {
|
|
11
|
+
"@version": number;
|
|
12
|
+
"@protected": boolean;
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
VerifiableCredential: {
|
|
16
|
+
"@id": string;
|
|
17
|
+
"@context": {
|
|
18
|
+
"@version": number;
|
|
19
|
+
"@protected": boolean;
|
|
20
|
+
id: string;
|
|
21
|
+
type: string;
|
|
22
|
+
cred: string;
|
|
23
|
+
sec: string;
|
|
24
|
+
xsd: string;
|
|
25
|
+
credentialSchema: {
|
|
26
|
+
"@id": string;
|
|
27
|
+
"@type": string;
|
|
28
|
+
"@context": {
|
|
29
|
+
"@version": number;
|
|
30
|
+
"@protected": boolean;
|
|
31
|
+
id: string;
|
|
32
|
+
type: string;
|
|
33
|
+
cred: string;
|
|
34
|
+
JsonSchemaValidator2018: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
credentialStatus: {
|
|
38
|
+
"@id": string;
|
|
39
|
+
"@type": string;
|
|
40
|
+
};
|
|
41
|
+
credentialSubject: {
|
|
42
|
+
"@id": string;
|
|
43
|
+
"@type": string;
|
|
44
|
+
};
|
|
45
|
+
evidence: {
|
|
46
|
+
"@id": string;
|
|
47
|
+
"@type": string;
|
|
48
|
+
};
|
|
49
|
+
expirationDate: {
|
|
50
|
+
"@id": string;
|
|
51
|
+
"@type": string;
|
|
52
|
+
};
|
|
53
|
+
holder: {
|
|
54
|
+
"@id": string;
|
|
55
|
+
"@type": string;
|
|
56
|
+
};
|
|
57
|
+
issued: {
|
|
58
|
+
"@id": string;
|
|
59
|
+
"@type": string;
|
|
60
|
+
};
|
|
61
|
+
issuer: {
|
|
62
|
+
"@id": string;
|
|
63
|
+
"@type": string;
|
|
64
|
+
};
|
|
65
|
+
issuanceDate: {
|
|
66
|
+
"@id": string;
|
|
67
|
+
"@type": string;
|
|
68
|
+
};
|
|
69
|
+
proof: {
|
|
70
|
+
"@id": string;
|
|
71
|
+
"@type": string;
|
|
72
|
+
"@container": string;
|
|
73
|
+
};
|
|
74
|
+
refreshService: {
|
|
75
|
+
"@id": string;
|
|
76
|
+
"@type": string;
|
|
77
|
+
"@context": {
|
|
78
|
+
"@version": number;
|
|
79
|
+
"@protected": boolean;
|
|
80
|
+
id: string;
|
|
81
|
+
type: string;
|
|
82
|
+
cred: string;
|
|
83
|
+
ManualRefreshService2018: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
termsOfUse: {
|
|
87
|
+
"@id": string;
|
|
88
|
+
"@type": string;
|
|
89
|
+
};
|
|
90
|
+
validFrom: {
|
|
91
|
+
"@id": string;
|
|
92
|
+
"@type": string;
|
|
93
|
+
};
|
|
94
|
+
validUntil: {
|
|
95
|
+
"@id": string;
|
|
96
|
+
"@type": string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
VerifiablePresentation: {
|
|
101
|
+
"@id": string;
|
|
102
|
+
"@context": {
|
|
103
|
+
"@version": number;
|
|
104
|
+
"@protected": boolean;
|
|
105
|
+
id: string;
|
|
106
|
+
type: string;
|
|
107
|
+
cred: string;
|
|
108
|
+
sec: string;
|
|
109
|
+
holder: {
|
|
110
|
+
"@id": string;
|
|
111
|
+
"@type": string;
|
|
112
|
+
};
|
|
113
|
+
proof: {
|
|
114
|
+
"@id": string;
|
|
115
|
+
"@type": string;
|
|
116
|
+
"@container": string;
|
|
117
|
+
};
|
|
118
|
+
verifiableCredential: {
|
|
119
|
+
"@id": string;
|
|
120
|
+
"@type": string;
|
|
121
|
+
"@container": string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
EcdsaSecp256k1Signature2019: {
|
|
126
|
+
"@id": string;
|
|
127
|
+
"@context": {
|
|
128
|
+
"@version": number;
|
|
129
|
+
"@protected": boolean;
|
|
130
|
+
id: string;
|
|
131
|
+
type: string;
|
|
132
|
+
sec: string;
|
|
133
|
+
xsd: string;
|
|
134
|
+
challenge: string;
|
|
135
|
+
created: {
|
|
136
|
+
"@id": string;
|
|
137
|
+
"@type": string;
|
|
138
|
+
};
|
|
139
|
+
domain: string;
|
|
140
|
+
expires: {
|
|
141
|
+
"@id": string;
|
|
142
|
+
"@type": string;
|
|
143
|
+
};
|
|
144
|
+
jws: string;
|
|
145
|
+
nonce: string;
|
|
146
|
+
proofPurpose: {
|
|
147
|
+
"@id": string;
|
|
148
|
+
"@type": string;
|
|
149
|
+
"@context": {
|
|
150
|
+
"@version": number;
|
|
151
|
+
"@protected": boolean;
|
|
152
|
+
id: string;
|
|
153
|
+
type: string;
|
|
154
|
+
sec: string;
|
|
155
|
+
assertionMethod: {
|
|
156
|
+
"@id": string;
|
|
157
|
+
"@type": string;
|
|
158
|
+
"@container": string;
|
|
159
|
+
};
|
|
160
|
+
authentication: {
|
|
161
|
+
"@id": string;
|
|
162
|
+
"@type": string;
|
|
163
|
+
"@container": string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
proofValue: string;
|
|
168
|
+
verificationMethod: {
|
|
169
|
+
"@id": string;
|
|
170
|
+
"@type": string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
EcdsaSecp256r1Signature2019: {
|
|
175
|
+
"@id": string;
|
|
176
|
+
"@context": {
|
|
177
|
+
"@version": number;
|
|
178
|
+
"@protected": boolean;
|
|
179
|
+
id: string;
|
|
180
|
+
type: string;
|
|
181
|
+
sec: string;
|
|
182
|
+
xsd: string;
|
|
183
|
+
challenge: string;
|
|
184
|
+
created: {
|
|
185
|
+
"@id": string;
|
|
186
|
+
"@type": string;
|
|
187
|
+
};
|
|
188
|
+
domain: string;
|
|
189
|
+
expires: {
|
|
190
|
+
"@id": string;
|
|
191
|
+
"@type": string;
|
|
192
|
+
};
|
|
193
|
+
jws: string;
|
|
194
|
+
nonce: string;
|
|
195
|
+
proofPurpose: {
|
|
196
|
+
"@id": string;
|
|
197
|
+
"@type": string;
|
|
198
|
+
"@context": {
|
|
199
|
+
"@version": number;
|
|
200
|
+
"@protected": boolean;
|
|
201
|
+
id: string;
|
|
202
|
+
type: string;
|
|
203
|
+
sec: string;
|
|
204
|
+
assertionMethod: {
|
|
205
|
+
"@id": string;
|
|
206
|
+
"@type": string;
|
|
207
|
+
"@container": string;
|
|
208
|
+
};
|
|
209
|
+
authentication: {
|
|
210
|
+
"@id": string;
|
|
211
|
+
"@type": string;
|
|
212
|
+
"@container": string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
proofValue: string;
|
|
217
|
+
verificationMethod: {
|
|
218
|
+
"@id": string;
|
|
219
|
+
"@type": string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
Ed25519Signature2018: {
|
|
224
|
+
"@id": string;
|
|
225
|
+
"@context": {
|
|
226
|
+
"@version": number;
|
|
227
|
+
"@protected": boolean;
|
|
228
|
+
id: string;
|
|
229
|
+
type: string;
|
|
230
|
+
sec: string;
|
|
231
|
+
xsd: string;
|
|
232
|
+
challenge: string;
|
|
233
|
+
created: {
|
|
234
|
+
"@id": string;
|
|
235
|
+
"@type": string;
|
|
236
|
+
};
|
|
237
|
+
domain: string;
|
|
238
|
+
expires: {
|
|
239
|
+
"@id": string;
|
|
240
|
+
"@type": string;
|
|
241
|
+
};
|
|
242
|
+
jws: string;
|
|
243
|
+
nonce: string;
|
|
244
|
+
proofPurpose: {
|
|
245
|
+
"@id": string;
|
|
246
|
+
"@type": string;
|
|
247
|
+
"@context": {
|
|
248
|
+
"@version": number;
|
|
249
|
+
"@protected": boolean;
|
|
250
|
+
id: string;
|
|
251
|
+
type: string;
|
|
252
|
+
sec: string;
|
|
253
|
+
assertionMethod: {
|
|
254
|
+
"@id": string;
|
|
255
|
+
"@type": string;
|
|
256
|
+
"@container": string;
|
|
257
|
+
};
|
|
258
|
+
authentication: {
|
|
259
|
+
"@id": string;
|
|
260
|
+
"@type": string;
|
|
261
|
+
"@container": string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
proofValue: string;
|
|
266
|
+
verificationMethod: {
|
|
267
|
+
"@id": string;
|
|
268
|
+
"@type": string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
RsaSignature2018: {
|
|
273
|
+
"@id": string;
|
|
274
|
+
"@context": {
|
|
275
|
+
"@version": number;
|
|
276
|
+
"@protected": boolean;
|
|
277
|
+
challenge: string;
|
|
278
|
+
created: {
|
|
279
|
+
"@id": string;
|
|
280
|
+
"@type": string;
|
|
281
|
+
};
|
|
282
|
+
domain: string;
|
|
283
|
+
expires: {
|
|
284
|
+
"@id": string;
|
|
285
|
+
"@type": string;
|
|
286
|
+
};
|
|
287
|
+
jws: string;
|
|
288
|
+
nonce: string;
|
|
289
|
+
proofPurpose: {
|
|
290
|
+
"@id": string;
|
|
291
|
+
"@type": string;
|
|
292
|
+
"@context": {
|
|
293
|
+
"@version": number;
|
|
294
|
+
"@protected": boolean;
|
|
295
|
+
id: string;
|
|
296
|
+
type: string;
|
|
297
|
+
sec: string;
|
|
298
|
+
assertionMethod: {
|
|
299
|
+
"@id": string;
|
|
300
|
+
"@type": string;
|
|
301
|
+
"@container": string;
|
|
302
|
+
};
|
|
303
|
+
authentication: {
|
|
304
|
+
"@id": string;
|
|
305
|
+
"@type": string;
|
|
306
|
+
"@container": string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
proofValue: string;
|
|
311
|
+
verificationMethod: {
|
|
312
|
+
"@id": string;
|
|
313
|
+
"@type": string;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
proof: {
|
|
318
|
+
"@id": string;
|
|
319
|
+
"@type": string;
|
|
320
|
+
"@container": string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
}>;
|
|
10
324
|
//# sourceMappingURL=ld-default-contexts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-default-contexts.d.ts","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ld-default-contexts.d.ts","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"AAcA;;;;;;;GAOG;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5B,CAAA"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import contextCredentialV1 from "./contexts/www.w3.org_2018_credentials_v1.json" assert { type: 'json' };
|
|
2
|
+
import contextDidV1 from "./contexts/www.w3.org_ns_did_v1.json" assert { type: 'json' };
|
|
3
|
+
import contextSecurityV1 from "./contexts/w3id.org_security_v1.json" assert { type: 'json' };
|
|
4
|
+
import contextSecurityV2 from "./contexts/w3id.org_security_v2.json" assert { type: 'json' };
|
|
5
|
+
import contextSecurityV3 from "./contexts/w3id.org_security_v3-unstable.json" assert { type: 'json' };
|
|
6
|
+
import contextSuitesEd25519 from "./contexts/w3id.org_security_suites_ed25519-2018_v1.json" assert { type: 'json' };
|
|
7
|
+
import contextSuitesX25519 from "./contexts/w3id.org_security_suites_x25519-2019_v1.json" assert { type: 'json' };
|
|
8
|
+
import contextProfile from "./contexts/veramo.io_contexts_profile_v1.json" assert { type: 'json' };
|
|
9
|
+
import contextLdsEcdsaSecpRecovery2020_0 from "./contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json" assert { type: 'json' };
|
|
10
|
+
import contextLdsEcdsaSecpRecovery2020_2 from "./contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json" assert { type: 'json' };
|
|
11
|
+
import contextSuitesSecp from "./contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json" assert { type: 'json' };
|
|
12
|
+
import contextSuitesEd25519_2020 from './contexts/ed25519-signature-2020-v1.json' assert { type: 'json' };
|
|
13
|
+
import contextSuitesJws_2020 from './contexts/json-web-signature-2020-v1.json' assert { type: 'json' };
|
|
4
14
|
/**
|
|
5
15
|
* Provides a hardcoded map of common Linked Data `@context` definitions.
|
|
6
16
|
*
|
|
@@ -9,24 +19,25 @@ exports.LdDefaultContexts = void 0;
|
|
|
9
19
|
*
|
|
10
20
|
* @beta This API may change without a BREAKING CHANGE notice.
|
|
11
21
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
['https://www.w3.org/
|
|
15
|
-
['https://
|
|
16
|
-
['https://w3id.org/security/
|
|
17
|
-
['https://w3id.org/security/
|
|
18
|
-
['https://w3id.org/security/
|
|
19
|
-
['https://w3id.org/security/suites/
|
|
20
|
-
['https://w3id.org/security/suites/
|
|
21
|
-
['https://w3id.org/security/suites/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export const LdDefaultContexts = new Map([
|
|
24
|
+
['https://www.w3.org/2018/credentials/v1', contextCredentialV1],
|
|
25
|
+
['https://www.w3.org/ns/did/v1', contextDidV1],
|
|
26
|
+
['https://w3id.org/security/v1', contextSecurityV1],
|
|
27
|
+
['https://w3id.org/security/v2', contextSecurityV2],
|
|
28
|
+
['https://w3id.org/security/v3-unstable', contextSecurityV3],
|
|
29
|
+
['https://w3id.org/security/suites/ed25519-2018/v1', contextSuitesEd25519],
|
|
30
|
+
['https://w3id.org/security/suites/x25519-2019/v1', contextSuitesX25519],
|
|
31
|
+
['https://w3id.org/security/suites/ed25519-2020/v1', contextSuitesEd25519_2020],
|
|
32
|
+
['https://w3id.org/security/suites/jws-2020/v1', contextSuitesJws_2020],
|
|
22
33
|
// ['https://w3id.org/did/v0.11', require('./contexts/did_v0.11.json')],
|
|
23
34
|
// ['https://veramo.io/contexts/socialmedia/v1', require('./contexts/socialmedia-v1.json')],
|
|
24
35
|
// ['https://veramo.io/contexts/kyc/v1', require('./contexts/kyc-v1.json')],
|
|
25
|
-
['https://veramo.io/contexts/profile/v1',
|
|
36
|
+
['https://veramo.io/contexts/profile/v1', contextProfile],
|
|
26
37
|
// ['https://ns.did.ai/transmute/v1', require('./contexts/transmute_v1.json')],
|
|
27
|
-
['https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-0.0.jsonld',
|
|
28
|
-
['https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-2.0.jsonld',
|
|
29
|
-
['https://w3id.org/security/suites/secp256k1recovery-2020/v2',
|
|
38
|
+
['https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-0.0.jsonld', contextLdsEcdsaSecpRecovery2020_0],
|
|
39
|
+
['https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-2.0.jsonld', contextLdsEcdsaSecpRecovery2020_2],
|
|
40
|
+
['https://w3id.org/security/suites/secp256k1recovery-2020/v2', contextSuitesSecp]
|
|
30
41
|
// ['https://w3id.org/security/suites/ed25519-2018/v1', require('./contexts/ed25519-signature-2018-v1.json')],
|
|
31
42
|
// ['https://w3id.org/security/suites/x25519-2019/v1', require('./contexts/X25519KeyAgreementKey2019.json')],
|
|
32
43
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-default-contexts.js","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ld-default-contexts.js","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,gDAAgD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,OAAO,YAAY,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,OAAO,iBAAiB,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,OAAO,iBAAiB,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,OAAO,iBAAiB,MAAM,+CAA+C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACrG,OAAO,oBAAoB,MAAM,0DAA0D,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACnH,OAAO,mBAAmB,MAAM,yDAAyD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACjH,OAAO,cAAc,MAAM,+CAA+C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,OAAO,iCAAiC,MAAM,sDAAsD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,OAAO,iCAAiC,MAAM,oEAAoE,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1I,OAAO,iBAAiB,MAAM,oEAAoE,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1H,OAAO,yBAAyB,MAAM,2CAA2C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACzG,OAAO,qBAAqB,MAAM,4CAA4C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAEtG;;;;;;;GAOG;AACH,aAAa;AACb,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IACvC,CAAC,wCAAwC,EAAE,mBAAmB,CAAC;IAC/D,CAAC,8BAA8B,EAAE,YAAY,CAAC;IAC9C,CAAC,8BAA8B,EAAE,iBAAiB,CAAC;IACnD,CAAC,8BAA8B,EAAE,iBAAiB,CAAC;IACnD,CAAC,uCAAuC,EAAE,iBAAiB,CAAC;IAC5D,CAAC,kDAAkD,EAAE,oBAAoB,CAAC;IAC1E,CAAC,iDAAiD,EAAE,mBAAmB,CAAC;IACxE,CAAC,kDAAkD,EAAE,yBAAyB,CAAC;IAC/E,CAAC,8CAA8C,EAAE,qBAAqB,CAAC;IACvE,wEAAwE;IACxE,4FAA4F;IAC5F,4EAA4E;IAC5E,CAAC,uCAAuC,EAAE,cAAc,CAAC;IACzD,+EAA+E;IAC/E,CAAC,6GAA6G,EAAE,iCAAiC,CAAC;IAClJ,CAAC,6GAA6G,EAAE,iCAAiC,CAAC;IAClJ,CAAC,4DAA4D,EAAE,iBAAiB,CAAC;IACjF,8GAA8G;IAC9G,6GAA6G;CAC9G,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-suite-loader.d.ts","sourceRoot":"","sources":["../src/ld-suite-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ld-suite-loader.d.ts","sourceRoot":"","sources":["../src/ld-suite-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC;;GAEG;AACH,qBAAa,aAAa;gBACZ,OAAO,EAAE;QAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAA;KAAE;IAOhE,OAAO,CAAC,YAAY,CAAwD;IAE5E,2BAA2B,CAAC,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM;IAOpE,qBAAqB,IAAI,iBAAiB,EAAE;IAI5C,yBAAyB;CAG1B"}
|