Function hickory_proto::rr::dnssec::tbs::rrset_tbs_with_rrsig

source ·
pub fn rrset_tbs_with_rrsig(
    rrsig: &Record<RRSIG>,
    records: &[Record]
) -> ProtoResult<TBS>
Available on crate feature dnssec only.
Expand description

Returns the to-be-signed serialization of the given record set using the information provided from the RRSIG record.

§Arguments

  • rrsig - SIG or RRSIG record, which was produced from the RRSet
  • records - RRSet records to sign with the information in the rrsig

§Return

binary hash of the RRSet with the information from the RRSIG record