pub trait X509Utils {
fn get_as_pem_string(&self, includeheaders: bool) -> String;
}
Expand description
Extensions for openssl::x509::X509 for nicer functionality
Required Methods
sourcefn get_as_pem_string(&self, includeheaders: bool) -> String
fn get_as_pem_string(&self, includeheaders: bool) -> String
return an X509 object as a string,
either including the --- BEGIN LOLS ---
or not
Implementations on Foreign Types
sourceimpl X509Utils for X509
impl X509Utils for X509
sourcefn get_as_pem_string(&self, includeheaders: bool) -> String
fn get_as_pem_string(&self, includeheaders: bool) -> String
return an X509 object as a string,
either including the --- BEGIN LOLS ---
or not