pub fn signed_bitmessage_to_buf(
    previous_hash: Option<&[u8]>,
    message: &[u8],
    first_message: bool
) -> Result<(Vec<u8, Global>, Record), ProtoError>
Expand description

Return the byte-message that would have been used to generate a TSIG

Arguments

  • previous_hash - hash of previous message in case of message chaining, or of query in case of response. Should be None for query
  • message - the byte-message to authenticate, with included TSIG