Exemplo n.º 1
0
        public void Bug3017248()
        {
            CryptoKey key    = new CryptoKey(new DSA(true));
            BIO       output = BIO.MemoryBuffer();

            key.WritePrivateKey(output, Cipher.Null, "password");
            output.SetClose(BIO.CloseOption.Close);
            Console.WriteLine(output.ReadString());
        }