public void Write(string str) { byte[] buf = Encoding.ASCII.GetBytes(str); if (Native.BIO_puts(this.ptr, buf) != buf.Length) throw new OpenSslException(); }
/// <summary> /// Returns the cipher's LongName /// </summary> /// <param name="bio"></param> public override void Print(BIO bio) { bio.Write("CipherContext: " + this.cipher.LongName); }