node-opcua-server-configuration 2.186.12 → 2.186.14
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/push_certificate_manager.d.ts +2 -0
- package/dist/push_certificate_manager.d.ts.map +1 -1
- package/dist/server/application_setup.d.ts +5 -0
- package/dist/server/application_setup.d.ts.map +1 -1
- package/dist/server/application_setup.js +7 -3
- package/dist/server/application_setup.js.map +1 -1
- package/dist/server/install_push_certificate_management.d.ts.map +1 -1
- package/dist/server/install_push_certificate_management.js +24 -1
- package/dist/server/install_push_certificate_management.js.map +1 -1
- package/dist/server/promote_trust_list.d.ts.map +1 -1
- package/dist/server/promote_trust_list.js +70 -32
- package/dist/server/promote_trust_list.js.map +1 -1
- package/dist/server/push_certificate_manager/create_signing_request.d.ts.map +1 -1
- package/dist/server/push_certificate_manager/create_signing_request.js +7 -1
- package/dist/server/push_certificate_manager/create_signing_request.js.map +1 -1
- package/dist/server/push_certificate_manager/get_rejected_list.d.ts +7 -0
- package/dist/server/push_certificate_manager/get_rejected_list.d.ts.map +1 -1
- package/dist/server/push_certificate_manager/get_rejected_list.js +7 -2
- package/dist/server/push_certificate_manager/get_rejected_list.js.map +1 -1
- package/dist/server/push_certificate_manager/internal_context.d.ts +6 -0
- package/dist/server/push_certificate_manager/internal_context.d.ts.map +1 -1
- package/dist/server/push_certificate_manager/internal_context.js +6 -0
- package/dist/server/push_certificate_manager/internal_context.js.map +1 -1
- package/dist/server/push_certificate_manager_server_impl.d.ts +15 -0
- package/dist/server/push_certificate_manager_server_impl.d.ts.map +1 -1
- package/dist/server/push_certificate_manager_server_impl.js +4 -0
- package/dist/server/push_certificate_manager_server_impl.js.map +1 -1
- package/dist/trust_list.d.ts +14 -14
- package/dist/trust_list.d.ts.map +1 -1
- package/package.json +8 -8
- package/source/push_certificate_manager.ts +2 -0
- package/source/server/application_setup.ts +8 -3
- package/source/server/install_push_certificate_management.ts +25 -1
- package/source/server/promote_trust_list.ts +86 -32
- package/source/server/push_certificate_manager/create_signing_request.ts +7 -1
- package/source/server/push_certificate_manager/get_rejected_list.ts +7 -2
- package/source/server/push_certificate_manager/internal_context.ts +10 -0
- package/source/server/push_certificate_manager_server_impl.ts +18 -0
- package/source/trust_list.ts +14 -14
package/source/trust_list.ts
CHANGED
|
@@ -41,21 +41,19 @@ export interface ITrustList {
|
|
|
41
41
|
*
|
|
42
42
|
* If an invalid Certificate is found the Server shall return an error and shall not update the Trust List.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* The Method returns a validation error if the Certificate is issued by a CA and the
|
|
45
|
+
* Certificate for the issuer is not in the Trust List. Issuer Certificates cannot be added
|
|
46
|
+
* with this Method: they are written, with their CRLs, through Open/Write/CloseAndUpdate.
|
|
46
47
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* This method cannot be called if the file object is open
|
|
52
|
-
* @param certificate - The DER encoded Certificate to add as a ByteStrng
|
|
53
|
-
* @param isTrustedCerticopy ficate - If TRUE the Certificate is added to the Trusted Certificates List. If FALSE the Certificate is added to the Issuer Certificates List.
|
|
48
|
+
* This method cannot be called if the file object is open (OPC 10000-12 §7.8.2.6).
|
|
49
|
+
* @param certificate - The DER encoded Certificate to add as a ByteString
|
|
50
|
+
* @param isTrustedCertificate - If TRUE the Certificate is added to the Trusted Certificates List. If FALSE BadCertificateInvalid is returned.
|
|
54
51
|
*
|
|
55
52
|
* **Result Code**
|
|
56
53
|
* - BadUserAccessDenied: The current user does not have the rights required.
|
|
57
54
|
* - BadCertificateInvalid: The certificate to add is invalid.
|
|
58
|
-
* - BadInvalidState: The object is
|
|
55
|
+
* - BadInvalidState: The object is open for write and CloseAndUpdate has not been called.
|
|
56
|
+
* - BadNotWritable: The object is open for read only.
|
|
59
57
|
*
|
|
60
58
|
*/
|
|
61
59
|
addCertificate(certificate: Buffer, isTrustedCertificate: boolean): Promise<StatusCode>;
|
|
@@ -67,16 +65,18 @@ export interface ITrustList {
|
|
|
67
65
|
*
|
|
68
66
|
* If the Certificate is a CA Certificate with associated CRLs then all CRLs are removed as well.
|
|
69
67
|
*
|
|
70
|
-
* This method cannot be called if the file object is open.
|
|
68
|
+
* This method cannot be called if the file object is open (OPC 10000-12 §7.8.2.7).
|
|
71
69
|
*
|
|
72
70
|
* @param thumbprint - The SHA1 hash of the Certificate to remove
|
|
73
71
|
* @param isTrustedCertificate - If TRUE the Certificate is removed from the Trusted Certificates List.
|
|
74
72
|
* If FALSE the Certificate is removed from the Issuer Certificates List.
|
|
75
73
|
*
|
|
76
74
|
* **Result Code**
|
|
77
|
-
* -BadUserAccessDenied:
|
|
78
|
-
* -BadInvalidArgument:
|
|
79
|
-
* -
|
|
75
|
+
* -BadUserAccessDenied: The current user does not have the rights required.
|
|
76
|
+
* -BadInvalidArgument: The certificate to remove was not found.
|
|
77
|
+
* -BadCertificateChainIncomplete: The Certificate is needed to validate another Certificate in the Trust List.
|
|
78
|
+
* -BadInvalidState: The object is open for write and CloseAndUpdate has not been called.
|
|
79
|
+
* -BadNotWritable: The object is open for read only.
|
|
80
80
|
*
|
|
81
81
|
*
|
|
82
82
|
*/
|