Expand description
PEM encoder.
Structs§
- Encoder
- Buffered PEM encoder.
Functions§
- base64_
len_ 🔒wrapped - Compute Base64 length line-wrapped at the specified width with the given line ending.
- encapsulated_
len - Compute the length of a PEM encoded document which encapsulates a Base64-encoded body including line endings every 64 characters.
- encapsulated_
len_ 🔒inner - Compute the encapsulated length of Base64 data of the given length.
- encapsulated_
len_ wrapped - Compute the length of a PEM encoded document with the Base64 body
line wrapped at the specified
width. - encode
- Encode a PEM document according to RFC 7468’s “Strict” grammar.
- encode_
string - Encode a PEM document according to RFC 7468’s “Strict” grammar, returning
the result as a
String. - encoded_
len - Get the length of a PEM encoded document with the given bytes and label.