[][src]Struct kerberos_asn1::S4uUserId

pub struct S4uUserId {
    pub nonce: UInt32,
    pub cname: Option<PrincipalName>,
    pub crealm: Realm,
    pub subject_certificate: Option<OctetString>,
    pub options: Option<BitString>,
}

(S4UUserID) Used in PA-S4U-X509-USER, to specify the user certificate. Defined in MS-SFU, section 2.2.2.

S4UUserID ::= SEQUENCE {
   nonce [0] UInt32, -- the nonce in KDC-REQ-BODY
   cname [1] PrincipalName OPTIONAL,
    -- Certificate mapping hints
    crealm [2] Realm,
    subject-certificate [3] OCTET STRING OPTIONAL,
    options [4] BIT STRING OPTIONAL,
    ...
}

Fields

nonce: UInt32cname: Option<PrincipalName>crealm: Realmsubject_certificate: Option<OctetString>options: Option<BitString>

Trait Implementations

impl Asn1Object for S4uUserId[src]

impl Clone for S4uUserId[src]

impl Debug for S4uUserId[src]

impl Default for S4uUserId[src]

impl PartialEq<S4uUserId> for S4uUserId[src]

impl StructuralPartialEq for S4uUserId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.