edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSLFTPCertificateGetPFXBuffer Method

Returns the certificate in buffer in the PFX format.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public byte[] GetPFXBuffer(
	string password,
	bool withPrivateKeys
)

Parameters

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.

Return Value

Byte
A byte-array containing the certificate in PFX format

See Also