fn rewrap_pem(pem: &str) -> Option<String>Expand description
Re-wrap the base64 body of a PEM document to 64-character lines.
The strict RFC 7468 parser requires the body wrapped at 64 characters, but some exporters emit it on a single line. Returns None if the input is not a single well-formed PEM block, in which case the caller keeps the original parse error.