Expand description
PEM text armor parsing and encoding.
Structs§
- PemDecode
Policy - Policy controlling PEM decoding.
- PemDocument
- A decoded PEM document.
- PemEncode
Options - Options controlling PEM encoding.
Enums§
- PemError
- Error returned when PEM text armor cannot be parsed or encoded.
- PemLabel
- Supported PEM labels.
- PemLine
Ending - Line ending emitted by PEM encoding.
Functions§
- decode_
pem - Decode PEM text armor into a label and DER body.
- encode_
pem - Encode DER bytes as PEM text armor.