pub struct DS<'a> {
pub key_tag: u16,
pub algorithm: u8,
pub digest_type: u8,
pub digest: Cow<'a, [u8]>,
}
Expand description
A DS record see rfc4034
Fields§
§key_tag: u16
The key tag is a 16-bit value used to identify the DNSKEY record referenced by this DS record
algorithm: u8
The algorithm number identifying the cryptographic algorithm used to create the signature
digest_type: u8
The digest type number identifying the cryptographic hash algorithm used to create the digest
digest: Cow<'a, [u8]>
The digest value calculated over the referenced DNSKEY record
Implementations§
Trait Implementations§
impl<'a> Eq for DS<'a>
impl<'a> StructuralPartialEq for DS<'a>
Auto Trait Implementations§
impl<'a> Freeze for DS<'a>
impl<'a> RefUnwindSafe for DS<'a>
impl<'a> Send for DS<'a>
impl<'a> Sync for DS<'a>
impl<'a> Unpin for DS<'a>
impl<'a> UnwindSafe for DS<'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