pub fn parse_pfx_data(
data: &[u8],
password: &str,
) -> Result<(CapturedX509Certificate, InMemoryPrivateKey), AppleCodesignError>
Expand description
Parse PFX data into a key pair.
PFX data is commonly encountered in .p12
files, such as those created
when exporting certificates from Appleās Keychain Access
application.
The contents of the PFX file require a password to decrypt. However, if no password was provided to create the PFX data, this password may be the empty string.