Function thrussh::load_secret_key
[−]
[src]
pub fn load_secret_key(
secret: &AsRef<Path>,
public: Option<&AsRef<Path>>
) -> Result<Algorithm, Error>
Load a secret key from a file. Only ED25519 and RSA keys are currently supported.