logo
pub trait PublicKeyParts {
    fn n(&self) -> &BigUint;
    fn e(&self) -> &BigUint;

    fn size(&self) -> usize { ... }
}

Required Methods

Returns the modulus of the key.

Returns the public exponent of the key.

Provided Methods

Returns the modulus size in bytes. Raw signatures and ciphertexts for or by this public key will have the same size.

Implementors