Skip to main content

RsaPrivateKey

Type Alias RsaPrivateKey 

Source
pub type RsaPrivateKey = PrivateKey;
👎Deprecated since 0.10.0:

use rsa::PrivateKey instead

Expand description

Deprecated alias for PrivateKey.

Aliased Type§

pub struct RsaPrivateKey {
    pubkey_components: PublicKey,
    pub(crate) d: BoxedUint,
    pub(crate) primes: Vec<Odd<BoxedUint>>,
    pub(crate) precomputed: Option<PrecomputedValues>,
}

Fields§

§pubkey_components: PublicKey

Public components of the private key.

§d: BoxedUint

Private exponent.

§primes: Vec<Odd<BoxedUint>>

Prime factors of N, contains >= 2 elements.

§precomputed: Option<PrecomputedValues>

Precomputed values to speed up private operations.