pub struct SMIMEA(pub TLSA);Expand description
Tuple Fields§
§0: TLSAImplementations§
Source§impl SMIMEA
impl SMIMEA
Sourcepub fn new(
cert_usage: CertUsage,
selector: Selector,
matching: Matching,
cert_data: Vec<u8>,
) -> Self
pub fn new( cert_usage: CertUsage, selector: Selector, matching: Matching, cert_data: Vec<u8>, ) -> Self
Construct a new SMIMEA
2. The SMIMEA Resource Record
The SMIMEA DNS resource record (RR) is used to associate an end
entity certificate or public key with the associated email address,
thus forming a "SMIMEA certificate association". The semantics of
how the SMIMEA resource record is interpreted are given later in this
document. Note that the information returned in the SMIMEA record
might be for the end entity certificate, or it might be for the trust
anchor or an intermediate certificate. This mechanism is similar to
the one given in [RFC7929] for OpenPGP.
The type value for the SMIMEA RRtype is defined in Section 8. The
SMIMEA resource record is class independent.Trait Implementations§
Source§impl BinEncodable for SMIMEA
impl BinEncodable for SMIMEA
Source§fn emit(&self, encoder: &mut BinEncoder<'_>) -> Result<(), ProtoError>
fn emit(&self, encoder: &mut BinEncoder<'_>) -> Result<(), ProtoError>
Write the type to the stream
Source§impl RecordData for SMIMEA
impl RecordData for SMIMEA
Source§fn try_borrow(data: &RData) -> Option<&Self>
fn try_borrow(data: &RData) -> Option<&Self>
Attempts to borrow this RecordData from the RData type, if it is not the correct type the original is returned
Source§fn record_type(&self) -> RecordType
fn record_type(&self) -> RecordType
Get the associated RecordType for the RecordData
Source§fn into_rdata(self) -> RData
fn into_rdata(self) -> RData
Converts this RecordData into generic RecordData
impl Eq for SMIMEA
impl StructuralPartialEq for SMIMEA
Auto Trait Implementations§
impl Freeze for SMIMEA
impl RefUnwindSafe for SMIMEA
impl Send for SMIMEA
impl Sync for SMIMEA
impl Unpin for SMIMEA
impl UnsafeUnpin for SMIMEA
impl UnwindSafe for SMIMEA
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