pub trait RSAKey {
// Required methods
fn e(&self) -> &[u8] ⓘ;
fn p(&self) -> &[u8] ⓘ;
fn q(&self) -> &[u8] ⓘ;
fn pq(&self) -> Box<[u8]>;
fn dp1(&self) -> Box<[u8]>;
fn dq1(&self) -> Box<[u8]>;
fn n(&self) -> &[u8] ⓘ;
}Expand description
RSA-specific container for private key material to upload to an OpenPGP card.