26 lines
569 B
TypeScript
26 lines
569 B
TypeScript
import 'typings-global';
|
|
export declare class SshKey {
|
|
private _privKey;
|
|
private _pubKey;
|
|
private _hostVar;
|
|
private _authorized;
|
|
/**
|
|
* the constructor for class SshKey
|
|
*/
|
|
constructor(optionsArg?: {
|
|
private?: string;
|
|
public?: string;
|
|
host?: string;
|
|
authorized?: boolean;
|
|
});
|
|
host: string;
|
|
privKey: string;
|
|
privKeyBase64: string;
|
|
pubKey: string;
|
|
pubKeyBase64: string;
|
|
authorized: boolean;
|
|
type: any;
|
|
read(filePathArg: any): void;
|
|
store(dirPathArg: string): void;
|
|
}
|