Enum trust_dns_proto::rr::rdata::tlsa::Selector[][src]

pub enum Selector {
    Full,
    Spki,
    Unassigned(u8),
    Private,
}

RFC 6698, DNS-Based Authentication for TLS

2.1.2.  The Selector Field

   A one-octet value, called "selector", specifies which part of the TLS
   certificate presented by the server will be matched against the
   association data.  This value is defined in a new IANA registry (see
   Section 7.3).  The selectors defined in this document are:

      0 -- Full

      1 -- Spki

   (Note that the use of "selector" in this document is completely
   unrelated to the use of "selector" in DomainKeys Identified Mail
   (DKIM) [RFC6376].)

Variants

Full certificate: the Certificate binary structure as defined in [RFC5280]

SubjectPublicKeyInfo: DER-encoded binary structure as defined in [RFC5280]

Unassigned at the time of this writing

Private usage

Trait Implementations

impl Debug for Selector
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Selector
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Selector
[src]

impl Hash for Selector
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Selector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Selector
[src]

impl From<u8> for Selector
[src]

Performs the conversion.

impl From<Selector> for u8
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Selector

impl Sync for Selector