/// RSA public key components #[derive(Debug)] pub struct Components + core::fmt::Debug> { /// The public modulus, encoded in big-endian bytes without leading zeros. pub n: B, /// The public exponent, encoded in big-endian bytes without leading zeros. pub e: B, } impl Copy for Components where B: AsRef<[u8]> + core::fmt::Debug {} impl Clone for Components where B: AsRef<[u8]> + core::fmt::Debug, { fn clone(&self) -> Self { Self { n: self.n.clone(), e: self.e.clone(), } } }