node-opcua-server-configuration 2.64.1 → 2.66.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/clientTools/index.d.ts +1 -1
- package/dist/clientTools/index.js +17 -13
- package/dist/clientTools/index.js.map +1 -1
- package/dist/clientTools/push_certificate_management_client.d.ts +176 -176
- package/dist/clientTools/push_certificate_management_client.js +465 -465
- package/dist/index.d.ts +10 -10
- package/dist/index.js +27 -23
- package/dist/index.js.map +1 -1
- package/dist/push_certificate_manager.d.ts +141 -141
- package/dist/push_certificate_manager.js +2 -2
- package/dist/server/install_CertificateAlarm.d.ts +5 -5
- package/dist/server/install_CertificateAlarm.js +37 -37
- package/dist/server/install_push_certitifate_management.d.ts +15 -15
- package/dist/server/install_push_certitifate_management.js +214 -214
- package/dist/server/promote_trust_list.d.ts +6 -6
- package/dist/server/promote_trust_list.js +175 -175
- package/dist/server/push_certificate_manager_helpers.d.ts +7 -7
- package/dist/server/push_certificate_manager_helpers.js +306 -306
- package/dist/server/push_certificate_manager_server_impl.d.ts +48 -48
- package/dist/server/push_certificate_manager_server_impl.js +522 -522
- package/dist/server/roles_and_permissions.d.ts +3 -3
- package/dist/server/roles_and_permissions.js +40 -40
- package/dist/server/tools.d.ts +3 -3
- package/dist/server/tools.js +19 -19
- package/dist/server/trust_list_server.d.ts +13 -13
- package/dist/server/trust_list_server.js +89 -89
- package/dist/standard_certificate_types.d.ts +6 -6
- package/dist/standard_certificate_types.js +13 -13
- package/dist/trust_list.d.ts +79 -79
- package/dist/trust_list.js +2 -2
- package/dist/trust_list_impl.js +25 -25
- package/package.json +27 -27
- package/dist/push_certificate_manager_helpers.d.ts +0 -6
- package/dist/push_certificate_manager_helpers.js +0 -331
- package/dist/push_certificate_manager_helpers.js.map +0 -1
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/**
|
|
3
|
-
* @module node-opcua-server-configuration-server
|
|
4
|
-
*/
|
|
5
|
-
import { EventEmitter } from "events";
|
|
6
|
-
import { ByteString } from "node-opcua-basic-types";
|
|
7
|
-
import { Certificate, PrivateKey } from "node-opcua-crypto";
|
|
8
|
-
import { DirectoryName } from "node-opcua-crypto/dist/source/asn1";
|
|
9
|
-
import { NodeId } from "node-opcua-nodeid";
|
|
10
|
-
import { CertificateManager } from "node-opcua-certificate-manager";
|
|
11
|
-
import { StatusCode } from "node-opcua-status-code";
|
|
12
|
-
import { CreateSigningRequestResult, GetRejectedListResult, PushCertificateManager, UpdateCertificateResult } from "../push_certificate_manager";
|
|
13
|
-
import { SubjectOptions } from "node-opcua-pki";
|
|
14
|
-
export declare function certificateMatchesPrivateKey(certificate: Certificate, privateKey: PrivateKey): boolean;
|
|
15
|
-
export interface PushCertificateManagerServerOptions {
|
|
16
|
-
applicationGroup?: CertificateManager;
|
|
17
|
-
userTokenGroup?: CertificateManager;
|
|
18
|
-
httpsGroup?: CertificateManager;
|
|
19
|
-
applicationUri: string;
|
|
20
|
-
}
|
|
21
|
-
export declare function copyFile(source: string, dest: string): Promise<void>;
|
|
22
|
-
export declare function deleteFile(file: string): Promise<void>;
|
|
23
|
-
export declare function moveFile(source: string, dest: string): Promise<void>;
|
|
24
|
-
export declare function moveFileWithBackup(source: string, dest: string): Promise<void>;
|
|
25
|
-
export declare function subjectToString(subject: SubjectOptions & DirectoryName): string;
|
|
26
|
-
export declare type ActionQueue = (() => Promise<void>)[];
|
|
27
|
-
export declare class PushCertificateManagerServerImpl extends EventEmitter implements PushCertificateManager {
|
|
28
|
-
applicationGroup?: CertificateManager;
|
|
29
|
-
userTokenGroup?: CertificateManager;
|
|
30
|
-
httpsGroup?: CertificateManager;
|
|
31
|
-
private readonly _map;
|
|
32
|
-
private readonly _pendingTasks;
|
|
33
|
-
private _tmpCertificateManager?;
|
|
34
|
-
private $$actionQueue;
|
|
35
|
-
private applicationUri;
|
|
36
|
-
constructor(options: PushCertificateManagerServerOptions);
|
|
37
|
-
initialize(): Promise<void>;
|
|
38
|
-
get supportedPrivateKeyFormats(): string[];
|
|
39
|
-
getSupportedPrivateKeyFormats(): Promise<string[]>;
|
|
40
|
-
createSigningRequest(certificateGroupId: NodeId | string, certificateTypeId: NodeId | string, subjectName: string | SubjectOptions | null, regeneratePrivateKey?: boolean, nonce?: Buffer): Promise<CreateSigningRequestResult>;
|
|
41
|
-
getRejectedList(): Promise<GetRejectedListResult>;
|
|
42
|
-
updateCertificate(certificateGroupId: NodeId | string, certificateTypeId: NodeId | string, certificate: Buffer, issuerCertificates: ByteString[]): Promise<UpdateCertificateResult>;
|
|
43
|
-
applyChanges(): Promise<StatusCode>;
|
|
44
|
-
private getCertificateManager;
|
|
45
|
-
private addPendingTask;
|
|
46
|
-
private applyPendingTasks;
|
|
47
|
-
private flushActionQueue;
|
|
48
|
-
}
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* @module node-opcua-server-configuration-server
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "events";
|
|
6
|
+
import { ByteString } from "node-opcua-basic-types";
|
|
7
|
+
import { Certificate, PrivateKey } from "node-opcua-crypto";
|
|
8
|
+
import { DirectoryName } from "node-opcua-crypto/dist/source/asn1";
|
|
9
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
10
|
+
import { CertificateManager } from "node-opcua-certificate-manager";
|
|
11
|
+
import { StatusCode } from "node-opcua-status-code";
|
|
12
|
+
import { CreateSigningRequestResult, GetRejectedListResult, PushCertificateManager, UpdateCertificateResult } from "../push_certificate_manager";
|
|
13
|
+
import { SubjectOptions } from "node-opcua-pki";
|
|
14
|
+
export declare function certificateMatchesPrivateKey(certificate: Certificate, privateKey: PrivateKey): boolean;
|
|
15
|
+
export interface PushCertificateManagerServerOptions {
|
|
16
|
+
applicationGroup?: CertificateManager;
|
|
17
|
+
userTokenGroup?: CertificateManager;
|
|
18
|
+
httpsGroup?: CertificateManager;
|
|
19
|
+
applicationUri: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function copyFile(source: string, dest: string): Promise<void>;
|
|
22
|
+
export declare function deleteFile(file: string): Promise<void>;
|
|
23
|
+
export declare function moveFile(source: string, dest: string): Promise<void>;
|
|
24
|
+
export declare function moveFileWithBackup(source: string, dest: string): Promise<void>;
|
|
25
|
+
export declare function subjectToString(subject: SubjectOptions & DirectoryName): string;
|
|
26
|
+
export declare type ActionQueue = (() => Promise<void>)[];
|
|
27
|
+
export declare class PushCertificateManagerServerImpl extends EventEmitter implements PushCertificateManager {
|
|
28
|
+
applicationGroup?: CertificateManager;
|
|
29
|
+
userTokenGroup?: CertificateManager;
|
|
30
|
+
httpsGroup?: CertificateManager;
|
|
31
|
+
private readonly _map;
|
|
32
|
+
private readonly _pendingTasks;
|
|
33
|
+
private _tmpCertificateManager?;
|
|
34
|
+
private $$actionQueue;
|
|
35
|
+
private applicationUri;
|
|
36
|
+
constructor(options: PushCertificateManagerServerOptions);
|
|
37
|
+
initialize(): Promise<void>;
|
|
38
|
+
get supportedPrivateKeyFormats(): string[];
|
|
39
|
+
getSupportedPrivateKeyFormats(): Promise<string[]>;
|
|
40
|
+
createSigningRequest(certificateGroupId: NodeId | string, certificateTypeId: NodeId | string, subjectName: string | SubjectOptions | null, regeneratePrivateKey?: boolean, nonce?: Buffer): Promise<CreateSigningRequestResult>;
|
|
41
|
+
getRejectedList(): Promise<GetRejectedListResult>;
|
|
42
|
+
updateCertificate(certificateGroupId: NodeId | string, certificateTypeId: NodeId | string, certificate: Buffer, issuerCertificates: ByteString[]): Promise<UpdateCertificateResult>;
|
|
43
|
+
applyChanges(): Promise<StatusCode>;
|
|
44
|
+
private getCertificateManager;
|
|
45
|
+
private addPendingTask;
|
|
46
|
+
private applyPendingTasks;
|
|
47
|
+
private flushActionQueue;
|
|
48
|
+
}
|