RSAKey

Trait RSAKey 

Source
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.

Required Methods§

Source

fn e(&self) -> &[u8]

Source

fn p(&self) -> &[u8]

Source

fn q(&self) -> &[u8]

Source

fn pq(&self) -> Box<[u8]>

Source

fn dp1(&self) -> Box<[u8]>

Source

fn dq1(&self) -> Box<[u8]>

Source

fn n(&self) -> &[u8]

Implementors§