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