Struct ipsec_parser::IdentificationType [−][src]
pub struct IdentificationType(pub u8);
Expand description
Type of Identification
Tuple Fields
0: u8
Implementations
A single four (4) octet IPv4 address.
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”.
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.
A single sixteen (16) octet IPv6 address.
The binary Distinguished Encoding Rules (DER) encoding of an ASN.1 X.500 Distinguished Name.
The binary DER encoding of an ASN.1 X.509 GeneralName.
An opaque octet stream that may be used to pass vendor-specific information necessary to do certain proprietary types of identification.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IdentificationType
impl Send for IdentificationType
impl Sync for IdentificationType
impl Unpin for IdentificationType
impl UnwindSafe for IdentificationType
Blanket Implementations
Mutably borrows from an owned value. Read more