[−][src]Trait rsa_export::Encode
Trait for encoding the keys
Required methods
pub fn as_pkcs1(&self) -> Result<Vec<u8>, Error>
[src]
Encode in the PKCS#1 format
pub fn as_pkcs8(&self) -> Result<Vec<u8>, Error>
[src]
Encode in the PKCS#8 format