iota_keys::keypair_file

Function read_authority_keypair_from_file

Source
pub fn read_authority_keypair_from_file<P: AsRef<Path>>(
    path: P,
) -> Result<AuthorityKeyPair>
Expand description

Read from file as Base64 encoded privkey and return a AuthorityKeyPair.