Function ed25519_dalek::pkcs8::spki::der::pem::encode_string
pub fn encode_string(
label: &str,
line_ending: LineEnding,
input: &[u8]
) -> Result<String, Error>
Available on crate features
pkcs8
and alloc
only.Expand description
Encode a PEM document according to RFC 7468’s “Strict” grammar, returning
the result as a String
.