Trait IntoPublicKey

Source
pub trait IntoPublicKey {
    // Required method
    fn into_public_key(self) -> String;
}
Expand description

Consume the input and return a public KKEY

This is used by Token::add_signing_key to allow taking either a String, &str, or a &KeyPair

Required Methods§

Source

fn into_public_key(self) -> String

Performs the conversion

Implementations on Foreign Types§

Source§

impl IntoPublicKey for &str

Source§

impl IntoPublicKey for String

Implementors§