[−][src]Struct sspi::credssp::ts_request::TsRequest
Used for communication in the CredSSP client and server. It's a top-most structure that they use.
MSDN
Fields
peer_version: Option<u32>
Specifies the supported version of the CredSSP protocol.
nego_tokens: Option<Vec<u8>>
Contains the SPNEGO tokens or NTLM messages that are passed between the client and server.
auth_info: Option<Vec<u8>>
Contains the user's credentials that are delegated to the server.
pub_key_auth: Option<Vec<u8>>
Used to assure that the public key that is used by the server during the TLS handshake belongs to the target server and not to a man-in-the-middle.
error_code: Option<u32>
If the SPNEGO exchange fails on the server, this field is used to send the failure code to the client.
client_nonce: Option<[u8; 32]>
An array of cryptographically random bytes used to provide sufficient entropy during hash computation.
Methods
impl TsRequest
[src]
pub fn from_buffer(buffer: &[u8]) -> Result<TsRequest>
[src]
pub fn encode_ts_request(&self, buffer: impl Write) -> Result<()>
[src]
pub fn buffer_len(&self) -> u16
[src]
pub fn check_error(&self) -> Result<()>
[src]
Trait Implementations
impl Clone for TsRequest
[src]
fn clone(&self) -> TsRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for TsRequest
[src]
impl Debug for TsRequest
[src]
Auto Trait Implementations
impl Send for TsRequest
impl Unpin for TsRequest
impl Sync for TsRequest
impl RefUnwindSafe for TsRequest
impl UnwindSafe for TsRequest
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self