@nmshd/consumption 7.2.0-openid4vc.3 → 7.2.0
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/dist/buildInformation.js +5 -5
- package/dist/consumption/ConsumptionConfig.d.ts +0 -1
- package/dist/consumption/ConsumptionConfig.d.ts.map +1 -1
- package/dist/consumption/ConsumptionController.d.ts +1 -3
- package/dist/consumption/ConsumptionController.d.ts.map +1 -1
- package/dist/consumption/ConsumptionController.js +0 -4
- package/dist/consumption/ConsumptionController.js.map +1 -1
- package/dist/consumption/ConsumptionControllerName.d.ts +1 -2
- package/dist/consumption/ConsumptionControllerName.d.ts.map +1 -1
- package/dist/consumption/ConsumptionControllerName.js +0 -1
- package/dist/consumption/ConsumptionControllerName.js.map +1 -1
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +0 -1
- package/dist/modules/index.js.map +1 -1
- package/package.json +7 -30
- package/dist/modules/openid4vc/OpenId4VcController.d.ts +0 -29
- package/dist/modules/openid4vc/OpenId4VcController.d.ts.map +0 -1
- package/dist/modules/openid4vc/OpenId4VcController.js +0 -74
- package/dist/modules/openid4vc/OpenId4VcController.js.map +0 -1
- package/dist/modules/openid4vc/index.d.ts +0 -7
- package/dist/modules/openid4vc/index.d.ts.map +0 -1
- package/dist/modules/openid4vc/index.js +0 -23
- package/dist/modules/openid4vc/index.js.map +0 -1
- package/dist/modules/openid4vc/local/BaseAgent.d.ts +0 -17
- package/dist/modules/openid4vc/local/BaseAgent.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/BaseAgent.js +0 -72
- package/dist/modules/openid4vc/local/BaseAgent.js.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedHolderFileSystem.d.ts +0 -14
- package/dist/modules/openid4vc/local/EnmeshedHolderFileSystem.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedHolderFileSystem.js +0 -29
- package/dist/modules/openid4vc/local/EnmeshedHolderFileSystem.js.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedHolderKeyManagmentService.d.ts +0 -33
- package/dist/modules/openid4vc/local/EnmeshedHolderKeyManagmentService.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedHolderKeyManagmentService.js +0 -343
- package/dist/modules/openid4vc/local/EnmeshedHolderKeyManagmentService.js.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedStorageService.d.ts +0 -24
- package/dist/modules/openid4vc/local/EnmeshedStorageService.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/EnmeshedStorageService.js +0 -145
- package/dist/modules/openid4vc/local/EnmeshedStorageService.js.map +0 -1
- package/dist/modules/openid4vc/local/Holder.d.ts +0 -40
- package/dist/modules/openid4vc/local/Holder.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/Holder.js +0 -157
- package/dist/modules/openid4vc/local/Holder.js.map +0 -1
- package/dist/modules/openid4vc/local/KeyStorage.d.ts +0 -12
- package/dist/modules/openid4vc/local/KeyStorage.d.ts.map +0 -1
- package/dist/modules/openid4vc/local/KeyStorage.js +0 -66
- package/dist/modules/openid4vc/local/KeyStorage.js.map +0 -1
package/dist/buildInformation.js
CHANGED
|
@@ -6,11 +6,11 @@ const content_1 = require("@nmshd/content");
|
|
|
6
6
|
const crypto_1 = require("@nmshd/crypto");
|
|
7
7
|
const transport_1 = require("@nmshd/transport");
|
|
8
8
|
exports.buildInformation = {
|
|
9
|
-
version: "7.2.0
|
|
10
|
-
build: "
|
|
11
|
-
date: "2025-12-
|
|
12
|
-
commit: "
|
|
13
|
-
dependencies: {"@
|
|
9
|
+
version: "7.2.0",
|
|
10
|
+
build: "385",
|
|
11
|
+
date: "2025-12-08T15:48:20+00:00",
|
|
12
|
+
commit: "795839c8bfb25deaaf50eae8bbfbce4f084668a3",
|
|
13
|
+
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.6","@js-soft/ts-serval":"2.0.14","@js-soft/ts-utils":"2.3.5","@nmshd/content":"*","@nmshd/core-types":"*","@nmshd/iql":"^1.0.4","@nmshd/transport":"*","lodash":"^4.17.21","ts-simple-nameof":"^1.3.3"},
|
|
14
14
|
libraries: {
|
|
15
15
|
transport: transport_1.buildInformation,
|
|
16
16
|
crypto: crypto_1.buildInformation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumptionConfig.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,+BAA+B,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ConsumptionConfig.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,+BAA+B,EAAE,OAAO,CAAC;CAC5C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreAddress, CoreId } from "@nmshd/core-types";
|
|
2
2
|
import { AccountController, Transport } from "@nmshd/transport";
|
|
3
|
-
import { AttributesController, DraftsController, IdentityMetadataController, IncomingRequestsController, NotificationItemConstructor, NotificationItemProcessorConstructor, NotificationsController,
|
|
3
|
+
import { AttributesController, DraftsController, IdentityMetadataController, IncomingRequestsController, NotificationItemConstructor, NotificationItemProcessorConstructor, NotificationsController, OutgoingRequestsController, RequestItemConstructor, RequestItemProcessorConstructor, SettingsController } from "../modules";
|
|
4
4
|
import { ConsumptionConfig } from "./ConsumptionConfig";
|
|
5
5
|
export declare class ConsumptionController {
|
|
6
6
|
readonly transport: Transport;
|
|
@@ -19,8 +19,6 @@ export declare class ConsumptionController {
|
|
|
19
19
|
get settings(): SettingsController;
|
|
20
20
|
private _notifications;
|
|
21
21
|
get notifications(): NotificationsController;
|
|
22
|
-
private _openId4Vc;
|
|
23
|
-
get openId4Vc(): OpenId4VcController;
|
|
24
22
|
private _identityMetadata;
|
|
25
23
|
get identityMetadata(): IdentityMetadataController;
|
|
26
24
|
init(requestItemProcessorOverrides?: Map<RequestItemConstructor, RequestItemProcessorConstructor>, notificationItemProcessorOverrides?: Map<NotificationItemConstructor, NotificationItemProcessorConstructor>): Promise<ConsumptionController>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumptionController.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionController.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACH,oBAAoB,EAGpB,gBAAgB,EAIhB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,oCAAoC,EAEpC,uBAAuB,EACvB,
|
|
1
|
+
{"version":3,"file":"ConsumptionController.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionController.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACH,oBAAoB,EAGpB,gBAAgB,EAIhB,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC3B,oCAAoC,EAEpC,uBAAuB,EACvB,0BAA0B,EAM1B,sBAAsB,EACtB,+BAA+B,EAE/B,kBAAkB,EAGrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,qBAAqB;aAEV,SAAS,EAAE,SAAS;aACpB,iBAAiB,EAAE,iBAAiB;aACpC,iBAAiB,EAAE,iBAAiB;gBAFpC,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,iBAAiB;IAGxD,OAAO,CAAC,WAAW,CAAuB;IAC1C,IAAW,UAAU,IAAI,oBAAoB,CAE5C;IAED,OAAO,CAAC,OAAO,CAAmB;IAClC,IAAW,MAAM,IAAI,gBAAgB,CAEpC;IAED,OAAO,CAAC,iBAAiB,CAA6B;IACtD,IAAW,gBAAgB,IAAI,0BAA0B,CAExD;IAED,OAAO,CAAC,iBAAiB,CAA6B;IACtD,IAAW,gBAAgB,IAAI,0BAA0B,CAExD;IAED,OAAO,CAAC,SAAS,CAAqB;IACtC,IAAW,QAAQ,IAAI,kBAAkB,CAExC;IAED,OAAO,CAAC,cAAc,CAA0B;IAChD,IAAW,aAAa,IAAI,uBAAuB,CAElD;IAED,OAAO,CAAC,iBAAiB,CAA6B;IACtD,IAAW,gBAAgB,IAAI,0BAA0B,CAExD;IAEY,IAAI,CACb,6BAA6B,+DAAqE,EAClG,kCAAkC,yEAA+E,GAClH,OAAO,CAAC,qBAAqB,CAAC;IAoDjC,OAAO,CAAC,+BAA+B;IAcvC,OAAO,CAAC,oCAAoC;IAS/B,mCAAmC,CAAC,IAAI,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ7G"}
|
|
@@ -27,9 +27,6 @@ class ConsumptionController {
|
|
|
27
27
|
get notifications() {
|
|
28
28
|
return this._notifications;
|
|
29
29
|
}
|
|
30
|
-
get openId4Vc() {
|
|
31
|
-
return this._openId4Vc;
|
|
32
|
-
}
|
|
33
30
|
get identityMetadata() {
|
|
34
31
|
return this._identityMetadata;
|
|
35
32
|
}
|
|
@@ -49,7 +46,6 @@ class ConsumptionController {
|
|
|
49
46
|
this._notifications = await new modules_1.NotificationsController(await this.accountController.getSynchronizedCollection("Notifications"), notificationItemProcessorRegistry, this, this.transport.eventBus, this.accountController.activeDevice).init();
|
|
50
47
|
this._identityMetadata = await new modules_1.IdentityMetadataController(this).init();
|
|
51
48
|
this._settings = await new modules_1.SettingsController(this).init();
|
|
52
|
-
this._openId4Vc = await new modules_1.OpenId4VcController(this).init();
|
|
53
49
|
return this;
|
|
54
50
|
}
|
|
55
51
|
getDefaultRequestItemProcessors() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumptionController.js","sourceRoot":"","sources":["../../src/consumption/ConsumptionController.ts"],"names":[],"mappings":";;;AAAA,4CAcwB;AAGxB,
|
|
1
|
+
{"version":3,"file":"ConsumptionController.js","sourceRoot":"","sources":["../../src/consumption/ConsumptionController.ts"],"names":[],"mappings":";;;AAAA,4CAcwB;AAGxB,wCA0BoB;AAGpB,MAAa,qBAAqB;IAC9B,YACoB,SAAoB,EACpB,iBAAoC,EACpC,iBAAoC;QAFpC,cAAS,GAAT,SAAS,CAAW;QACpB,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,sBAAiB,GAAjB,iBAAiB,CAAmB;IACrD,CAAC;IAGJ,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAGD,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAGD,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAGD,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAGD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAGD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IAGD,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAEM,KAAK,CAAC,IAAI,CACb,gCAAgC,IAAI,GAAG,EAA2D,EAClG,qCAAqC,IAAI,GAAG,EAAqE;QAEjH,IAAI,CAAC,WAAW,GAAG,MAAM,IAAI,8BAAoB,CAC7C,IAAI,EACJ,IAAI,CAAC,SAAS,CAAC,QAAQ,EACvB,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAC/B,IAAI,CAAC,iBAAiB,CAAC,+BAA+B,CACzD,CAAC,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AAI,CAAC,CAAC;QAC9D,MAAM,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,IAAI,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QACzD,MAAM,IAAI,CAAC,QAAQ,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC;QAClE,MAAM,IAAI,CAAC,aAAa,CAAC,oCAAoC,CAAC,IAAI,CAAC,CAAC;QACpE,MAAM,IAAI,CAAC,gBAAgB,CAAC,wCAAwC,CAAC,IAAI,CAAC,CAAC;IAC/E,CAAC;CACJ;AAhID,sDAgIC"}
|
|
@@ -4,7 +4,6 @@ export declare enum ConsumptionControllerName {
|
|
|
4
4
|
RequestsController = "RequestsController",
|
|
5
5
|
SettingsController = "SettingsController",
|
|
6
6
|
NotificationsController = "NotificationsController",
|
|
7
|
-
IdentityMetadataController = "IdentityMetadataController"
|
|
8
|
-
OpenId4VcController = "OpenId4VcController"
|
|
7
|
+
IdentityMetadataController = "IdentityMetadataController"
|
|
9
8
|
}
|
|
10
9
|
//# sourceMappingURL=ConsumptionControllerName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumptionControllerName.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionControllerName.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACjC,oBAAoB,yBAAyB;IAC7C,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,kBAAkB,uBAAuB;IACzC,uBAAuB,4BAA4B;IACnD,0BAA0B,+BAA+B;
|
|
1
|
+
{"version":3,"file":"ConsumptionControllerName.d.ts","sourceRoot":"","sources":["../../src/consumption/ConsumptionControllerName.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACjC,oBAAoB,yBAAyB;IAC7C,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,kBAAkB,uBAAuB;IACzC,uBAAuB,4BAA4B;IACnD,0BAA0B,+BAA+B;CAC5D"}
|
|
@@ -9,6 +9,5 @@ var ConsumptionControllerName;
|
|
|
9
9
|
ConsumptionControllerName["SettingsController"] = "SettingsController";
|
|
10
10
|
ConsumptionControllerName["NotificationsController"] = "NotificationsController";
|
|
11
11
|
ConsumptionControllerName["IdentityMetadataController"] = "IdentityMetadataController";
|
|
12
|
-
ConsumptionControllerName["OpenId4VcController"] = "OpenId4VcController";
|
|
13
12
|
})(ConsumptionControllerName || (exports.ConsumptionControllerName = ConsumptionControllerName = {}));
|
|
14
13
|
//# sourceMappingURL=ConsumptionControllerName.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsumptionControllerName.js","sourceRoot":"","sources":["../../src/consumption/ConsumptionControllerName.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ConsumptionControllerName.js","sourceRoot":"","sources":["../../src/consumption/ConsumptionControllerName.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACjC,0EAA6C,CAAA;IAC7C,kEAAqC,CAAA;IACrC,sEAAyC,CAAA;IACzC,sEAAyC,CAAA;IACzC,gFAAmD,CAAA;IACnD,sFAAyD,CAAA;AAC7D,CAAC,EAPW,yBAAyB,yCAAzB,yBAAyB,QAOpC"}
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
package/dist/modules/index.js
CHANGED
|
@@ -19,7 +19,6 @@ __exportStar(require("./common"), exports);
|
|
|
19
19
|
__exportStar(require("./drafts"), exports);
|
|
20
20
|
__exportStar(require("./identityMetadata"), exports);
|
|
21
21
|
__exportStar(require("./notifications"), exports);
|
|
22
|
-
__exportStar(require("./openid4vc"), exports);
|
|
23
22
|
__exportStar(require("./requests"), exports);
|
|
24
23
|
__exportStar(require("./settings"), exports);
|
|
25
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,kDAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,kDAAgC;AAChC,6CAA2B;AAC3B,6CAA2B"}
|
package/package.json
CHANGED
|
@@ -50,46 +50,24 @@
|
|
|
50
50
|
"testEnvironment": "node",
|
|
51
51
|
"testTimeout": 60000,
|
|
52
52
|
"transform": {
|
|
53
|
-
"^.+\\.
|
|
53
|
+
"^.+\\.ts$": [
|
|
54
54
|
"ts-jest",
|
|
55
55
|
{
|
|
56
56
|
"tsconfig": "test/tsconfig.json"
|
|
57
57
|
}
|
|
58
|
-
],
|
|
59
|
-
"^.+\\.mjs$": [
|
|
60
|
-
"babel-jest",
|
|
61
|
-
{
|
|
62
|
-
"presets": [
|
|
63
|
-
[
|
|
64
|
-
"@babel/preset-env",
|
|
65
|
-
{
|
|
66
|
-
"modules": "commonjs"
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
58
|
]
|
|
72
|
-
}
|
|
73
|
-
"transformIgnorePatterns": [
|
|
74
|
-
"<rootDir>/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)"
|
|
75
|
-
]
|
|
59
|
+
}
|
|
76
60
|
},
|
|
77
61
|
"dependencies": {
|
|
78
|
-
"@credo-ts/core": "v0.6.0-alpha-20251127101655",
|
|
79
|
-
"@credo-ts/openid4vc": "v0.6.0-alpha-20251127101655",
|
|
80
62
|
"@js-soft/docdb-querytranslator": "^1.1.6",
|
|
81
63
|
"@js-soft/ts-serval": "2.0.14",
|
|
82
64
|
"@js-soft/ts-utils": "2.3.5",
|
|
83
|
-
"@nmshd/content": "7.2.0
|
|
84
|
-
"@nmshd/core-types": "7.2.0
|
|
65
|
+
"@nmshd/content": "7.2.0",
|
|
66
|
+
"@nmshd/core-types": "7.2.0",
|
|
85
67
|
"@nmshd/iql": "^1.0.4",
|
|
86
|
-
"@nmshd/transport": "7.2.0
|
|
87
|
-
"@noble/ciphers": "^2.0.1",
|
|
88
|
-
"jose": "^6.1.1",
|
|
68
|
+
"@nmshd/transport": "7.2.0",
|
|
89
69
|
"lodash": "^4.17.21",
|
|
90
|
-
"
|
|
91
|
-
"ts-simple-nameof": "^1.3.3",
|
|
92
|
-
"ws": "^8.18.3"
|
|
70
|
+
"ts-simple-nameof": "^1.3.3"
|
|
93
71
|
},
|
|
94
72
|
"devDependencies": {
|
|
95
73
|
"@js-soft/docdb-access-loki": "1.3.1",
|
|
@@ -97,12 +75,11 @@
|
|
|
97
75
|
"@js-soft/node-logger": "1.2.1",
|
|
98
76
|
"@nmshd/crypto": "2.1.3",
|
|
99
77
|
"@types/lodash": "^4.17.21",
|
|
100
|
-
"@types/sjcl": "^1.0.34",
|
|
101
78
|
"ts-mockito": "^2.6.1"
|
|
102
79
|
},
|
|
103
80
|
"publishConfig": {
|
|
104
81
|
"access": "public",
|
|
105
82
|
"provenance": true
|
|
106
83
|
},
|
|
107
|
-
"version": "7.2.0
|
|
84
|
+
"version": "7.2.0"
|
|
108
85
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ClaimFormat, W3cJsonCredential } from "@credo-ts/core";
|
|
2
|
-
import { OpenId4VciCredentialResponse, OpenId4VciResolvedCredentialOffer, OpenId4VpResolvedAuthorizationRequest } from "@credo-ts/openid4vc";
|
|
3
|
-
import { ConsumptionBaseController } from "../../consumption/ConsumptionBaseController";
|
|
4
|
-
import { ConsumptionController } from "../../consumption/ConsumptionController";
|
|
5
|
-
import { OwnIdentityAttribute } from "../attributes";
|
|
6
|
-
export declare class OpenId4VcController extends ConsumptionBaseController {
|
|
7
|
-
private holder;
|
|
8
|
-
constructor(parent: ConsumptionController);
|
|
9
|
-
init(): Promise<this>;
|
|
10
|
-
private get fetchInstance();
|
|
11
|
-
resolveCredentialOffer(credentialOfferUrl: string): Promise<OpenId4VciResolvedCredentialOffer>;
|
|
12
|
-
requestCredentials(credentialOffer: OpenId4VciResolvedCredentialOffer, credentialConfigurationIds: string[], pinCode?: string): Promise<OpenId4VciCredentialResponse[]>;
|
|
13
|
-
storeCredentials(credentialResponses: (Omit<OpenId4VciCredentialResponse, "record"> & {
|
|
14
|
-
record: {
|
|
15
|
-
claimFormat: ClaimFormat;
|
|
16
|
-
encoded: string | W3cJsonCredential;
|
|
17
|
-
};
|
|
18
|
-
})[]): Promise<OwnIdentityAttribute>;
|
|
19
|
-
resolveAuthorizationRequest(authorizationRequestUrl: string): Promise<{
|
|
20
|
-
authorizationRequest: OpenId4VpResolvedAuthorizationRequest;
|
|
21
|
-
usedCredentials: OwnIdentityAttribute[];
|
|
22
|
-
}>;
|
|
23
|
-
private extractUsedCredentialsFromAuthorizationRequest;
|
|
24
|
-
acceptAuthorizationRequest(authorizationRequest: OpenId4VpResolvedAuthorizationRequest): Promise<{
|
|
25
|
-
status: number;
|
|
26
|
-
message: string | Record<string, unknown> | null;
|
|
27
|
-
}>;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=OpenId4VcController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenId4VcController.d.ts","sourceRoot":"","sources":["../../../src/modules/openid4vc/OpenId4VcController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAE7I,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAIrD,qBAAa,mBAAoB,SAAQ,yBAAyB;IAC9D,OAAO,CAAC,MAAM,CAAS;gBAEJ,MAAM,EAAE,qBAAqB;IAI1B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAU3C,OAAO,KAAK,aAAa,GAExB;IAEY,sBAAsB,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,iCAAiC,CAAC;IAI9F,kBAAkB,CAC3B,eAAe,EAAE,iCAAiC,EAClD,0BAA0B,EAAE,MAAM,EAAE,EACpC,OAAO,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,4BAA4B,EAAE,CAAC;IAK7B,gBAAgB,CACzB,mBAAmB,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,QAAQ,CAAC,GAAG;QAAE,MAAM,EAAE;YAAE,WAAW,EAAE,WAAW,CAAC;YAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAA;SAAE,CAAA;KAAE,CAAC,EAAE,GACtJ,OAAO,CAAC,oBAAoB,CAAC;IAOnB,2BAA2B,CAAC,uBAAuB,EAAE,MAAM,GAAG,OAAO,CAAC;QAC/E,oBAAoB,EAAE,qCAAqC,CAAC;QAC5D,eAAe,EAAE,oBAAoB,EAAE,CAAC;KAC3C,CAAC;YAWY,8CAA8C;IA8B/C,0BAA0B,CACnC,oBAAoB,EAAE,qCAAqC,GAC5D,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;KAAE,CAAC;CAQnF"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OpenId4VcController = void 0;
|
|
4
|
-
const core_1 = require("@credo-ts/core");
|
|
5
|
-
const ConsumptionBaseController_1 = require("../../consumption/ConsumptionBaseController");
|
|
6
|
-
const ConsumptionControllerName_1 = require("../../consumption/ConsumptionControllerName");
|
|
7
|
-
const Holder_1 = require("./local/Holder");
|
|
8
|
-
const KeyStorage_1 = require("./local/KeyStorage");
|
|
9
|
-
class OpenId4VcController extends ConsumptionBaseController_1.ConsumptionBaseController {
|
|
10
|
-
constructor(parent) {
|
|
11
|
-
super(ConsumptionControllerName_1.ConsumptionControllerName.OpenId4VcController, parent);
|
|
12
|
-
}
|
|
13
|
-
async init() {
|
|
14
|
-
const collection = await this.parent.accountController.getSynchronizedCollection("openid4vc-keys");
|
|
15
|
-
const keyStorage = new KeyStorage_1.KeyStorage(collection, this._log);
|
|
16
|
-
this.holder = new Holder_1.Holder(keyStorage, this.parent.accountController, this.parent.attributes, this.fetchInstance);
|
|
17
|
-
await this.holder.initializeAgent("96213c3d7fc8d4d6754c7a0fd969598e");
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
get fetchInstance() {
|
|
21
|
-
return this.parent.consumptionConfig.fetchInstance ?? fetch;
|
|
22
|
-
}
|
|
23
|
-
async resolveCredentialOffer(credentialOfferUrl) {
|
|
24
|
-
return await this.holder.resolveCredentialOffer(credentialOfferUrl);
|
|
25
|
-
}
|
|
26
|
-
async requestCredentials(credentialOffer, credentialConfigurationIds, pinCode) {
|
|
27
|
-
const credentialsResponses = await this.holder.requestCredentials(credentialOffer, { credentialConfigurationIds: credentialConfigurationIds, txCode: pinCode });
|
|
28
|
-
return credentialsResponses;
|
|
29
|
-
}
|
|
30
|
-
async storeCredentials(credentialResponses) {
|
|
31
|
-
const credentials = await this.holder.storeCredentials(credentialResponses);
|
|
32
|
-
// TODO: support multiple credentials
|
|
33
|
-
return credentials[0];
|
|
34
|
-
}
|
|
35
|
-
async resolveAuthorizationRequest(authorizationRequestUrl) {
|
|
36
|
-
const authorizationRequest = await this.holder.resolveAuthorizationRequest(authorizationRequestUrl);
|
|
37
|
-
const usedCredentials = await this.extractUsedCredentialsFromAuthorizationRequest(authorizationRequest);
|
|
38
|
-
return {
|
|
39
|
-
authorizationRequest,
|
|
40
|
-
usedCredentials
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
async extractUsedCredentialsFromAuthorizationRequest(authorizationRequest) {
|
|
44
|
-
const dcqlSatisfied = authorizationRequest.dcql?.queryResult.can_be_satisfied ?? false;
|
|
45
|
-
const authorizationRequestSatisfied = authorizationRequest.presentationExchange?.credentialsForRequest.areRequirementsSatisfied ?? false;
|
|
46
|
-
if (!dcqlSatisfied && !authorizationRequestSatisfied) {
|
|
47
|
-
return [];
|
|
48
|
-
}
|
|
49
|
-
// there is no easy method to check which credentials were used in dcql
|
|
50
|
-
// this has to be added later
|
|
51
|
-
if (!authorizationRequestSatisfied)
|
|
52
|
-
return [];
|
|
53
|
-
const matchedCredentialsFromPresentationExchange = authorizationRequest.presentationExchange?.credentialsForRequest.requirements
|
|
54
|
-
.map((entry) => entry.submissionEntry
|
|
55
|
-
.map((subEntry) => subEntry.verifiableCredentials.filter((vc) => vc.claimFormat === core_1.ClaimFormat.SdJwtDc).map((vc) => vc.credentialRecord.encoded))
|
|
56
|
-
.flat())
|
|
57
|
-
.flat();
|
|
58
|
-
const allCredentials = (await this.parent.attributes.getLocalAttributes({
|
|
59
|
-
"@type": "OwnIdentityAttribute",
|
|
60
|
-
"content.value.@type": "VerifiableCredential"
|
|
61
|
-
}));
|
|
62
|
-
const usedCredentials = allCredentials.filter((credential) => matchedCredentialsFromPresentationExchange?.includes(credential.content.value.value)); // in current demo scenarios this is a string
|
|
63
|
-
return usedCredentials;
|
|
64
|
-
}
|
|
65
|
-
async acceptAuthorizationRequest(authorizationRequest) {
|
|
66
|
-
// parse the credential type to be sdjwt
|
|
67
|
-
const serverResponse = await this.holder.acceptAuthorizationRequest(authorizationRequest);
|
|
68
|
-
if (!serverResponse)
|
|
69
|
-
throw new Error("No response from server");
|
|
70
|
-
return { status: serverResponse.status, message: serverResponse.body };
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.OpenId4VcController = OpenId4VcController;
|
|
74
|
-
//# sourceMappingURL=OpenId4VcController.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenId4VcController.js","sourceRoot":"","sources":["../../../src/modules/openid4vc/OpenId4VcController.ts"],"names":[],"mappings":";;;AAAA,yCAAgE;AAGhE,2FAAwF;AAExF,2FAAwF;AAExF,2CAAwC;AACxC,mDAAgD;AAEhD,MAAa,mBAAoB,SAAQ,qDAAyB;IAG9D,YAAmB,MAA6B;QAC5C,KAAK,CAAC,qDAAyB,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;IACjE,CAAC;IAEe,KAAK,CAAC,IAAI;QACtB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;QACnG,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAEzD,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,IAAI,CAAC,MAAM,CAAC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,CAAC,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;QAC1F,IAAI,CAAC,cAAc;YAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAEhE,OAAO,EAAE,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC;IAC3E,CAAC;CACJ;AAjGD,kDAiGC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./local/BaseAgent";
|
|
2
|
-
export * from "./local/EnmeshedHolderFileSystem";
|
|
3
|
-
export * from "./local/EnmeshedHolderKeyManagmentService";
|
|
4
|
-
export * from "./local/EnmeshedStorageService";
|
|
5
|
-
export * from "./local/Holder";
|
|
6
|
-
export * from "./OpenId4VcController";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/openid4vc/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./local/BaseAgent"), exports);
|
|
18
|
-
__exportStar(require("./local/EnmeshedHolderFileSystem"), exports);
|
|
19
|
-
__exportStar(require("./local/EnmeshedHolderKeyManagmentService"), exports);
|
|
20
|
-
__exportStar(require("./local/EnmeshedStorageService"), exports);
|
|
21
|
-
__exportStar(require("./local/Holder"), exports);
|
|
22
|
-
__exportStar(require("./OpenId4VcController"), exports);
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/openid4vc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mEAAiD;AACjD,4EAA0D;AAC1D,iEAA+C;AAC/C,iDAA+B;AAC/B,wDAAsC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Agent, DidKey, type InitConfig, type ModulesMap, type VerificationMethod } from "@credo-ts/core";
|
|
2
|
-
import { AccountController } from "@nmshd/transport";
|
|
3
|
-
import { AttributesController } from "../../attributes";
|
|
4
|
-
import { KeyStorage } from "./KeyStorage";
|
|
5
|
-
export declare class BaseAgent<AgentModules extends ModulesMap> {
|
|
6
|
-
private readonly keyStorage;
|
|
7
|
-
config: InitConfig;
|
|
8
|
-
agent: Agent<AgentModules>;
|
|
9
|
-
did: string;
|
|
10
|
-
didKey: DidKey;
|
|
11
|
-
kid: string;
|
|
12
|
-
verificationMethod: VerificationMethod;
|
|
13
|
-
constructor(keyStorage: KeyStorage, modules: AgentModules, accountController: AccountController, attributeController: AttributesController, fetchInstance: typeof fetch);
|
|
14
|
-
initializeAgent(privateKey: string): Promise<void>;
|
|
15
|
-
shutdown(): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=BaseAgent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseAgent.d.ts","sourceRoot":"","sources":["../../../../src/modules/openid4vc/local/BaseAgent.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,EAGL,MAAM,EAKN,KAAK,UAAU,EAEf,KAAK,UAAU,EACf,KAAK,kBAAkB,EAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,SAAS,CAAC,YAAY,SAAS,UAAU;IAS9C,OAAO,CAAC,QAAQ,CAAC,UAAU;IARxB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3B,GAAG,EAAG,MAAM,CAAC;IACb,MAAM,EAAG,MAAM,CAAC;IAChB,GAAG,EAAG,MAAM,CAAC;IACb,kBAAkB,EAAG,kBAAkB,CAAC;gBAG1B,UAAU,EAAE,UAAU,EACvC,OAAO,EAAE,YAAY,EACrB,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,oBAAoB,EACzC,aAAa,EAAE,OAAO,KAAK;IA6BlB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmClD,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAGzC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.BaseAgent = void 0;
|
|
7
|
-
const core_1 = require("@credo-ts/core");
|
|
8
|
-
const events_1 = require("events");
|
|
9
|
-
const ws_1 = __importDefault(require("ws"));
|
|
10
|
-
const EnmeshedHolderFileSystem_1 = require("./EnmeshedHolderFileSystem");
|
|
11
|
-
const EnmeshedHolderKeyManagmentService_1 = require("./EnmeshedHolderKeyManagmentService");
|
|
12
|
-
const EnmeshedStorageService_1 = require("./EnmeshedStorageService");
|
|
13
|
-
class BaseAgent {
|
|
14
|
-
constructor(keyStorage, modules, accountController, attributeController, fetchInstance) {
|
|
15
|
-
this.keyStorage = keyStorage;
|
|
16
|
-
const config = {
|
|
17
|
-
allowInsecureHttpUrls: true,
|
|
18
|
-
logger: new core_1.ConsoleLogger(core_1.LogLevel.off)
|
|
19
|
-
};
|
|
20
|
-
this.config = config;
|
|
21
|
-
const dependencyManager = new core_1.DependencyManager();
|
|
22
|
-
dependencyManager.registerInstance(core_1.InjectionSymbols.StorageService, new EnmeshedStorageService_1.EnmeshedStorageService(accountController, attributeController, this.keyStorage));
|
|
23
|
-
this.agent = new core_1.Agent({
|
|
24
|
-
config,
|
|
25
|
-
dependencies: {
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
27
|
-
FileSystem: EnmeshedHolderFileSystem_1.EnmeshedHolderFileSystem,
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
29
|
-
EventEmitterClass: events_1.EventEmitter,
|
|
30
|
-
fetch: fetchInstance,
|
|
31
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
32
|
-
WebSocketClass: ws_1.default
|
|
33
|
-
},
|
|
34
|
-
modules
|
|
35
|
-
}, dependencyManager);
|
|
36
|
-
}
|
|
37
|
-
async initializeAgent(privateKey) {
|
|
38
|
-
// as we are not using askar we need to set the storage version
|
|
39
|
-
const storage = this.agent.dependencyManager.resolve(core_1.InjectionSymbols.StorageService);
|
|
40
|
-
await storage.save(this.agent.context, new core_1.StorageVersionRecord({ storageVersion: "0.5.0" }));
|
|
41
|
-
const kmsConfig = this.agent.dependencyManager.resolve(core_1.Kms.KeyManagementModuleConfig);
|
|
42
|
-
kmsConfig.registerBackend(new EnmeshedHolderKeyManagmentService_1.EnmshedHolderKeyManagmentService(this.keyStorage));
|
|
43
|
-
if (kmsConfig.backends.length === 0)
|
|
44
|
-
throw new Error("No KMS backend registered");
|
|
45
|
-
await this.agent.initialize();
|
|
46
|
-
const keyId = privateKey;
|
|
47
|
-
const didCreateResult = await this.agent.dids.create({
|
|
48
|
-
method: "key",
|
|
49
|
-
options: {
|
|
50
|
-
createKey: {
|
|
51
|
-
type: {
|
|
52
|
-
crv: "Ed25519",
|
|
53
|
-
kty: "OKP"
|
|
54
|
-
},
|
|
55
|
-
keyId: keyId
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
this.did = didCreateResult.didState.did;
|
|
60
|
-
this.didKey = core_1.DidKey.fromDid(this.did);
|
|
61
|
-
this.kid = `${this.did}#${this.didKey.publicJwk.fingerprint}`;
|
|
62
|
-
const verificationMethod = didCreateResult.didState.didDocument?.dereferenceKey(this.kid, ["authentication"]);
|
|
63
|
-
if (!verificationMethod)
|
|
64
|
-
throw new Error("No verification method found");
|
|
65
|
-
this.verificationMethod = verificationMethod;
|
|
66
|
-
}
|
|
67
|
-
async shutdown() {
|
|
68
|
-
await this.agent.shutdown();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.BaseAgent = BaseAgent;
|
|
72
|
-
//# sourceMappingURL=BaseAgent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseAgent.js","sourceRoot":"","sources":["../../../../src/modules/openid4vc/local/BaseAgent.ts"],"names":[],"mappings":";;;;;;AAAA,yCAawB;AAExB,mCAAsC;AACtC,4CAA2B;AAE3B,yEAAsE;AACtE,2FAAuF;AACvF,qEAAkE;AAGlE,MAAa,SAAS;IAQlB,YACqB,UAAsB,EACvC,O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FileSystem {
|
|
3
|
-
exists(_path: string): Promise<boolean>;
|
|
4
|
-
createDirectory(_path: string): Promise<void>;
|
|
5
|
-
copyFile(_sourcePath: string, _destinationPath: string): Promise<void>;
|
|
6
|
-
write(_path: string, _data: string): Promise<void>;
|
|
7
|
-
read(_path: string): Promise<string>;
|
|
8
|
-
delete(_path: string): Promise<void>;
|
|
9
|
-
downloadToFile(_url: string, _path: string, _options?: DownloadToFileOptions): Promise<void>;
|
|
10
|
-
readonly dataPath: string;
|
|
11
|
-
readonly cachePath: string;
|
|
12
|
-
readonly tempPath: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=EnmeshedHolderFileSystem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnmeshedHolderFileSystem.d.ts","sourceRoot":"","sources":["../../../../src/modules/openid4vc/local/EnmeshedHolderFileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGnE,qBAAa,wBAAyB,YAAW,UAAU;IAChD,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAGvC,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAG7C,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAGtE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAGlD,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAGpC,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAGpC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAGnG,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,QAAQ,EAAE,MAAM,CAAC;CACpC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnmeshedHolderFileSystem = void 0;
|
|
4
|
-
// File system is not used since we don't use Askar or AnonCreds.
|
|
5
|
-
class EnmeshedHolderFileSystem {
|
|
6
|
-
exists(_path) {
|
|
7
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
8
|
-
}
|
|
9
|
-
createDirectory(_path) {
|
|
10
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
11
|
-
}
|
|
12
|
-
copyFile(_sourcePath, _destinationPath) {
|
|
13
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
14
|
-
}
|
|
15
|
-
write(_path, _data) {
|
|
16
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
17
|
-
}
|
|
18
|
-
read(_path) {
|
|
19
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
20
|
-
}
|
|
21
|
-
delete(_path) {
|
|
22
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
23
|
-
}
|
|
24
|
-
downloadToFile(_url, _path, _options) {
|
|
25
|
-
throw new Error("File system not implemented because previously not needed.");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.EnmeshedHolderFileSystem = EnmeshedHolderFileSystem;
|
|
29
|
-
//# sourceMappingURL=EnmeshedHolderFileSystem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnmeshedHolderFileSystem.js","sourceRoot":"","sources":["../../../../src/modules/openid4vc/local/EnmeshedHolderFileSystem.ts"],"names":[],"mappings":";;;AAEA,iEAAiE;AACjE,MAAa,wBAAwB;IAC1B,MAAM,CAAC,KAAa;QACvB,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,eAAe,CAAC,KAAa;QAChC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,QAAQ,CAAC,WAAmB,EAAE,gBAAwB;QACzD,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,KAAK,CAAC,KAAa,EAAE,KAAa;QACrC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,IAAI,CAAC,KAAa;QACrB,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,MAAM,CAAC,KAAa;QACvB,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;IACM,cAAc,CAAC,IAAY,EAAE,KAAa,EAAE,QAAgC;QAC/E,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;CAIJ;AAzBD,4DAyBC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AgentContext, Kms } from "@credo-ts/core";
|
|
2
|
-
import { KeyStorage } from "./KeyStorage";
|
|
3
|
-
export interface JwkKeyPair {
|
|
4
|
-
publicKey: JsonWebKey;
|
|
5
|
-
privateKey: JsonWebKey;
|
|
6
|
-
keyType?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class EnmshedHolderKeyManagmentService implements Kms.KeyManagementService {
|
|
9
|
-
private readonly keyStorage;
|
|
10
|
-
static readonly backend = "enmeshed";
|
|
11
|
-
readonly backend = "enmeshed";
|
|
12
|
-
private readonly b64url;
|
|
13
|
-
private readonly b64urlDecode;
|
|
14
|
-
private readonly buf2hex;
|
|
15
|
-
private readonly hex2buf;
|
|
16
|
-
constructor(keyStorage: KeyStorage);
|
|
17
|
-
isOperationSupported(agentContext: AgentContext, operation: Kms.KmsOperation): boolean;
|
|
18
|
-
getPublicKey(agentContext: AgentContext, keyId: string): Promise<Kms.KmsJwkPublic>;
|
|
19
|
-
createKey<Type extends Kms.KmsCreateKeyType>(agentContext: AgentContext, options: Kms.KmsCreateKeyOptions<Type>): Promise<Kms.KmsCreateKeyReturn<Type>>;
|
|
20
|
-
importKey<Jwk extends Kms.KmsJwkPrivate>(agentContext: AgentContext, options: Kms.KmsImportKeyOptions<Jwk>): Promise<Kms.KmsImportKeyReturn<Jwk>>;
|
|
21
|
-
deleteKey(agentContext: AgentContext, options: Kms.KmsDeleteKeyOptions): Promise<boolean>;
|
|
22
|
-
sign(agentContext: AgentContext, options: Kms.KmsSignOptions): Promise<Kms.KmsSignReturn>;
|
|
23
|
-
verify(agentContext: AgentContext, options: Kms.KmsVerifyOptions): Promise<Kms.KmsVerifyReturn>;
|
|
24
|
-
private ecdhEs;
|
|
25
|
-
private utf8;
|
|
26
|
-
private concat;
|
|
27
|
-
private lenPrefix;
|
|
28
|
-
private concatKdf;
|
|
29
|
-
encrypt(agentContext: AgentContext, options: Kms.KmsEncryptOptions): Promise<Kms.KmsEncryptReturn>;
|
|
30
|
-
decrypt(agentContext: AgentContext, options: Kms.KmsDecryptOptions): Promise<Kms.KmsDecryptReturn>;
|
|
31
|
-
randomBytes(agentContext: AgentContext, options: Kms.KmsRandomBytesOptions): Kms.KmsRandomBytesReturn;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=EnmeshedHolderKeyManagmentService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnmeshedHolderKeyManagmentService.d.ts","sourceRoot":"","sources":["../../../../src/modules/openid4vc/local/EnmeshedHolderKeyManagmentService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAKnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,UAAU;IACvB,SAAS,EAAE,UAAU,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,C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