pub fn decode_est_base64(body: &[u8]) -> Result<Vec<u8>, String>Expand description
Decode a base64-encoded EST request body.
RFC 7030 §4.1 and RFC 8951 specify that EST request and response bodies use base64 encoding of the DER-encoded ASN.1 structures.
This function handles:
- Standard base64 (RFC 4648 §4)
- Base64 with line breaks (PEM-style)
- Stripping of whitespace