pub fn signed_bitmessage_to_buf(
    previous_hash: Option<&[u8]>,
    message: &[u8],
    first_message: bool
) -> ProtoResult<(Vec<u8>, Record)>
This is supported on crate feature dnssec only.
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