[−][src]Function ssb_keyfile::load_keys_from_path
pub fn load_keys_from_path<P: AsRef<Path>>(
path: P
) -> Result<(PublicKey, SecretKey), Error>
Read the key file at the given path and parse the keys from it.
The KeyfileError
returned by this is never of the
KeyfileError::UnknownLocation
variant.