#[repr(i32)]pub enum EncryptionType {
    Des3CbcRaw = 6,
    Des3CbcSha1 = 16,
    ArcfourHmac = 23,
    ArcfourHmacExp = 24,
    Aes128CtsHmacSha196 = 17,
    Aes256CtsHmacSha196 = 18,
    Camellia128CtsCmac = 25,
    Camellia256CtsCmac = 26,
    Aes128CtsHmacSha256128 = 19,
    Aes256CtsHmacSha384192 = 20,
}Expand description
Kerberos encryption type
Variants§
Des3CbcRaw = 6
Triple DES cbc mode raw (weak, deprecated)
Des3CbcSha1 = 16
Triple DES cbc mode with HMAC/sha1 (deprecated)
ArcfourHmac = 23
ArcFour with HMAC/md5 (deprecated)
ArcfourHmacExp = 24
Exportable ArcFour with HMAC/md5 (weak, deprecated)
Aes128CtsHmacSha196 = 17
AES-128 CTS mode with 96-bit SHA-1 HMAC
Aes256CtsHmacSha196 = 18
AES-256 CTS mode with 96-bit SHA-1 HMAC
Camellia128CtsCmac = 25
Camellia-128 CTS mode with CMAC
Camellia256CtsCmac = 26
Camellia-256 CTS mode with CMAC
Aes128CtsHmacSha256128 = 19
AES-128 CTS mode with 128-bit SHA-256 HMAC
Aes256CtsHmacSha384192 = 20
AES-256 CTS mode with 192-bit SHA-384 HMAC
Implementations§
Trait Implementations§
Source§impl Clone for EncryptionType
 
impl Clone for EncryptionType
Source§fn clone(&self) -> EncryptionType
 
fn clone(&self) -> EncryptionType
Returns a duplicate 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 EncryptionType
 
impl Debug for EncryptionType
Source§impl From<EncryptionType> for krb5_enctype
 
impl From<EncryptionType> for krb5_enctype
Source§fn from(enctype: EncryptionType) -> Self
 
fn from(enctype: EncryptionType) -> Self
Converts to this type from the input type.
Source§impl FromStr for EncryptionType
 
impl FromStr for EncryptionType
Source§impl Hash for EncryptionType
 
impl Hash for EncryptionType
Source§impl PartialEq for EncryptionType
 
impl PartialEq for EncryptionType
Source§impl TryFrom<&str> for EncryptionType
 
impl TryFrom<&str> for EncryptionType
Source§impl TryFrom<EncryptionType> for String
 
impl TryFrom<EncryptionType> for String
Source§impl TryFrom<i32> for EncryptionType
 
impl TryFrom<i32> for EncryptionType
impl Copy for EncryptionType
impl Eq for EncryptionType
impl StructuralPartialEq for EncryptionType
Auto Trait Implementations§
impl Freeze for EncryptionType
impl RefUnwindSafe for EncryptionType
impl Send for EncryptionType
impl Sync for EncryptionType
impl Unpin for EncryptionType
impl UnwindSafe for EncryptionType
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