pub fn certificate_to_pfx(
cert: &Certificate,
password: &str,
name: &str,
) -> Result<Vec<u8>>Expand description
Serialize a certificate to a PKCS #12 .pfx file.
This file format is what is used by signtool and other Microsoft tools.