Writes the certificate and (optionally) the private key to a file in PFX format.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public void WriteToPFX( string pfxFilePath, string password, bool withPrivateKeys ) |
Visual Basic |
---|
Public Sub WriteToPFX ( _ pfxFilePath As String, _ password As String, _ withPrivateKeys As Boolean _ ) |
Visual C++ |
---|
public: void WriteToPFX( String^ pfxFilePath, String^ password, bool withPrivateKeys ) |
Parameters
- pfxFilePath
- Type: System..::..String
Path of file.
- password
- Type: System..::..String
The password to use when encrypting the private keys.
- withPrivateKeys
- Type: System..::..Boolean
true if the private keys should be exported [if possible], false otherwise.