Function trust_dns_proto::rr::dnssec::tbs::rrset_tbs_with_sig
source · [−]pub fn rrset_tbs_with_sig(
name: &Name,
dns_class: DNSClass,
sig: &SIG,
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 SIG record.
Arguments
name
- labels of the record to signdns_class
- DNSClass of the RRSet, i.e. INsig
- SIG or RRSIG record, which was produced from the RRSetrecords
- RRSet records to sign with the information in therrsig
Return
binary hash of the RRSet with the information from the RRSIG record