[][src]Enum sspi::SecurityBufferType

#[repr(u32)]
pub enum SecurityBufferType {
    Empty,
    Data,
    Token,
    TransportToPackageParameters,
    Missing,
    Extra,
    StreamTrailer,
    StreamHeader,
    NegotiationInfo,
    Padding,
    Stream,
    ObjectIdsList,
    ObjectIdsListSignature,
    Target,
    ChannelBindings,
    ChangePasswordResponse,
    TargetHost,
    Alert,
    ApplicationProtocol,
    AttributeMark,
    ReadOnly,
    ReadOnlyWithChecksum,
}

Bit flags that indicate the type of buffer.

MSDN

Variants

Empty
Data

The buffer contains common data. The security package can read and write this data, for example, to encrypt some or all of it.

Token

The buffer contains the security token portion of the message. This is read-only for input parameters or read/write for output parameters.

TransportToPackageParameters
Missing

The security package uses this value to indicate the number of missing bytes in a particular message.

Extra

The security package uses this value to indicate the number of extra or unprocessed bytes in a message.

StreamTrailer

The buffer contains a protocol-specific trailer for a particular record. It is not usually of interest to callers.

StreamHeader

The buffer contains a protocol-specific header for a particular record. It is not usually of interest to callers.

NegotiationInfo
Padding
Stream
ObjectIdsList
ObjectIdsListSignature
Target

This flag is reserved. Do not use it.

ChannelBindings

The buffer contains channel binding information.

ChangePasswordResponse

The buffer contains a DOMAIN_PASSWORD_INFORMATION structure.

TargetHost

The buffer specifies the service principal name (SPN) of the target.

Alert

The buffer contains an alert message.

ApplicationProtocol

The buffer contains a list of application protocol IDs, one list per application protocol negotiation extension type to be enabled.

AttributeMark

The buffer contains a bitmask for a ReadOnly buffer.

ReadOnly

The buffer is read-only with no checksum. This flag is intended for sending header information to the security package for computing the checksum. The package can read this buffer, but cannot modify it.

ReadOnlyWithChecksum

The buffer is read-only with a checksum.

Trait Implementations

impl Clone for SecurityBufferType[src]

impl Copy for SecurityBufferType[src]

impl PartialEq<SecurityBufferType> for SecurityBufferType[src]

impl Debug for SecurityBufferType[src]

impl FromPrimitive for SecurityBufferType[src]

impl ToPrimitive for SecurityBufferType[src]

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