'Declaration
Public Shared Function CreateCertificateWithPEMPrivateKey( _ ByVal certificate As X509Certificate2, _ ByVal pemDataBlob() As Byte, _ Optional ByVal password As String _ ) As X509Certificate2
'Usage
Dim certificate As X509Certificate2 Dim pemDataBlob() As Byte Dim password As String Dim value As X509Certificate2 value = CertificateFactory.CreateCertificateWithPEMPrivateKey(certificate, pemDataBlob, password)
public static X509Certificate2 CreateCertificateWithPEMPrivateKey( X509Certificate2 certificate, byte[] pemDataBlob, string password )
public: static X509Certificate2^ CreateCertificateWithPEMPrivateKey( X509Certificate2^ certificate, array<byte>^ pemDataBlob, String^ password )
Parameters
- certificate
- pemDataBlob
- password