[−][src]Struct ipsec_parser::IdentificationType
Type of Identification
Methods
impl IdentificationType
[src]
pub const ID_IPV4_ADDR: IdentificationType
[src]
A single four (4) octet IPv4 address.
pub const ID_FQDN: IdentificationType
[src]
A fully-qualified domain name string. An example of an ID_FQDN is "example.com". The string MUST NOT contain any terminators (e.g., NULL, CR, etc.). All characters in the ID_FQDN are ASCII; for an "internationalized domain name", the syntax is as defined in [IDNA], for example "xn--tmonesimerkki-bfbb.example.net".
pub const ID_RFC822_ADDR: IdentificationType
[src]
A fully-qualified RFC 822 email address string. An example of a ID_RFC822_ADDR is "jsmith@example.com". The string MUST NOT contain any terminators. Because of [EAI], implementations would be wise to treat this field as UTF-8 encoded text, not as pure ASCII.
pub const ID_IPV6_ADDR: IdentificationType
[src]
A single sixteen (16) octet IPv6 address.
pub const ID_DER_ASN1_DN: IdentificationType
[src]
The binary Distinguished Encoding Rules (DER) encoding of an ASN.1 X.500 Distinguished Name.
pub const ID_DER_ASN1_GN: IdentificationType
[src]
The binary DER encoding of an ASN.1 X.509 GeneralName.
pub const ID_KEY_ID: IdentificationType
[src]
An opaque octet stream that may be used to pass vendor-specific information necessary to do certain proprietary types of identification.
Trait Implementations
impl Eq for IdentificationType
[src]
impl Clone for IdentificationType
[src]
fn clone(&self) -> IdentificationType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for IdentificationType
[src]
impl PartialEq<IdentificationType> for IdentificationType
[src]
fn eq(&self, other: &IdentificationType) -> bool
[src]
fn ne(&self, other: &IdentificationType) -> bool
[src]
impl Debug for IdentificationType
[src]
Auto Trait Implementations
impl Send for IdentificationType
impl Sync for IdentificationType
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,