pub type RsaPublicKey = PublicKey;👎Deprecated since 0.10.0:
use rsa::PublicKey instead
Expand description
Deprecated alias for PublicKey.
Aliased Type§
pub struct RsaPublicKey {
pub(crate) n: NonZero<BoxedUint>,
pub(crate) e: BoxedUint,
pub(crate) n_params: BoxedMontyParams,
}Fields§
§n: NonZero<BoxedUint>Modulus: product of prime numbers p and q
e: BoxedUintPublic exponent: power to which a plaintext message is raised in order to encrypt it.
The recommended value is 0x10001 (65537).
n_params: BoxedMontyParamsn represented as its Montgomery parameters.