Function pem_rfc7468::encode[][src]

pub fn encode<'a>(
    label: &str,
    line_ending: LineEnding,
    input: &[u8],
    buf: &'a mut [u8]
) -> Result<&'a [u8]>
Expand description

Encode a PEM document according to RFC 7468’s “Strict” grammar.