pub struct InitializeSecurityContext<'a, Inner, CredsHandle, CredsHandleSet, ContextRequirementsSet, TargetDataRepresentationSet, OutputSet> where
    Inner: SspiImpl,
    CredsHandleSet: ToAssign,
    ContextRequirementsSet: ToAssign,
    TargetDataRepresentationSet: ToAssign,
    OutputSet: ToAssign
{ pub credentials_handle: Option<&'a mut CredsHandle>, pub context_requirements: ClientRequestFlags, pub target_data_representation: DataRepresentation, pub output: &'a mut [SecurityBuffer], pub target_name: Option<&'a str>, pub input: Option<&'a mut [SecurityBuffer]>, /* private fields */ }
Expand description

A builder to execute one of the SSPI functions. Returned by the initialize_security_context method.

Requirements for execution

These methods are required to be called before calling the execute method

Fields

credentials_handle: Option<&'a mut CredsHandle>context_requirements: ClientRequestFlagstarget_data_representation: DataRepresentationoutput: &'a mut [SecurityBuffer]target_name: Option<&'a str>input: Option<&'a mut [SecurityBuffer]>

Implementations

Specifies a handle to the credentials returned by acquire_credentials_handle. This handle is used to build the security context. The builder requires at least CredentialUse::Outbound credentials.

Specifies bit flags that indicate requests for the context. Not all packages can support all requirements.

Specifies the data representation, such as byte ordering, on the target.

Specifies a mutable reference to a buffer with SecurityBuffer that receives the output data.

Specifies a mutable reference to a buffer with SecurityBuffer structures. Don’t call this method on during the first execution of the builder. On the second execution, this parameter is a reference to the partially formed context returned during the first call.

Executes the SSPI function that the builder represents.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.