Struct kerberos_parser::krb5::NameType[][src]

pub struct NameType(pub i32);

Name type

Methods

impl NameType
[src]

KRB_NT_UNKNOWN: NameType = NameType(0)

Name type not known

KRB_NT_PRINCIPAL: NameType = NameType(1)

Just the name of the principal as in DCE, or for users

KRB_NT_SRV_INST: NameType = NameType(2)

Service and other unique instance (krbtgt)

KRB_NT_SRV_HST: NameType = NameType(3)

Service with host name as instance (telnet, rcommands)

KRB_NT_SRV_XHST: NameType = NameType(4)

Service with host as remaining components

KRB_NT_UID: NameType = NameType(5)

Unique ID

KRB_NT_X500_PRINCIPAL: NameType = NameType(6)

Encoded X.509 Distinguished name [RFC2253]

KRB_NT_SMTP_NAME: NameType = NameType(7)

Name in form of SMTP email name (e.g., user@example.com)

KRB_NT_ENTERPRISE: NameType = NameType(10)

Enterprise name; may be mapped to principal name

Trait Implementations

impl Clone for NameType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NameType
[src]

impl PartialEq for NameType
[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 NameType
[src]

impl Debug for NameType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for NameType

impl Sync for NameType