Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-service-secure-channel

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-service-secure-channel - npm Package Compare versions

Comparing version 2.49.0 to 2.51.0

22

dist/AsymmetricAlgorithmSecurityHeader.js

@@ -11,3 +11,3 @@ "use strict";

const node_opcua_factory_1 = require("node-opcua-factory");
const schemaAsymmetricAlgorithmSecurityHeader = node_opcua_factory_1.buildStructuredType({
const schemaAsymmetricAlgorithmSecurityHeader = (0, node_opcua_factory_1.buildStructuredType)({
name: "AsymmetricAlgorithmSecurityHeader",

@@ -51,19 +51,19 @@ baseType: "BaseUAObject",

if (node_opcua_factory_1.parameters.debugSchemaHelper) {
node_opcua_factory_1.check_options_correctness_against_schema(this, schema, options);
(0, node_opcua_factory_1.check_options_correctness_against_schema)(this, schema, options);
}
this.securityPolicyUri = node_opcua_factory_1.initialize_field(schema.fields[0], options.securityPolicyUri);
this.senderCertificate = node_opcua_factory_1.initialize_field(schema.fields[1], options.senderCertificate);
this.receiverCertificateThumbprint = node_opcua_factory_1.initialize_field(schema.fields[2], options.receiverCertificateThumbprint);
this.securityPolicyUri = (0, node_opcua_factory_1.initialize_field)(schema.fields[0], options.securityPolicyUri);
this.senderCertificate = (0, node_opcua_factory_1.initialize_field)(schema.fields[1], options.senderCertificate);
this.receiverCertificateThumbprint = (0, node_opcua_factory_1.initialize_field)(schema.fields[2], options.receiverCertificateThumbprint);
}
encode(stream) {
super.encode(stream);
node_opcua_basic_types_1.encodeString(this.securityPolicyUri, stream);
node_opcua_basic_types_1.encodeByteString(this.senderCertificate, stream);
node_opcua_basic_types_1.encodeByteString(this.receiverCertificateThumbprint, stream);
(0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
(0, node_opcua_basic_types_1.encodeByteString)(this.senderCertificate, stream);
(0, node_opcua_basic_types_1.encodeByteString)(this.receiverCertificateThumbprint, stream);
}
decode(stream) {
super.decode(stream);
this.securityPolicyUri = node_opcua_basic_types_1.decodeString(stream);
this.senderCertificate = node_opcua_basic_types_1.decodeByteString(stream);
this.receiverCertificateThumbprint = node_opcua_basic_types_1.decodeByteString(stream);
this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream);
this.senderCertificate = (0, node_opcua_basic_types_1.decodeByteString)(stream);
this.receiverCertificateThumbprint = (0, node_opcua_basic_types_1.decodeByteString)(stream);
}

@@ -70,0 +70,0 @@ }

@@ -61,7 +61,7 @@ "use strict";

// 1. timestamp UtcTime The time the Client sent the request.
node_opcua_assert_1.assert(node_opcua_types_1.RequestHeader.schema.fields[1].name === "timestamp");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.RequestHeader.schema.fields[1].name === "timestamp");
node_opcua_types_1.RequestHeader.schema.fields[1].defaultValue = () => new Date();
// 2. requestHandle IntegerId " A requestHandle associated with the request. This client defined handle can
// be used to cancel the request. It is also returned in the response.
node_opcua_assert_1.assert(node_opcua_types_1.RequestHeader.schema.fields[2].name === "requestHandle");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.RequestHeader.schema.fields[2].name === "requestHandle");
node_opcua_types_1.RequestHeader.schema.fields[2].defaultValue = 0xDEADBEEF;

@@ -74,3 +74,3 @@ // 3. returnDiagnostics UInt32 A bit mask that identifies the types of vendor-specific diagnostics to be

// 6. additionalHeader ExtensionObject
node_opcua_assert_1.assert(node_opcua_types_1.RequestHeader.schema.fields[6].name === "additionalHeader");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.RequestHeader.schema.fields[6].name === "additionalHeader");
node_opcua_types_1.RequestHeader.schema.fields[6].defaultValue = () => null;

@@ -80,3 +80,3 @@ // OPC Unified Architecture, Part 4 $7.27 page 139

// 0. timestamp UtcTime The time the Server sent the response.
node_opcua_assert_1.assert(node_opcua_types_1.ResponseHeader.schema.fields[0].name === "timestamp");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.ResponseHeader.schema.fields[0].name === "timestamp");
node_opcua_types_1.ResponseHeader.schema.fields[0].defaultValue = () => new Date();

@@ -111,7 +111,7 @@ // 1. requestHandle IntegerId The requestHandle given by the Client to the request.

// algorithm String The cryptography algorithm used to create the signature.
node_opcua_assert_1.assert(node_opcua_types_1.SignatureData.schema.fields[0].name === "algorithm");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.SignatureData.schema.fields[0].name === "algorithm");
node_opcua_types_1.SignatureData.schema.fields[0].defaultValue = () => null;
// signature ByteString The digital signature.
node_opcua_assert_1.assert(node_opcua_types_1.SignatureData.schema.fields[1].name === "signature");
(0, node_opcua_assert_1.assert)(node_opcua_types_1.SignatureData.schema.fields[1].name === "signature");
node_opcua_types_1.SignatureData.schema.fields[1].defaultValue = () => null;
//# sourceMappingURL=index.js.map

@@ -11,3 +11,3 @@ "use strict";

const node_opcua_factory_1 = require("node-opcua-factory");
const schemaSymmetricAlgorithmSecurityHeader = node_opcua_factory_1.buildStructuredType({
const schemaSymmetricAlgorithmSecurityHeader = (0, node_opcua_factory_1.buildStructuredType)({
name: "SymmetricAlgorithmSecurityHeader",

@@ -28,3 +28,3 @@ baseType: "BaseUAObject",

const schema = schemaSymmetricAlgorithmSecurityHeader;
this.tokenId = node_opcua_factory_1.initialize_field(schema.fields[0], options.tokenId);
this.tokenId = (0, node_opcua_factory_1.initialize_field)(schema.fields[0], options.tokenId);
}

@@ -34,3 +34,3 @@ encode(stream) {

super.encode(stream);
node_opcua_basic_types_1.encodeUInt32(this.tokenId, stream);
(0, node_opcua_basic_types_1.encodeUInt32)(this.tokenId, stream);
}

@@ -40,3 +40,3 @@ decode(stream) {

super.decode(stream);
this.tokenId = node_opcua_basic_types_1.decodeUInt32(stream);
this.tokenId = (0, node_opcua_basic_types_1.decodeUInt32)(stream);
}

@@ -43,0 +43,0 @@ }

{
"name": "node-opcua-service-secure-channel",
"version": "2.49.0",
"version": "2.51.0",
"description": "pure nodejs OPCUA SDK - module -service-secure-channel",

@@ -13,17 +13,17 @@ "main": "./dist/index.js",

"dependencies": {
"node-opcua-assert": "2.42.0",
"node-opcua-basic-types": "2.47.0",
"node-opcua-binary-stream": "2.42.0",
"node-opcua-data-model": "2.49.0",
"node-opcua-extension-object": "2.49.0",
"node-opcua-factory": "2.49.0",
"node-opcua-nodeid": "2.45.0",
"node-opcua-types": "2.49.0"
"node-opcua-assert": "2.51.0",
"node-opcua-basic-types": "2.51.0",
"node-opcua-binary-stream": "2.51.0",
"node-opcua-data-model": "2.51.0",
"node-opcua-extension-object": "2.51.0",
"node-opcua-factory": "2.51.0",
"node-opcua-nodeid": "2.51.0",
"node-opcua-types": "2.51.0"
},
"devDependencies": {
"node-opcua-binary-stream": "2.42.0",
"node-opcua-buffer-utils": "2.42.0",
"node-opcua-debug": "2.42.0",
"node-opcua-packet-analyzer": "2.49.0",
"node-opcua-status-code": "2.42.0",
"node-opcua-buffer-utils": "2.51.0",
"node-opcua-debug": "2.51.0",
"node-opcua-packet-analyzer": "2.51.0",
"node-opcua-status-code": "2.51.0",
"should": "^13.2.3"

@@ -46,3 +46,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "81654553c6d317fd918ca99b749550eb5e951c23"
"gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc