C# Class Elastacloud.AzureManagement.LinuxKeyConverter.SSHKeyConverter

Used to convert SSH keys between formats
Inheritance: IKeyConverter
Mostra file Open project: azurecoder/fluent-management

Public Methods

Method Description
Convert ( ) : bool

Converts an SSH key between .pem and opensshv2 formats

SSHKeyConverter ( string privateKeyFile, string password ) : System

Constructs an SSH conversion path for keys

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
ConvertKey ( ) : string

Method Details

Convert() public method

Converts an SSH key between .pem and opensshv2 formats
public Convert ( ) : bool
return bool

SSHKeyConverter() public method

Constructs an SSH conversion path for keys
public SSHKeyConverter ( string privateKeyFile, string password ) : System
privateKeyFile string
password string
return System

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string