pub trait EncodePem: Encode + PemLabel {
fn to_pem(&self, line_ending: LineEnding) -> Result<String>;
}
Available on crate feature
pem
only.Expand description
Required Methods
fn to_pem(&self, line_ending: LineEnding) -> Result<String>
fn to_pem(&self, line_ending: LineEnding) -> Result<String>
Try to encode this type as PEM.