コード例 #1
0
 /// <summary>
 /// Calls BIO_push()
 /// </summary>
 /// <param name="bio"></param>
 public void Push(BIO bio)
 {
     Native.ExpectNonNull(Native.BIO_push(this.ptr, bio.Handle));
 }
コード例 #2
0
 /// <summary>
 /// Calls BN_print()
 /// </summary>
 /// <param name="bio"></param>
 public override void Print(BIO bio)
 {
     Native.ExpectSuccess(Native.BN_print(bio.Handle, this.ptr));
 }
コード例 #3
0
 /// <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)
 {
 }