PyCERTSTORE.PFXExportCertStoreEx

bytes = PFXExportCertStoreEx(Password, Flags )

Exports certificates and associated private keys in PKCS#12 format

Parameters

Password=None : str

Passphrase to be used to encrypt the output

Flags=EXPORT_PRIVATE_KEYS|REPORT_NO_PRIVATE_KEY|REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY : int

Options to be used while exporting