[−][src]Struct kerberos_asn1::PaData
(PA-DATA) Container that encapsules different types of preauthentication data structures.
PA-DATA ::= SEQUENCE { -- NOTE: first tag is [1], not [0]
padata-type [1] Int32,
padata-value [2] OCTET STRING -- might be encoded AP-REQ
}
Fields
padata_type: Int32
padata_value: OctetString
Implementations
impl PaData
[src]
pub fn new(padata_type: Int32, padata_value: OctetString) -> Self
[src]
Trait Implementations
impl Asn1Object for PaData
[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 PaData
[src]
impl Debug for PaData
[src]
impl Default for PaData
[src]
impl PartialEq<PaData> for PaData
[src]
impl StructuralPartialEq for PaData
[src]
Auto Trait Implementations
impl RefUnwindSafe for PaData
[src]
impl Send for PaData
[src]
impl Sync for PaData
[src]
impl Unpin for PaData
[src]
impl UnwindSafe for PaData
[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>,