///
///
import { ConfigTypes } from "../types/ConfigTypes";
export declare class TLSSession {
private config;
private constants;
private cryptoUtils;
private sessions;
private certificates;
private privateKeys;
constructor(config: ConfigTypes.TLSConfig);
createSession(hostname: string, port: number): Promise;
getCertificate(hostname: string): Promise;
getPrivateKey(hostname: string): Promise;
verifyCertificate(cert: Buffer): Promise;
generateKeyPair(): Promise<{
publicKey: Buffer;
privateKey: Buffer;
}>;
close(): Promise;
}
//# sourceMappingURL=TLSSession.d.ts.map