Trait AuthorizedKeysFormat

Source
pub trait AuthorizedKeysFormat {
    // Required methods
    fn to_openssl(&self, comment: &str) -> String;
    fn from_openssl(
        openssl_pubkey: &str,
    ) -> Result<(Self, String), RsaPubKeyError>
       where Self: Sized;
}

Required Methods§

Source

fn to_openssl(&self, comment: &str) -> String

Source

fn from_openssl(openssl_pubkey: &str) -> Result<(Self, String), RsaPubKeyError>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl AuthorizedKeysFormat for RsaPublicKey

Source§

fn to_openssl(&self, comment: &str) -> String

Source§

fn from_openssl(openssl_pubkey: &str) -> Result<(Self, String), RsaPubKeyError>

Implementors§