antifraud-data-utils-ts 0.1.5 → 0.1.6
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/CHANGELOG.md +10 -0
- package/README.md +7 -0
- package/dist/identity-assurance/index.d.ts +1 -0
- package/dist/identity-assurance/index.d.ts.map +1 -1
- package/dist/identity-assurance/index.js +1 -0
- package/dist/identity-assurance/index.js.map +1 -1
- package/dist/identity-assurance/managed-signing.d.ts +83 -0
- package/dist/identity-assurance/managed-signing.d.ts.map +1 -0
- package/dist/identity-assurance/managed-signing.js +129 -0
- package/dist/identity-assurance/managed-signing.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.1.6 - 2026-10-18
|
|
8
|
+
|
|
9
|
+
- Add the canonical managed-signature request state, local user-presence method,
|
|
10
|
+
ML-DSA-65 actor-signing key and immutable manifest-binding contracts.
|
|
11
|
+
- Build pending requests from a browser-controlled manifest draft and separate
|
|
12
|
+
trusted backend context for user, registered device, relying party, purpose,
|
|
13
|
+
signer and verification method; reject browser-authored authority.
|
|
14
|
+
- Export one reusable synthetic signing-request fixture for SDK, gateway and
|
|
15
|
+
portal journey tests.
|
|
16
|
+
|
|
7
17
|
## 0.1.5 - 2026-10-18
|
|
8
18
|
|
|
9
19
|
- Migrate the reviewed stateless `gdc-common-utils-ts` cryptography profile so
|
package/README.md
CHANGED
|
@@ -33,6 +33,13 @@ import {
|
|
|
33
33
|
const cryptography = new CryptographyService(runtimeCryptoHelper)
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
`defineManagedSignatureRequest` creates only a pending request. It binds the
|
|
37
|
+
immutable manifest digest to the trusted authenticated user, registered device,
|
|
38
|
+
operation, signer, relying party, purpose and ML-DSA-65 actor-signing key.
|
|
39
|
+
Login, review, delivery, read state and a successful local user-presence
|
|
40
|
+
ceremony are deliberately not represented as signatures. SDK orchestration
|
|
41
|
+
owns authorization, one-use session consumption and proof creation.
|
|
42
|
+
|
|
36
43
|
## Current API
|
|
37
44
|
|
|
38
45
|
```ts
|
|
@@ -4,6 +4,7 @@ export * from './converters.js';
|
|
|
4
4
|
export * from './credential-issuance.js';
|
|
5
5
|
export * from './didcomm-binary-attachment.js';
|
|
6
6
|
export * from './identity-evidence.js';
|
|
7
|
+
export * from './managed-signing.js';
|
|
7
8
|
export * from './professional-qualification.js';
|
|
8
9
|
export * from './schema-org-evidence.js';
|
|
9
10
|
export * from './schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/identity-assurance/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/identity-assurance/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
@@ -4,6 +4,7 @@ export * from './converters.js';
|
|
|
4
4
|
export * from './credential-issuance.js';
|
|
5
5
|
export * from './didcomm-binary-attachment.js';
|
|
6
6
|
export * from './identity-evidence.js';
|
|
7
|
+
export * from './managed-signing.js';
|
|
7
8
|
export * from './professional-qualification.js';
|
|
8
9
|
export * from './schema-org-evidence.js';
|
|
9
10
|
export * from './schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/identity-assurance/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/identity-assurance/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export declare const ManagedSignatureRequestState: Readonly<{
|
|
2
|
+
readonly Pending: "pending";
|
|
3
|
+
readonly Authorized: "authorized";
|
|
4
|
+
readonly Rejected: "rejected";
|
|
5
|
+
readonly Cancelled: "cancelled";
|
|
6
|
+
readonly Expired: "expired";
|
|
7
|
+
readonly Signed: "signed";
|
|
8
|
+
readonly Failed: "failed";
|
|
9
|
+
}>;
|
|
10
|
+
export type ManagedSignatureRequestStateValue = typeof ManagedSignatureRequestState[keyof typeof ManagedSignatureRequestState];
|
|
11
|
+
export declare const UserPresenceMethod: Readonly<{
|
|
12
|
+
readonly Biometric: "biometric";
|
|
13
|
+
readonly Pin: "pin";
|
|
14
|
+
readonly Password: "password";
|
|
15
|
+
}>;
|
|
16
|
+
export type UserPresenceMethodValue = typeof UserPresenceMethod[keyof typeof UserPresenceMethod];
|
|
17
|
+
export declare const ManagedSigningAlgorithm: Readonly<{
|
|
18
|
+
readonly MlDsa65: "ML-DSA-65";
|
|
19
|
+
}>;
|
|
20
|
+
export declare const ManagedSigningKeyPurpose: Readonly<{
|
|
21
|
+
readonly ActorSigning: "actor-signing";
|
|
22
|
+
}>;
|
|
23
|
+
export type ManagedSignatureManifestBinding = Readonly<{
|
|
24
|
+
id: string;
|
|
25
|
+
version: string;
|
|
26
|
+
digestAlgorithm: 'sha3-384';
|
|
27
|
+
digest: string;
|
|
28
|
+
}>;
|
|
29
|
+
export type ManagedSignatureRequestDraft = Readonly<{
|
|
30
|
+
requestId: string;
|
|
31
|
+
operationId: string;
|
|
32
|
+
manifest: ManagedSignatureManifestBinding;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
expiresAt: string;
|
|
35
|
+
}>;
|
|
36
|
+
export type ManagedSignatureTrustedContext = Readonly<{
|
|
37
|
+
authenticatedUserId: string;
|
|
38
|
+
registeredDeviceId: string;
|
|
39
|
+
relyingParty: string;
|
|
40
|
+
purpose: string;
|
|
41
|
+
signerReference: string;
|
|
42
|
+
signingKey: Readonly<{
|
|
43
|
+
purpose: typeof ManagedSigningKeyPurpose.ActorSigning;
|
|
44
|
+
algorithm: typeof ManagedSigningAlgorithm.MlDsa65;
|
|
45
|
+
verificationMethod: string;
|
|
46
|
+
}>;
|
|
47
|
+
}>;
|
|
48
|
+
export type ManagedSignatureRequest = ManagedSignatureRequestDraft & ManagedSignatureTrustedContext & Readonly<{
|
|
49
|
+
state: typeof ManagedSignatureRequestState.Pending;
|
|
50
|
+
}>;
|
|
51
|
+
/**
|
|
52
|
+
* Builds one pending request from browser-controlled manifest continuity and
|
|
53
|
+
* trusted backend identity, device, purpose, relying-party and key context.
|
|
54
|
+
*/
|
|
55
|
+
export declare function defineManagedSignatureRequest(draft: ManagedSignatureRequestDraft & Readonly<Record<string, unknown>>, trustedContext: ManagedSignatureTrustedContext): ManagedSignatureRequest;
|
|
56
|
+
/** Synthetic, non-sensitive fixture shared by SDK, gateway and portal tests. */
|
|
57
|
+
export declare const SyntheticManagedSignatureRequestFixture: Readonly<{
|
|
58
|
+
draft: Readonly<{
|
|
59
|
+
requestId: "urn:signature-request:synthetic-publication-v1";
|
|
60
|
+
operationId: "urn:operation:synthetic-publication-signing-v1";
|
|
61
|
+
manifest: Readonly<{
|
|
62
|
+
id: "urn:document-set:synthetic-agreement";
|
|
63
|
+
version: "1";
|
|
64
|
+
digestAlgorithm: "sha3-384";
|
|
65
|
+
digest: string;
|
|
66
|
+
}>;
|
|
67
|
+
createdAt: "2026-10-18T20:00:00.000Z";
|
|
68
|
+
expiresAt: "2026-10-18T20:05:00.000Z";
|
|
69
|
+
}>;
|
|
70
|
+
trustedContext: Readonly<{
|
|
71
|
+
authenticatedUserId: "urn:user:synthetic-signer";
|
|
72
|
+
registeredDeviceId: "urn:device:synthetic-signer-primary";
|
|
73
|
+
relyingParty: "https://social-demo.antifraud.services";
|
|
74
|
+
purpose: "synthetic-publication-manifest-signing";
|
|
75
|
+
signerReference: "did:example:synthetic-signer";
|
|
76
|
+
signingKey: Readonly<{
|
|
77
|
+
purpose: "actor-signing";
|
|
78
|
+
algorithm: "ML-DSA-65";
|
|
79
|
+
verificationMethod: "did:example:synthetic-signer#actor-signing-ml-dsa-65";
|
|
80
|
+
}>;
|
|
81
|
+
}>;
|
|
82
|
+
}>;
|
|
83
|
+
//# sourceMappingURL=managed-signing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-signing.d.ts","sourceRoot":"","sources":["../../src/identity-assurance/managed-signing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;EAQ9B,CAAA;AAEX,MAAM,MAAM,iCAAiC,GAC3C,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAA;AAEhF,eAAO,MAAM,kBAAkB;;;;EAIpB,CAAA;AAEX,MAAM,MAAM,uBAAuB,GACjC,OAAO,kBAAkB,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAA;AAE5D,eAAO,MAAM,uBAAuB;;EAEzB,CAAA;AAEX,eAAO,MAAM,wBAAwB;;EAE1B,CAAA;AAEX,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC;IACrD,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,UAAU,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAClD,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,+BAA+B,CAAA;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,wBAAwB,CAAC,YAAY,CAAA;QACrD,SAAS,EAAE,OAAO,uBAAuB,CAAC,OAAO,CAAA;QACjD,kBAAkB,EAAE,MAAM,CAAA;KAC3B,CAAC,CAAA;CACH,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAC9D,8BAA8B,GAC9B,QAAQ,CAAC;IAAE,KAAK,EAAE,OAAO,4BAA4B,CAAC,OAAO,CAAA;CAAE,CAAC,CAAA;AAmCpE;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,4BAA4B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACvE,cAAc,EAAE,8BAA8B,GAC7C,uBAAuB,CA4DzB;AAED,gFAAgF;AAChF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlD,CAAA"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { SyntheticConfidentialDocumentFixture } from './confidential-document.js';
|
|
2
|
+
export const ManagedSignatureRequestState = Object.freeze({
|
|
3
|
+
Pending: 'pending',
|
|
4
|
+
Authorized: 'authorized',
|
|
5
|
+
Rejected: 'rejected',
|
|
6
|
+
Cancelled: 'cancelled',
|
|
7
|
+
Expired: 'expired',
|
|
8
|
+
Signed: 'signed',
|
|
9
|
+
Failed: 'failed',
|
|
10
|
+
});
|
|
11
|
+
export const UserPresenceMethod = Object.freeze({
|
|
12
|
+
Biometric: 'biometric',
|
|
13
|
+
Pin: 'pin',
|
|
14
|
+
Password: 'password',
|
|
15
|
+
});
|
|
16
|
+
export const ManagedSigningAlgorithm = Object.freeze({
|
|
17
|
+
MlDsa65: 'ML-DSA-65',
|
|
18
|
+
});
|
|
19
|
+
export const ManagedSigningKeyPurpose = Object.freeze({
|
|
20
|
+
ActorSigning: 'actor-signing',
|
|
21
|
+
});
|
|
22
|
+
const CLIENT_FORBIDDEN_AUTHORITY = Object.freeze([
|
|
23
|
+
'authenticatedUserId',
|
|
24
|
+
'registeredDeviceId',
|
|
25
|
+
'relyingParty',
|
|
26
|
+
'purpose',
|
|
27
|
+
'signerReference',
|
|
28
|
+
'signingKey',
|
|
29
|
+
'verificationMethod',
|
|
30
|
+
]);
|
|
31
|
+
function requireNonEmpty(value, path) {
|
|
32
|
+
const normalized = String(value).trim();
|
|
33
|
+
if (!normalized)
|
|
34
|
+
throw new TypeError(`${path} must not be empty`);
|
|
35
|
+
return normalized;
|
|
36
|
+
}
|
|
37
|
+
function requireIsoInstant(value, path) {
|
|
38
|
+
const normalized = requireNonEmpty(value, path);
|
|
39
|
+
const epoch = Date.parse(normalized);
|
|
40
|
+
if (!Number.isFinite(epoch) || new Date(epoch).toISOString() !== normalized) {
|
|
41
|
+
throw new TypeError(`${path} must be an ISO 8601 UTC instant`);
|
|
42
|
+
}
|
|
43
|
+
return normalized;
|
|
44
|
+
}
|
|
45
|
+
function assertSha3_384Base64(value) {
|
|
46
|
+
const normalized = requireNonEmpty(value, 'manifest.digest');
|
|
47
|
+
if (!/^(?:[A-Za-z0-9+/]{4}){16}$/u.test(normalized)) {
|
|
48
|
+
throw new TypeError('manifest.digest must be a base64-encoded 48-byte SHA3-384 digest');
|
|
49
|
+
}
|
|
50
|
+
return normalized;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Builds one pending request from browser-controlled manifest continuity and
|
|
54
|
+
* trusted backend identity, device, purpose, relying-party and key context.
|
|
55
|
+
*/
|
|
56
|
+
export function defineManagedSignatureRequest(draft, trustedContext) {
|
|
57
|
+
for (const property of CLIENT_FORBIDDEN_AUTHORITY) {
|
|
58
|
+
if (Object.hasOwn(draft, property)) {
|
|
59
|
+
throw new TypeError(`Browser draft contains server-owned signing authority (${property})`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (trustedContext.signingKey.algorithm !== ManagedSigningAlgorithm.MlDsa65) {
|
|
63
|
+
throw new TypeError('Managed manifest signing requires ML-DSA-65');
|
|
64
|
+
}
|
|
65
|
+
if (trustedContext.signingKey.purpose !== ManagedSigningKeyPurpose.ActorSigning) {
|
|
66
|
+
throw new TypeError('Managed manifest signing requires the actor-signing key purpose');
|
|
67
|
+
}
|
|
68
|
+
const createdAt = requireIsoInstant(draft.createdAt, 'createdAt');
|
|
69
|
+
const expiresAt = requireIsoInstant(draft.expiresAt, 'expiresAt');
|
|
70
|
+
if (Date.parse(expiresAt) <= Date.parse(createdAt)) {
|
|
71
|
+
throw new TypeError('expiresAt must be after createdAt');
|
|
72
|
+
}
|
|
73
|
+
if (draft.manifest.digestAlgorithm !== 'sha3-384') {
|
|
74
|
+
throw new TypeError('manifest.digestAlgorithm must be sha3-384');
|
|
75
|
+
}
|
|
76
|
+
const manifest = Object.freeze({
|
|
77
|
+
id: requireNonEmpty(draft.manifest.id, 'manifest.id'),
|
|
78
|
+
version: requireNonEmpty(draft.manifest.version, 'manifest.version'),
|
|
79
|
+
digestAlgorithm: 'sha3-384',
|
|
80
|
+
digest: assertSha3_384Base64(draft.manifest.digest),
|
|
81
|
+
});
|
|
82
|
+
const signingKey = Object.freeze({
|
|
83
|
+
purpose: ManagedSigningKeyPurpose.ActorSigning,
|
|
84
|
+
algorithm: ManagedSigningAlgorithm.MlDsa65,
|
|
85
|
+
verificationMethod: requireNonEmpty(trustedContext.signingKey.verificationMethod, 'signingKey.verificationMethod'),
|
|
86
|
+
});
|
|
87
|
+
return Object.freeze({
|
|
88
|
+
requestId: requireNonEmpty(draft.requestId, 'requestId'),
|
|
89
|
+
operationId: requireNonEmpty(draft.operationId, 'operationId'),
|
|
90
|
+
manifest,
|
|
91
|
+
createdAt,
|
|
92
|
+
expiresAt,
|
|
93
|
+
authenticatedUserId: requireNonEmpty(trustedContext.authenticatedUserId, 'authenticatedUserId'),
|
|
94
|
+
registeredDeviceId: requireNonEmpty(trustedContext.registeredDeviceId, 'registeredDeviceId'),
|
|
95
|
+
relyingParty: requireNonEmpty(trustedContext.relyingParty, 'relyingParty'),
|
|
96
|
+
purpose: requireNonEmpty(trustedContext.purpose, 'purpose'),
|
|
97
|
+
signerReference: requireNonEmpty(trustedContext.signerReference, 'signerReference'),
|
|
98
|
+
signingKey,
|
|
99
|
+
state: ManagedSignatureRequestState.Pending,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/** Synthetic, non-sensitive fixture shared by SDK, gateway and portal tests. */
|
|
103
|
+
export const SyntheticManagedSignatureRequestFixture = Object.freeze({
|
|
104
|
+
draft: Object.freeze({
|
|
105
|
+
requestId: 'urn:signature-request:synthetic-publication-v1',
|
|
106
|
+
operationId: 'urn:operation:synthetic-publication-signing-v1',
|
|
107
|
+
manifest: Object.freeze({
|
|
108
|
+
id: SyntheticConfidentialDocumentFixture.manifest.id,
|
|
109
|
+
version: SyntheticConfidentialDocumentFixture.manifest.version,
|
|
110
|
+
digestAlgorithm: 'sha3-384',
|
|
111
|
+
digest: SyntheticConfidentialDocumentFixture.attachment.digest,
|
|
112
|
+
}),
|
|
113
|
+
createdAt: '2026-10-18T20:00:00.000Z',
|
|
114
|
+
expiresAt: '2026-10-18T20:05:00.000Z',
|
|
115
|
+
}),
|
|
116
|
+
trustedContext: Object.freeze({
|
|
117
|
+
authenticatedUserId: 'urn:user:synthetic-signer',
|
|
118
|
+
registeredDeviceId: 'urn:device:synthetic-signer-primary',
|
|
119
|
+
relyingParty: 'https://social-demo.antifraud.services',
|
|
120
|
+
purpose: 'synthetic-publication-manifest-signing',
|
|
121
|
+
signerReference: 'did:example:synthetic-signer',
|
|
122
|
+
signingKey: Object.freeze({
|
|
123
|
+
purpose: ManagedSigningKeyPurpose.ActorSigning,
|
|
124
|
+
algorithm: ManagedSigningAlgorithm.MlDsa65,
|
|
125
|
+
verificationMethod: 'did:example:synthetic-signer#actor-signing-ml-dsa-65',
|
|
126
|
+
}),
|
|
127
|
+
}),
|
|
128
|
+
});
|
|
129
|
+
//# sourceMappingURL=managed-signing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-signing.js","sourceRoot":"","sources":["../../src/identity-assurance/managed-signing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAA;AAEjF,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,CAAC;IACxD,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC,CAAA;AAKX,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,WAAW;IACtB,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;CACZ,CAAC,CAAA;AAKX,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,WAAW;CACZ,CAAC,CAAA;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAAC;IACpD,YAAY,EAAE,eAAe;CACrB,CAAC,CAAA;AAkCX,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,qBAAqB;IACrB,oBAAoB;IACpB,cAAc;IACd,SAAS;IACT,iBAAiB;IACjB,YAAY;IACZ,oBAAoB;CACrB,CAAC,CAAA;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,IAAY;IAClD,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAA;IACvC,IAAI,CAAC,UAAU;QAAE,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,oBAAoB,CAAC,CAAA;IACjE,OAAO,UAAU,CAAA;AACnB,CAAC;A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