Loads the certificate and private key from a PFX file.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public static SSLFTPCertificate CreateFromPFX( string pfxFileName, string pfxPassword, bool exportable ) |
Visual Basic |
---|
Public Shared Function CreateFromPFX ( _ pfxFileName As String, _ pfxPassword As String, _ exportable As Boolean _ ) As SSLFTPCertificate |
Visual C++ |
---|
public: static SSLFTPCertificate^ CreateFromPFX( String^ pfxFileName, String^ pfxPassword, bool exportable ) |
Parameters
- pfxFileName
- Type: System..::..String
Name of PFX file.
- pfxPassword
- Type: System..::..String
Password used to access PFX file.
- exportable
- Type: System..::..Boolean
Return Value
The certificate object (including the private key).Remarks
This PFX file must contain the private key.