15 lines
355 B
TypeScript
15 lines
355 B
TypeScript
import * as plugins from './smartnginx.plugins';
|
|
|
|
export class CertHandler {
|
|
private _readyDeferred = plugins.smartpromise.defer();
|
|
certHandlerReady = this._readyDeferred.promise;
|
|
constructor() {} // nothing to do here for now
|
|
|
|
/**
|
|
* ensure a cert is at the right location
|
|
* @param hostName
|
|
*/
|
|
async ensureCertForHost(hostName) {
|
|
|
|
}
|
|
} |