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
217
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 0.2.1 to 0.2.2

test/test_service_fault.js

6

_generated_/_auto_generated_AsymmetricAlgorithmSecurityHeader.js

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.581Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.619Z
"use strict";

@@ -47,2 +47,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -49,0 +53,0 @@ /**

8

_generated_/_auto_generated_ChannelSecurityToken.js

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.737Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.764Z
"use strict";

@@ -35,3 +35,3 @@ /**

* @param [options.tokenId] {UInt32}
* @param [options.createdAt = Wed Dec 13 2017 09:26:32 GMT+0100 (Paris, Madrid)] {UtcTime}
* @param [options.createdAt = Thu Feb 22 2018 18:36:28 GMT+0100 (CET)] {UtcTime}
* @param [options.revisedLifeTime = 30000] {UInt32}

@@ -49,2 +49,6 @@ */

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -51,0 +55,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.805Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.791Z
"use strict";

@@ -46,2 +46,7 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.requestHeader = null; /* new RequestHeader(null); */
return ;
}

@@ -48,0 +53,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.809Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.801Z
"use strict";

@@ -46,2 +46,7 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.responseHeader = null; /* new ResponseHeader(null); */
return ;
}

@@ -48,0 +53,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.645Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.689Z
"use strict";

@@ -46,2 +46,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -48,0 +52,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.757Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.780Z
"use strict";

@@ -51,2 +51,7 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.requestHeader = null; /* new RequestHeader(null); */
return ;
}

@@ -53,0 +58,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.785Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.787Z
"use strict";

@@ -50,2 +50,8 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.responseHeader = null; /* new ResponseHeader(null); */
self.securityToken = null; /* new ChannelSecurityToken(null); */
return ;
}

@@ -52,0 +58,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.653Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.694Z
"use strict";

@@ -34,3 +34,3 @@ /**

* @param [options.authenticationToken] {NodeId}
* @param [options.timeStamp = Wed Dec 13 2017 09:26:32 GMT+0100 (Paris, Madrid)] {UtcTime}
* @param [options.timeStamp = Thu Feb 22 2018 18:36:28 GMT+0100 (CET)] {UtcTime}
* @param [options.requestHandle = 3735928559] {IntegerId}

@@ -52,2 +52,6 @@ * @param [options.returnDiagnostics] {UInt32}

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -54,0 +58,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.729Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.758Z
"use strict";

@@ -34,3 +34,3 @@ /**

* @param options {Object}
* @param [options.timeStamp = Wed Dec 13 2017 09:26:32 GMT+0100 (Paris, Madrid)] {UtcTime}
* @param [options.timeStamp = Thu Feb 22 2018 18:36:28 GMT+0100 (CET)] {UtcTime}
* @param [options.requestHandle] {IntegerId}

@@ -52,2 +52,7 @@ * @param [options.serviceResult] {StatusCode}

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.serviceDiagnostics = null; /* new DiagnosticInfo(null); */
return ;
}

@@ -54,0 +59,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.641Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.678Z
"use strict";

@@ -46,2 +46,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -48,0 +52,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.821Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.807Z
"use strict";

@@ -49,2 +49,7 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
self.responseHeader = null; /* new ResponseHeader(null); */
return ;
}

@@ -51,0 +56,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.745Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.774Z
"use strict";

@@ -46,2 +46,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -48,0 +52,0 @@ /**

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-12-13T08:26:32.629Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.669Z
"use strict";

@@ -45,2 +45,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -47,0 +51,0 @@ /**

@@ -0,0 +0,0 @@ var generator = require("node-opcua-generator");

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

ChannelSecurityToken.prototype.__defineGetter__("expired", function () {
return (this.createdAt.getTime() + this.revisedLifeTime * 1.6) < (new Date()).getTime();
return (this.createdAt.getTime() + this.revisedLifeTime ) < Date.now();
});

@@ -14,0 +14,0 @@

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

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

"node-opcua-assert": "^0.2.0",
"node-opcua-basic-types": "^0.2.1",
"node-opcua-data-model": "^0.2.1",
"node-opcua-extension-object": "^0.2.1",
"node-opcua-factory": "^0.2.1",
"node-opcua-nodeid": "^0.2.0",
"node-opcua-basic-types": "^0.2.2",
"node-opcua-data-model": "^0.2.2",
"node-opcua-extension-object": "^0.2.2",
"node-opcua-factory": "^0.2.2",
"node-opcua-nodeid": "^0.2.2",
"underscore": "^1.8.3"
},
"devDependencies": {
"node-opcua-binary-stream": "^0.2.1",
"node-opcua-binary-stream": "^0.2.2",
"node-opcua-buffer-utils": "^0.2.0",
"node-opcua-debug": "^0.2.0",
"node-opcua-generator": "^0.2.1",
"node-opcua-packet-analyzer": "^0.2.1",
"node-opcua-status-code": "^0.2.1",
"node-opcua-debug": "^0.2.2",
"node-opcua-generator": "^0.2.2",
"node-opcua-packet-analyzer": "^0.2.2",
"node-opcua-status-code": "^0.2.2",
"should": "13.2.1"

@@ -29,0 +29,0 @@ },

@@ -0,0 +0,0 @@ // OPC Unified Architecture, Part 6 page 36

@@ -0,0 +0,0 @@ var CloseSecureChannelRequest_Schema = {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ // Node-opcua raised a issue in mantis => issue 2895

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