Trait rsa_pem::KeyExt [−][src]
Extensions to keys for formatting and reading PKCS1 and PKCS8 PEM strings
Required methods
fn to_pem_pkcs8(&self) -> Result<String, KeyError>
[src]
Write a PKCS8 pem string
fn from_pem_pkcs8(pem: &str) -> Result<Self, KeyError> where
Self: Sized,
[src]
Self: Sized,
Read a PKCS8 pem string
fn to_pem_pkcs1(&self) -> Result<String, KeyError>
[src]
Write a PKCS1 pem string
fn from_pem_pkcs1(pem: &str) -> Result<Self, KeyError> where
Self: Sized,
[src]
Self: Sized,
Read a PKCS1 pem string