pub struct RRSIG<'a> {
pub type_covered: u16,
pub algorithm: u8,
pub labels: u8,
pub original_ttl: u32,
pub signature_expiration: u32,
pub signature_inception: u32,
pub key_tag: u16,
pub signer_name: Name<'a>,
pub signature: Cow<'a, [u8]>,
}
Expand description
An RRSIG record see rfc4034
Fields§
§type_covered: u16
The type of RR that is covered by this RRSIG
algorithm: u8
The cryptographic algorithm used for the signature
labels: u8
The number of labels in the original RRSIG RR owner name
original_ttl: u32
The original TTL value of the covered record
signature_expiration: u32
When the signature expires (seconds since Jan 1 1970)
signature_inception: u32
When the signature was created (seconds since Jan 1 1970)
key_tag: u16
Key tag value of the DNSKEY RR that validates this signature
signer_name: Name<'a>
The domain name of the zone that contains the signed RRset
signature: Cow<'a, [u8]>
The cryptographic signature that covers the RRSIG RDATA
Implementations§
Trait Implementations§
impl<'a> Eq for RRSIG<'a>
impl<'a> StructuralPartialEq for RRSIG<'a>
Auto Trait Implementations§
impl<'a> Freeze for RRSIG<'a>
impl<'a> RefUnwindSafe for RRSIG<'a>
impl<'a> Send for RRSIG<'a>
impl<'a> Sync for RRSIG<'a>
impl<'a> Unpin for RRSIG<'a>
impl<'a> UnwindSafe for RRSIG<'a>
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