Skip to main content

RingRsaKeyPairExt

Trait RingRsaKeyPairExt 

Source
pub trait RingRsaKeyPairExt {
    // Required method
    fn rsa_key_pair_ring(&self) -> KeyPair;
}
Expand description

Extension trait to convert uselesskey RSA fixtures into ring::rsa::KeyPair.

Required Methods§

Source

fn rsa_key_pair_ring(&self) -> KeyPair

Convert the RSA private key to a ring::rsa::KeyPair.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RingRsaKeyPairExt for RsaKeyPair

Available on crate feature rsa only.

Implementors§