2016-05-31 17:16:45 +00:00
|
|
|
import "typings-global";
|
|
|
|
export declare class SshKey {
|
2016-06-25 00:29:34 +00:00
|
|
|
private _privKey;
|
|
|
|
private _pubKey;
|
|
|
|
private _hostVar;
|
|
|
|
private _authorized;
|
2016-05-31 17:16:45 +00:00
|
|
|
constructor(optionsArg?: {
|
|
|
|
private?: string;
|
|
|
|
public?: string;
|
|
|
|
host?: string;
|
2016-06-25 00:29:34 +00:00
|
|
|
authorized?: boolean;
|
2016-05-31 17:16:45 +00:00
|
|
|
});
|
|
|
|
host: string;
|
2016-06-25 00:29:34 +00:00
|
|
|
privKey: string;
|
|
|
|
privKeyBase64: string;
|
|
|
|
pubKey: string;
|
|
|
|
pubKeyBase64: string;
|
|
|
|
type: any;
|
|
|
|
read(filePathArg: any): void;
|
2016-05-31 17:16:45 +00:00
|
|
|
store(filePathArg?: string): void;
|
|
|
|
}
|