hickory_proto::dnssec::openssl

Function rsa_key_buf

Source
pub fn rsa_key_buf<T: HasPublic>(
    key: &Rsa<T>,
    algorithm: Algorithm,
) -> PublicKeyBuf
Available on crate features dnssec and dnssec-openssl only.
Expand description

Constructs a new PublicKeyBuf from an OpenSslRsa key.