SSLFTPCertificateWriteToPFX Method
Writes the certificate and (optionally) the private key to a file in PFX format.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public void WriteToPFX(
string pfxFilePath,
string password,
bool withPrivateKeys
)
Public Sub WriteToPFX (
pfxFilePath As String,
password As String,
withPrivateKeys As Boolean
)
public:
void WriteToPFX(
String^ pfxFilePath,
String^ password,
bool withPrivateKeys
)
member WriteToPFX :
pfxFilePath : string *
password : string *
withPrivateKeys : bool -> unit
Parameters
- pfxFilePath String
- Path of file.
- password String
- The password to use when encrypting the private keys.
- withPrivateKeys Boolean
- true if the private keys should be exported [if possible], false otherwise.