pub fn load_seal_certificate(path: &Path) -> Result<Vec<u8>>Expand description
Load a configured seal certificate, normalizing PEM or DER input to DER.
PEM input may carry ordinary line endings and whitespace; the label must be a CERTIFICATE. The result must parse as an X.509 certificate (same der 0.8 codec CMS seal creation uses) before it is returned, so malformed input fails here instead of at bundle publication.