pub struct TBS(/* private fields */);Expand description
Data To Be Signed.
Implementations§
Source§impl TBS
impl TBS
Sourcepub fn from_input<'a>(
name: &Name,
dns_class: DNSClass,
input: &SigInput,
records: impl Iterator<Item = &'a Record>,
) -> Result<TBS, ProtoError>
pub fn from_input<'a>( name: &Name, dns_class: DNSClass, input: &SigInput, records: impl Iterator<Item = &'a Record>, ) -> Result<TBS, ProtoError>
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. INinput-SigInputdata used to create the signaturerecords- RRSet records to sign with the information in therrsig
§Return
binary hash of the RRSet with the information from the RRSIG record
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TBS
impl RefUnwindSafe for TBS
impl Send for TBS
impl Sync for TBS
impl Unpin for TBS
impl UnsafeUnpin for TBS
impl UnwindSafe for TBS
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)