pub struct PrincipalName {
pub name_type: NameType,
pub name_string: Vec<String>,
}
Expand description
Kerberos PrincipalName
A Kerberos principal is a service or user that is known to the Kerberos system. Each Kerberos principal is identified by its principal name. Principal names consist of three parts: a service or user name, an instance name, and a realm name in the following form:
principal-name.instance-name@realm-name
Fields§
§name_type: NameType
§name_string: Vec<String>
Trait Implementations§
Source§impl Debug for PrincipalName
impl Debug for PrincipalName
Source§impl Display for PrincipalName
impl Display for PrincipalName
Source§impl<'a> FromDer<'a> for PrincipalName
Parse Kerberos PrincipalName
impl<'a> FromDer<'a> for PrincipalName
Parse Kerberos PrincipalName
PrincipalName ::= SEQUENCE { name-type [0] Int32, name-string [1] SEQUENCE OF KerberosString }
Source§fn from_der(bytes: &'a [u8]) -> ParseResult<'a, Self>
fn from_der(bytes: &'a [u8]) -> ParseResult<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
Source§impl PartialEq for PrincipalName
impl PartialEq for PrincipalName
impl StructuralPartialEq for PrincipalName
Auto Trait Implementations§
impl Freeze for PrincipalName
impl RefUnwindSafe for PrincipalName
impl Send for PrincipalName
impl Sync for PrincipalName
impl Unpin for PrincipalName
impl UnwindSafe for PrincipalName
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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