Trait ed25519_dalek::pkcs8::spki::der::EncodePem
pub trait EncodePem: Encode + PemLabel {
// Required method
fn to_pem(&self, line_ending: LineEnding) -> Result<String, Error>;
}
Available on crate features
pkcs8
and pem
only.Expand description
Required Methods§
fn to_pem(&self, line_ending: LineEnding) -> Result<String, Error>
fn to_pem(&self, line_ending: LineEnding) -> Result<String, Error>
Try to encode this type as PEM.
Object Safety§
This trait is not object safe.