Platform SDK: Logon Authentication

Message Support

SSPI message support functions enable an application to transmit and receive tamper-resistant messages and to encrypt and decrypt messages. These functions work with one or more buffers containing a message and with a security context created by the context management functions. The functions' behavior differs based on whether a connection, datagram, or stream context is in use. For a description of these differences, see Context Semantics.

The following functions provide security support for messages.

Function Description
DecryptMessage Decrypts an encrypted message using the session key from a security context.
EncryptMessage Encrypts a message using the session key from a security context.
MakeSignature Generates a secure signature based on a message and a security context.
VerifySignature Verifies that a signature matches a received message.