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