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);
const self = this;
self.endpoints = [];
self.options = options;
this.serverInfo = _.clone(default_server_info);
this.serverInfo = _.extend(this.serverInfo, options.serverInfo);
self.serverInfo.applicationName = new LocalizedText(self.serverInfo.applicationName);
this.serverInfo = new endpoints_service.ApplicationDescription(this.serverInfo);
self.serverCertificateManager = options.serverCertificateManager || new CertificateManager({
name: "certificates"
});
}