ExportCertificate Method
Saves the current certificate to a PFX file.
Syntax
int ExportCertificate(char* lpszPFXFile, char* lpszPassword);
Remarks
This method will save the current certificate to a PFX file. The current certificate and its private key are saved to the file specified by PFXFile in PKCS12 format. The file contents are protected by Password.
In the Unix edition, the current certificate and its private key are saved to the file specified by PFXFile in PEM format. The private key is encrypted using the Password.