node-opcua-service-secure-channel
Advanced tools
Comparing version 2.16.0 to 2.17.0
@@ -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
42538
557
+ Added@types/lodash@4.14.161(transitive)
+ Addedlodash@4.17.20(transitive)
+ Addednode-opcua-basic-types@2.17.0(transitive)
+ Addednode-opcua-binary-stream@2.17.0(transitive)
+ Addednode-opcua-buffer-utils@2.17.0(transitive)
+ Addednode-opcua-data-model@2.17.0(transitive)
+ Addednode-opcua-data-value@2.17.0(transitive)
+ Addednode-opcua-date-time@2.17.0(transitive)
+ Addednode-opcua-debug@2.17.0(transitive)
+ Addednode-opcua-enum@2.17.0(transitive)
+ Addednode-opcua-extension-object@2.17.0(transitive)
+ Addednode-opcua-factory@2.17.0(transitive)
+ Addednode-opcua-generator@2.17.0(transitive)
+ Addednode-opcua-nodeid@2.17.0(transitive)
+ Addednode-opcua-numeric-range@2.17.0(transitive)
+ Addednode-opcua-packet-analyzer@2.17.0(transitive)
+ Addednode-opcua-schemas@2.17.0(transitive)
+ Addednode-opcua-status-code@2.17.0(transitive)
+ Addednode-opcua-types@2.17.0(transitive)
+ Addednode-opcua-utils@2.17.0(transitive)
+ Addednode-opcua-variant@2.17.0(transitive)
+ Addednode-opcua-xml2json@2.17.0(transitive)
+ Addedtypescript@4.9.5(transitive)
- Removednode-opcua-basic-types@2.16.0(transitive)
- Removednode-opcua-binary-stream@2.16.0(transitive)
- Removednode-opcua-buffer-utils@2.16.0(transitive)
- Removednode-opcua-data-model@2.16.0(transitive)
- Removednode-opcua-data-value@2.16.0(transitive)
- Removednode-opcua-date-time@2.16.0(transitive)
- Removednode-opcua-debug@2.16.0(transitive)
- Removednode-opcua-enum@2.16.0(transitive)
- Removednode-opcua-extension-object@2.16.0(transitive)
- Removednode-opcua-factory@2.16.0(transitive)
- Removednode-opcua-generator@2.16.0(transitive)
- Removednode-opcua-nodeid@2.16.0(transitive)
- Removednode-opcua-numeric-range@2.16.0(transitive)
- Removednode-opcua-packet-analyzer@2.16.0(transitive)
- Removednode-opcua-schemas@2.16.0(transitive)
- Removednode-opcua-status-code@2.16.0(transitive)
- Removednode-opcua-types@2.16.0(transitive)
- Removednode-opcua-utils@2.16.0(transitive)
- Removednode-opcua-variant@2.16.0(transitive)
- Removednode-opcua-xml2json@2.16.0(transitive)
- Removedprettier@2.8.8(transitive)
- Removedtypescript@3.9.10(transitive)
Updatednode-opcua-data-model@2.17.0
Updatednode-opcua-factory@2.17.0
Updatednode-opcua-nodeid@2.17.0
Updatednode-opcua-types@2.17.0