Struct picky_krb::data_types::EncryptedData
source · pub struct EncryptedData {
pub etype: ExplicitContextTag0<IntegerAsn1>,
pub kvno: Optional<Option<ExplicitContextTag1<IntegerAsn1>>>,
pub cipher: ExplicitContextTag2<OctetStringAsn1>,
}
Expand description
EncryptedData ::= SEQUENCE {
etype [0] Int32 -- EncryptionType --,
kvno [1] UInt32 OPTIONAL,
cipher [2] OCTET STRING -- ciphertext
}
Fields§
§etype: ExplicitContextTag0<IntegerAsn1>
§kvno: Optional<Option<ExplicitContextTag1<IntegerAsn1>>>
§cipher: ExplicitContextTag2<OctetStringAsn1>
Trait Implementations§
source§impl Clone for EncryptedData
impl Clone for EncryptedData
source§fn clone(&self) -> EncryptedData
fn clone(&self) -> EncryptedData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncryptedData
impl Debug for EncryptedData
source§impl<'de> Deserialize<'de> for EncryptedData
impl<'de> Deserialize<'de> for EncryptedData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EncryptedData> for EncryptedData
impl PartialEq<EncryptedData> for EncryptedData
source§fn eq(&self, other: &EncryptedData) -> bool
fn eq(&self, other: &EncryptedData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncryptedData
impl Serialize for EncryptedData
impl Eq for EncryptedData
impl StructuralEq for EncryptedData
impl StructuralPartialEq for EncryptedData
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedData
impl Send for EncryptedData
impl Sync for EncryptedData
impl Unpin for EncryptedData
impl UnwindSafe for EncryptedData
Blanket Implementations§
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