Loads the certificate and private key from a PFX buffer.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public static SSLFTPCertificate CreateFromPFX( byte[] pfxBuffer, string pfxPassword ) |
Visual Basic |
---|
Public Shared Function CreateFromPFX ( _ pfxBuffer As Byte(), _ pfxPassword As String _ ) As SSLFTPCertificate |
Visual C++ |
---|
public: static SSLFTPCertificate^ CreateFromPFX( array<unsigned char>^ pfxBuffer, String^ pfxPassword ) |
Parameters
- pfxBuffer
- Type: array<System..::..Byte>[]()[][]
Buffer containing the certificate in PFX format.
- pfxPassword
- Type: System..::..String
Password used to access PFX file.
Return Value
The certificate object (including the private key).Remarks
This PFX buffer must contain the private key.