[−][src]Struct kerberos_asn1::EncKrbPrivPart
(EncKrbPrivPart) Encripted part of the KRB-PRIV message. Defined in RFC4120, section 5.7.1.
EncKrbPrivPart ::= [APPLICATION 28] SEQUENCE {
user-data [0] OCTET STRING,
timestamp [1] KerberosTime OPTIONAL,
usec [2] Microseconds OPTIONAL,
seq-number [3] UInt32 OPTIONAL,
s-address [4] HostAddress -- sender's addr --,
r-address [5] HostAddress OPTIONAL -- recip's addr
}
Fields
user_data: OctetString
timestamp: Option<KerberosTime>
usec: Option<Microseconds>
seq_number: Option<UInt32>
s_address: HostAddress
r_address: Option<HostAddress>
Trait Implementations
impl Asn1Object for EncKrbPrivPart
[src]
pub fn tag() -> Tag
[src]
pub fn build(&self) -> Vec<u8>
[src]
pub fn parse(raw: &[u8]) -> Result<(&[u8], Self)>
[src]
pub fn build_value(&self) -> Vec<u8>
[src]
pub fn parse_value(&mut self, raw: &[u8]) -> Result<()>
[src]
impl Clone for EncKrbPrivPart
[src]
pub fn clone(&self) -> EncKrbPrivPart
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EncKrbPrivPart
[src]
impl Default for EncKrbPrivPart
[src]
pub fn default() -> EncKrbPrivPart
[src]
impl PartialEq<EncKrbPrivPart> for EncKrbPrivPart
[src]
pub fn eq(&self, other: &EncKrbPrivPart) -> bool
[src]
pub fn ne(&self, other: &EncKrbPrivPart) -> bool
[src]
impl StructuralPartialEq for EncKrbPrivPart
[src]
Auto Trait Implementations
impl RefUnwindSafe for EncKrbPrivPart
[src]
impl Send for EncKrbPrivPart
[src]
impl Sync for EncKrbPrivPart
[src]
impl Unpin for EncKrbPrivPart
[src]
impl UnwindSafe for EncKrbPrivPart
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,