Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
options.privateKeyFile = options.privateKeyFile ||
constructFilename("certificates/PKI/own/private/private_key.pem");
super(options);
this.capabilitiesForMDNS = [];
this.endpoints = [];
this.options = options;
const serverInfo: any = _.extend(_.clone(default_server_info), options.serverInfo);
serverInfo.applicationName = new LocalizedText(serverInfo.applicationName);
this.serverInfo = new ApplicationDescription(serverInfo);
this.serverCertificateManager = options.serverCertificateManager
|| new OPCUACertificateManager({
name: "certificates"
});
}