edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Loads the certificate from a CER file, and the private key from a PVK file.

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
[ObsoleteAttribute("Use CreateFromCER and AssociatePrivateKey.")]
public static SSLFTPCertificate CreateFromCER_PVK(
	string cerFileName,
	string pvkFileName,
	string pvkPassword
)
Visual Basic
<ObsoleteAttribute("Use CreateFromCER and AssociatePrivateKey.")> _
Public Shared Function CreateFromCER_PVK ( _
	cerFileName As String, _
	pvkFileName As String, _
	pvkPassword As String _
) As SSLFTPCertificate
Visual C++
[ObsoleteAttribute(L"Use CreateFromCER and AssociatePrivateKey.")]
public:
static SSLFTPCertificate^ CreateFromCER_PVK(
	String^ cerFileName, 
	String^ pvkFileName, 
	String^ pvkPassword
)

Parameters

cerFileName
Type: System..::..String
Name of CER file.
pvkFileName
Type: System..::..String
Name of PVK file
pvkPassword
Type: System..::..String
Password used to access PVK file.

Return Value

The certificate object (including the private key).

See Also