pub struct OpenPgpKey<'a> {
pub flags: u16,
pub algorithm: u8,
pub public_key: Characters<'a>,
pub fingerprint: Characters<'a>,
}Expand description
§OpenPGP Key Record (OPENPGPKEY)
This record is used as part of the DNS-Based Authentication of Named Entities (DANE) protocol to associate a public key with a domain name. The OPENPGPKEY record is intended to be used in conjunction with the TLSA record [RFC6698].
Fields§
§flags: u16flags is a bitmap of flags (see RFC 4880)
algorithm: u8algorithm is the algorithm of the public key
public_key: Characters<'a>public_key is the public key
fingerprint: Characters<'a>fingerprint is the fingerprint of the referenced public key
Trait Implementations§
Source§impl<'a> Clone for OpenPgpKey<'a>
impl<'a> Clone for OpenPgpKey<'a>
Source§fn clone(&self) -> OpenPgpKey<'a>
fn clone(&self) -> OpenPgpKey<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for OpenPgpKey<'a>
impl<'a> Debug for OpenPgpKey<'a>
Source§impl<'a> PartialEq for OpenPgpKey<'a>
impl<'a> PartialEq for OpenPgpKey<'a>
impl<'a> Copy for OpenPgpKey<'a>
impl<'a> StructuralPartialEq for OpenPgpKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for OpenPgpKey<'a>
impl<'a> RefUnwindSafe for OpenPgpKey<'a>
impl<'a> Send for OpenPgpKey<'a>
impl<'a> Sync for OpenPgpKey<'a>
impl<'a> Unpin for OpenPgpKey<'a>
impl<'a> UnwindSafe for OpenPgpKey<'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