/// <summary> /// Make a signature for this context. /// </summary> /// <param name="message">The message to sign.</param> /// <param name="sequence_no">The sequence number.</param> /// <returns>The signature blob.</returns> public byte[] MakeSignature(byte[] message, int sequence_no) { return(SecurityContextUtils.MakeSignature(Context, 0, message, sequence_no)); }
/// <summary> /// Make a signature for this context. /// </summary> /// <param name="messages">The message buffers to sign.</param> /// <param name="sequence_no">The sequence number.</param> /// <returns>The signature blob.</returns> public byte[] MakeSignature(IEnumerable <SecurityBuffer> messages, int sequence_no) { return(SecurityContextUtils.MakeSignature(Context, 0, messages, sequence_no)); }