Authentication Services Functions (Compact 2013)

3/28/2014

This section defines the authentication services functions. Among these are the SSPI callback functions, for example, AcceptSecurityContext. A SecurityFunctionTable structure contains pointers to these callback functions.

Note

An SSPI callback function should be called by dereferencing the field of the same name in the SecurityFunctionTable structure retrieved by a call to the InitSecurityInterface function. It is not recommended to call the callback functions directly.

Programming element

Description

AcceptSecurityContext

This function enables the server part of a transport application to establish a security context between the server and a remote client.

AcquireCredentialsHandle

This function allows applications to acquire a handle to preexisting credentials associated with the user on whose behalf the call is made.

ApplyControlToken

This function provides a way to apply a control token to a security context.

CompleteAuthToken

This function completes an authentication token.

DecryptMessage

This function decrypts a message.

DeleteSecurityContext

This function deletes local data structures associated with the specified security context.

EncryptMessage

This function encrypts a message to help provide privacy.

EnumerateSecurityPackages

This function retrieves an array of SecPkgInfo structures that describe the security packages available to the client.

FreeContextBuffer

This function enables callers of security provider functions to free a memory buffer allocated by the security provider.

FreeCredentialsHandle

This function notifies the security system that credentials are no longer required.

InitializeSecurityContext

This function initiates the outbound security context from a credential handle.

InitSecurityInterface

This function returns a pointer to a Security Service Provider Interface (SSPI) dispatch table.

InternetCanonicalizeUrl

This function converts a URL to a canonical form, including the conversion of unsafe characters into escape sequences.

MakeSignature

This function generates a cryptographic checksum of the message and includes sequencing information to prevent message loss or insertion.

NTLMAddGroup

This function adds a new NTLM group.

NTLMAddUserToGroup

This function adds an existing user to an existing NTLM group.

NTLMDeleteUser

This function deletes a user name from the local database.

NTLMEnumGroups

This function enumerates an NTLM group.

NTLMEnumUser

This function enumerates a user in a local database.

NTLMGetGroupList

This function gets a list of groups to which a user belongs.

NTLMGetUserList

This function gets the list of users belonging to an NTLM group.

NTLMRemoveGroup

This function removes an existing NTLM group.

NTLMRemoveUserFromGroup

This function removes a user from an NTLM group.

NTLMSetUserInfo

This function adds user information to the local database.

QueryContextAttributes

This function enables a transport application to query a security package for certain attributes of a security context.

QueryCredentialsAttributes

This function retrieves the attributes of a credential, such as the name associated with the credential.

QuerySecurityPackageInfo

This function retrieves information about a specified security package.

SealMessage

This function seals a message.

UnsealMessage

This function unseals a message.

VerifySignature

This function verifies the signature of a message at the other end.

See Also

Reference

Authentication Services Reference