Loads the certificate and private key from a PKCS12 buffer.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public static SSLFTPCertificate CreateFromPKCS12( byte[] pkcs12Buffer, string pkcs12Password ) |
Visual Basic |
---|
Public Shared Function CreateFromPKCS12 ( _ pkcs12Buffer As Byte(), _ pkcs12Password As String _ ) As SSLFTPCertificate |
Visual C++ |
---|
public: static SSLFTPCertificate^ CreateFromPKCS12( array<unsigned char>^ pkcs12Buffer, String^ pkcs12Password ) |
Return Value
The certificate object (including the private key).Remarks
This PKCS12 buffer must contain the private key.