Discuss this help topic in SecureBlackbox Forum
Writes the certificate to the stream in PFX format.
Declaration
Parameters
- Stream - The stream to which the certificate is written.
- Password - The pass phrase to encrypt the certificate. If certificate shouldn't be encrypted, set this parameter to empty string
- KeyEncryptionAlgorithm - the PBE (password-based) algorithm which should be used to encrypt private key. See values below. If this parameter is omitted, the default algorithm is SB_ALGORITHM_PBE_SHA1_3DES.
- CertEncryptionAlgorithm - the PBE (password-based) algorithm which should be used to encrypt certificate. See values below. If this parameter is omitted, the default algorithm is SB_ALGORITHM_PBE_SHA1_RC2_40.
Values:
Return value
0 on success.
PKCS12 error code otherwise.
Description
Use this method to write the certificate to stream. The certificate is saved in PFX format.
Discuss this help topic in SecureBlackbox Forum