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