/// <summary> /// Calls BIO_push() /// </summary> /// <param name="bio"></param> public void Push(BIO bio) { Native.ExpectNonNull(Native.BIO_push(this.ptr, bio.Handle)); }
/// <summary> /// Calls BN_print() /// </summary> /// <param name="bio"></param> public override void Print(BIO bio) { Native.ExpectSuccess(Native.BN_print(bio.Handle, this.ptr)); }
/// <summary> /// This method is used by the ToString() implementation. A great number of /// openssl objects support printing, so this is a conveinence method. /// Dervied types should override this method and not ToString(). /// </summary> /// <param name="bio">The BIO stream object to print into</param> public virtual void Print(BIO bio) { }