Skip to main content

RsaPublicKeyRef

Type Alias RsaPublicKeyRef 

Source
pub type RsaPublicKeyRef<'a> = RsaPublicKey<UintRef<'a>>;
Expand description

RsaPublicKey with UintRef INTEGERs.

Aliased Type§

pub struct RsaPublicKeyRef<'a> {
    pub modulus: UintRef<'a>,
    pub public_exponent: UintRef<'a>,
}

Fields§

§modulus: UintRef<'a>

n: RSA modulus

§public_exponent: UintRef<'a>

e: RSA public exponent

Trait Implementations§

Source§

impl<'a, U> From<&'a RsaPrivateKey<U>> for RsaPublicKeyRef<'a>
where U: AsUintRef,

Source§

fn from(private_key: &'a RsaPrivateKey<U>) -> RsaPublicKeyRef<'a>

Converts to this type from the input type.