Struct sspi::kerberos::EncryptionParams
source · pub struct EncryptionParams {
pub encryption_type: Option<CipherSuite>,
pub session_key: Option<Vec<u8>>,
pub sub_session_key: Option<Vec<u8>>,
pub sspi_encrypt_key_usage: i32,
pub sspi_decrypt_key_usage: i32,
}
Fields§
§encryption_type: Option<CipherSuite>
§session_key: Option<Vec<u8>>
§sub_session_key: Option<Vec<u8>>
§sspi_encrypt_key_usage: i32
§sspi_decrypt_key_usage: i32
Implementations§
source§impl EncryptionParams
impl EncryptionParams
pub fn default_for_client() -> Self
pub fn default_for_server() -> Self
pub fn aes_size(&self) -> Option<AesSize>
Trait Implementations§
source§impl Clone for EncryptionParams
impl Clone for EncryptionParams
source§fn clone(&self) -> EncryptionParams
fn clone(&self) -> EncryptionParams
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 moreAuto Trait Implementations§
impl Freeze for EncryptionParams
impl RefUnwindSafe for EncryptionParams
impl Send for EncryptionParams
impl Sync for EncryptionParams
impl Unpin for EncryptionParams
impl UnwindSafe for EncryptionParams
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