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

pub fn rrset_tbs_with_rrsig(
    rrsig: &Record,
    records: &[Record]
) -> ProtoResult<TBS>
This is supported 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