[]Struct sspi::ClientRequestFlags

pub struct ClientRequestFlags { /* fields omitted */ }

Indicate requests for the context. Not all packages can support all requirements. Bit flags can be combined by using bitwise-OR operations.

MSDN

Methods

impl ClientRequestFlags

pub const DELEGATE: ClientRequestFlags

The server can use the context to authenticate to other servers as the client. The MUTUAL_AUTH flag must be set for this flag to work. Valid for Kerberos. Ignore this flag for constrained delegation.

pub const MUTUAL_AUTH: ClientRequestFlags

The mutual authentication policy of the service will be satisfied.

pub const REPLAY_DETECT: ClientRequestFlags

Detect replayed messages that have been encoded by using the encrypt_message or make_signature (TBI) functions.

pub const SEQUENCE_DETECT: ClientRequestFlags

Detect messages received out of sequence.

pub const CONFIDENTIALITY: ClientRequestFlags

Encrypt messages by using the encrypt_message function.

pub const USE_SESSION_KEY: ClientRequestFlags

A new session key must be negotiated. This value is supported only by the Kerberos security package.

pub const PROMPT_FOR_CREDS: ClientRequestFlags

pub const USE_SUPPLIED_CREDS: ClientRequestFlags

Schannel must not attempt to supply credentials for the client automatically.

pub const ALLOCATE_MEMORY: ClientRequestFlags

The security package allocates output buffers for you.

pub const USE_DCE_STYLE: ClientRequestFlags

pub const DATAGRAM: ClientRequestFlags

pub const CONNECTION: ClientRequestFlags

The security context will not handle formatting messages. This value is the default for the Kerberos, Negotiate, and NTLM security packages.

pub const CALL_LEVEL: ClientRequestFlags

pub const FRAGMENT_SUPPLIED: ClientRequestFlags

pub const EXTENDED_ERROR: ClientRequestFlags

When errors occur, the remote party will be notified.

pub const STREAM: ClientRequestFlags

Support a stream-oriented connection.

pub const INTEGRITY: ClientRequestFlags

Sign messages and verify signatures by using the encrypt_message and make_signature (TBI) functions.

pub const IDENTIFY: ClientRequestFlags

pub const NULL_SESSION: ClientRequestFlags

pub const MANUAL_CRED_VALIDATION: ClientRequestFlags

Schannel must not authenticate the server automatically.

pub const RESERVED1: ClientRequestFlags

pub const FRAGMENT_TO_FIT: ClientRequestFlags

pub const FORWARD_CREDENTIALS: ClientRequestFlags

pub const NO_INTEGRITY: ClientRequestFlags

If this flag is set, the Integrity flag is ignored. This value is supported only by the Negotiate and Kerberos security packages.

pub const USE_HTTP_STYLE: ClientRequestFlags

pub const UNVERIFIED_TARGET_NAME: ClientRequestFlags

pub const CONFIDENTIALITY_ONLY: ClientRequestFlags

pub const fn empty() -> ClientRequestFlags

Returns an empty set of flags

pub const fn all() -> ClientRequestFlags

Returns the set containing all flags.

pub const fn bits(&self) -> u32

Returns the raw value of the flags currently stored.

pub fn from_bits(bits: u32) -> Option<ClientRequestFlags>

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

pub const fn from_bits_truncate(bits: u32) -> ClientRequestFlags

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

pub const fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

pub const fn is_all(&self) -> bool

Returns true if all flags are currently set.

pub const fn intersects(&self, other: ClientRequestFlags) -> bool

Returns true if there are flags common to both self and other.

pub const fn contains(&self, other: ClientRequestFlags) -> bool

Returns true all of the flags in other are contained within self.

pub fn insert(&mut self, other: ClientRequestFlags)

Inserts the specified flags in-place.

pub fn remove(&mut self, other: ClientRequestFlags)

Removes the specified flags in-place.

pub fn toggle(&mut self, other: ClientRequestFlags)

Toggles the specified flags in-place.

pub fn set(&mut self, other: ClientRequestFlags, value: bool)

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Extend<ClientRequestFlags> for ClientRequestFlags

impl Clone for ClientRequestFlags

impl Copy for ClientRequestFlags

impl Eq for ClientRequestFlags

impl Ord for ClientRequestFlags

impl PartialEq<ClientRequestFlags> for ClientRequestFlags

impl PartialOrd<ClientRequestFlags> for ClientRequestFlags

impl Debug for ClientRequestFlags

impl Sub<ClientRequestFlags> for ClientRequestFlags

type Output = ClientRequestFlags

The resulting type after applying the - operator.

fn sub(self, other: ClientRequestFlags) -> ClientRequestFlags

Returns the set difference of the two sets of flags.

impl SubAssign<ClientRequestFlags> for ClientRequestFlags

fn sub_assign(&mut self, other: ClientRequestFlags)

Disables all flags enabled in the set.

impl Not for ClientRequestFlags

type Output = ClientRequestFlags

The resulting type after applying the ! operator.

fn not(self) -> ClientRequestFlags

Returns the complement of this set of flags.

impl BitAnd<ClientRequestFlags> for ClientRequestFlags

type Output = ClientRequestFlags

The resulting type after applying the & operator.

fn bitand(self, other: ClientRequestFlags) -> ClientRequestFlags

Returns the intersection between the two sets of flags.

impl BitOr<ClientRequestFlags> for ClientRequestFlags

type Output = ClientRequestFlags

The resulting type after applying the | operator.

fn bitor(self, other: ClientRequestFlags) -> ClientRequestFlags

Returns the union of the two sets of flags.

impl BitXor<ClientRequestFlags> for ClientRequestFlags

type Output = ClientRequestFlags

The resulting type after applying the ^ operator.

fn bitxor(self, other: ClientRequestFlags) -> ClientRequestFlags

Returns the left flags, but with all the right flags toggled.

impl BitAndAssign<ClientRequestFlags> for ClientRequestFlags

fn bitand_assign(&mut self, other: ClientRequestFlags)

Disables all flags disabled in the set.

impl BitOrAssign<ClientRequestFlags> for ClientRequestFlags

fn bitor_assign(&mut self, other: ClientRequestFlags)

Adds the set of flags.

impl BitXorAssign<ClientRequestFlags> for ClientRequestFlags

fn bitxor_assign(&mut self, other: ClientRequestFlags)

Toggles the set of flags.

impl Hash for ClientRequestFlags

impl FromIterator<ClientRequestFlags> for ClientRequestFlags

impl Octal for ClientRequestFlags

impl Binary for ClientRequestFlags

impl LowerHex for ClientRequestFlags

impl UpperHex for ClientRequestFlags

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self