[−][src]Struct kerberos_asn1::Authenticator
(Authenticator) Included in AP-REQ to certified the knowledge of the session key. Defined in RFC4120, section 5.5.1.
-- Unencrypted authenticator
Authenticator ::= [APPLICATION 2] SEQUENCE {
authenticator-vno [0] INTEGER (5),
crealm [1] Realm,
cname [2] PrincipalName,
cksum [3] Checksum OPTIONAL,
cusec [4] Microseconds,
ctime [5] KerberosTime,
subkey [6] EncryptionKey OPTIONAL,
seq-number [7] UInt32 OPTIONAL,
authorization-data [8] AuthorizationData OPTIONAL
}
Fields
authenticator_vno: Int32
crealm: Realm
cname: PrincipalName
cksum: Option<Checksum>
cusec: Microseconds
ctime: KerberosTime
subkey: Option<EncryptionKey>
seq_number: Option<UInt32>
Trait Implementations
impl Asn1Object for Authenticator
[src]
fn tag() -> Tag
[src]
fn build(&self) -> Vec<u8>
[src]
fn parse(raw: &[u8]) -> Result<(&[u8], Self)>
[src]
fn build_value(&self) -> Vec<u8>
[src]
fn parse_value(&mut self, raw: &[u8]) -> Result<()>
[src]
impl Clone for Authenticator
[src]
fn clone(&self) -> Authenticator
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Authenticator
[src]
impl Default for Authenticator
[src]
fn default() -> Authenticator
[src]
impl PartialEq<Authenticator> for Authenticator
[src]
fn eq(&self, other: &Authenticator) -> bool
[src]
fn ne(&self, other: &Authenticator) -> bool
[src]
impl StructuralPartialEq for Authenticator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Authenticator
impl Send for Authenticator
impl Sync for Authenticator
impl Unpin for Authenticator
impl UnwindSafe for Authenticator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,