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.16.0 to 2.17.0

63

dist/AsymmetricAlgorithmSecurityHeader.js

@@ -43,39 +43,36 @@ "use strict";

});
let AsymmetricAlgorithmSecurityHeader = /** @class */ (() => {
class AsymmetricAlgorithmSecurityHeader extends node_opcua_factory_1.BaseUAObject {
constructor(options) {
options = options || {};
super();
const schema = schemaAsymmetricAlgorithmSecurityHeader;
/* istanbul ignore next */
if (node_opcua_factory_1.parameters.debugSchemaHelper) {
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);
class AsymmetricAlgorithmSecurityHeader extends node_opcua_factory_1.BaseUAObject {
constructor(options) {
options = options || {};
super();
const schema = schemaAsymmetricAlgorithmSecurityHeader;
/* istanbul ignore next */
if (node_opcua_factory_1.parameters.debugSchemaHelper) {
node_opcua_factory_1.check_options_correctness_against_schema(this, schema, options);
}
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);
}
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 = 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);
}
AsymmetricAlgorithmSecurityHeader.possibleFields = [
"securityPolicyUri",
"senderCertificate",
"receiverCertificateThumbprint"
];
AsymmetricAlgorithmSecurityHeader.schema = schemaAsymmetricAlgorithmSecurityHeader;
return AsymmetricAlgorithmSecurityHeader;
})();
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);
}
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);
}
}
exports.AsymmetricAlgorithmSecurityHeader = AsymmetricAlgorithmSecurityHeader;
AsymmetricAlgorithmSecurityHeader.possibleFields = [
"securityPolicyUri",
"senderCertificate",
"receiverCertificateThumbprint"
];
AsymmetricAlgorithmSecurityHeader.schema = schemaAsymmetricAlgorithmSecurityHeader;
AsymmetricAlgorithmSecurityHeader.prototype.schema = AsymmetricAlgorithmSecurityHeader.schema;
//# sourceMappingURL=AsymmetricAlgorithmSecurityHeader.js.map

@@ -10,6 +10,6 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasTokenExpired = void 0;
exports.hasTokenExpired = exports.SymmetricAlgorithmSecurityHeader = exports.AsymmetricAlgorithmSecurityHeader = exports.UserTokenPolicy = exports._enumerationMessageSecurityMode = exports.MessageSecurityMode = exports.SignatureData = exports.RequestHeader = exports.ResponseHeader = exports.SecurityTokenRequestType = exports.ServiceFault = exports.CloseSecureChannelResponse = exports.CloseSecureChannelRequest = exports.OpenSecureChannelResponse = exports.OpenSecureChannelRequest = exports.ChannelSecurityToken = void 0;
/**

@@ -16,0 +16,0 @@ * @module node-opcua-service-secure-channel

@@ -22,27 +22,24 @@ "use strict";

});
let SymmetricAlgorithmSecurityHeader = /** @class */ (() => {
class SymmetricAlgorithmSecurityHeader extends node_opcua_factory_1.BaseUAObject {
constructor(options) {
options = options || {};
super();
const schema = schemaSymmetricAlgorithmSecurityHeader;
this.tokenId = node_opcua_factory_1.initialize_field(schema.fields[0], options.tokenId);
}
encode(stream) {
// call base class implementation first
super.encode(stream);
node_opcua_basic_types_1.encodeUInt32(this.tokenId, stream);
}
decode(stream) {
// call base class implementation first
super.decode(stream);
this.tokenId = node_opcua_basic_types_1.decodeUInt32(stream);
}
class SymmetricAlgorithmSecurityHeader extends node_opcua_factory_1.BaseUAObject {
constructor(options) {
options = options || {};
super();
const schema = schemaSymmetricAlgorithmSecurityHeader;
this.tokenId = node_opcua_factory_1.initialize_field(schema.fields[0], options.tokenId);
}
SymmetricAlgorithmSecurityHeader.possibleFields = ["tokenId"];
SymmetricAlgorithmSecurityHeader.schema = schemaSymmetricAlgorithmSecurityHeader;
return SymmetricAlgorithmSecurityHeader;
})();
encode(stream) {
// call base class implementation first
super.encode(stream);
node_opcua_basic_types_1.encodeUInt32(this.tokenId, stream);
}
decode(stream) {
// call base class implementation first
super.decode(stream);
this.tokenId = node_opcua_basic_types_1.decodeUInt32(stream);
}
}
exports.SymmetricAlgorithmSecurityHeader = SymmetricAlgorithmSecurityHeader;
SymmetricAlgorithmSecurityHeader.possibleFields = ["tokenId"];
SymmetricAlgorithmSecurityHeader.schema = schemaSymmetricAlgorithmSecurityHeader;
SymmetricAlgorithmSecurityHeader.prototype.schema = SymmetricAlgorithmSecurityHeader.schema;
//# sourceMappingURL=SymmetricAlgorithmSecurityHeader.js.map
{
"name": "node-opcua-service-secure-channel",
"version": "2.16.0",
"version": "2.17.0",
"description": "pure nodejs OPCUA SDK - module -service-secure-channel",

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

"node-opcua-assert": "2.16.0",
"node-opcua-basic-types": "2.16.0",
"node-opcua-binary-stream": "2.16.0",
"node-opcua-data-model": "2.16.0",
"node-opcua-extension-object": "2.16.0",
"node-opcua-factory": "2.16.0",
"node-opcua-nodeid": "2.16.0",
"node-opcua-types": "2.16.0"
"node-opcua-basic-types": "2.17.0",
"node-opcua-binary-stream": "2.17.0",
"node-opcua-data-model": "2.17.0",
"node-opcua-extension-object": "2.17.0",
"node-opcua-factory": "2.17.0",
"node-opcua-nodeid": "2.17.0",
"node-opcua-types": "2.17.0"
},
"devDependencies": {
"node-opcua-binary-stream": "2.8.1",
"node-opcua-buffer-utils": "2.16.0",
"node-opcua-debug": "2.16.0",
"node-opcua-generator": "2.16.0",
"node-opcua-packet-analyzer": "2.16.0",
"node-opcua-status-code": "2.16.0",
"node-opcua-binary-stream": "2.16.0",
"node-opcua-buffer-utils": "2.17.0",
"node-opcua-debug": "2.17.0",
"node-opcua-generator": "2.17.0",
"node-opcua-packet-analyzer": "2.17.0",
"node-opcua-status-code": "2.17.0",
"should": "^13.2.3"

@@ -47,3 +47,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "9fa7d50952a7c39ff6790888a2bd6f32fe46836d"
"gitHead": "545072c8184378254468c383b78e74e7e8e31ab7"
}

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