[][src]Function trust_dns_client::rr::dnssec::tbs::rrset_tbs_with_rrsig

pub fn rrset_tbs_with_rrsig(
    rrsig: &Record,
    records: &[Record]
) -> Result<TBS, ProtoError>

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