Share via


SSPI Functions and Structures

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the SSPI functions that are supported by Windows Mobile.

Function Description

AcceptSecurityContext

Establishes an inbound security context between the server and a remote client.

AcquireCredentialsHandle

Enables an application to acquire a handle to existing user credentials. This function also provides a way for applications to supply credential data.

ApplyControlToken

Provides a way to apply a control token to a security context.

DeleteSecurityContext

Deletes local data structures associated with the specified security context.

EnumerateSecurityPackages

Returns an array of SecPkgInfo structures that describe the security packages available to the client.

FreeContextBuffer

Enables callers of security provider functions to free a memory buffer allocated by the security provider.

FreeCredentialsHandle

Notifies the security system that the credentials are no longer needed.

InitSecurityInterface

Returns a pointer to an SSPI dispatch table.

InitializeSecurityContext

Initiates the outbound security context from a credential handle. This function establishes a security context between the client application and a remote peer.

MakeSignature

Generates a cryptographic checksum of the message and includes sequencing data to prevent message loss or insertion.

QueryContextAttributes

Enables a transport application to query a security package for certain security context attributes.

QueryCredentialsAttributes

Retrieves the credential attributes.

QuerySecurityPackageInfo

Retrieves data about a specified security package.

VerifySignature

Verifies the signature of a peer client message.

The following table shows the SSPI structures supported by Windows Mobile.

Structure Description

SecBuffer

Describes a buffer that is allocated by a transport application to pass to a security package.

SecBufferDesc

Describes an array of SecBuffer structures to pass from a transport application to a security package.

SecPkgContext_Authority

Contains the name of the authenticating authority, if one is available.

SecPkgContext_KeyInfo

Contains data about the keys used in a security context.

SecPkgContext_Lifespan

Indicates the life span of a security context.

SecPkgContext_Names

Indicates the user name associated with a security context.

SecPkgContext_Sizes

Indicates the size of important structures used in the message support functions.

SecPkgContext_StreamSizes

Indicates the size of the various stream objects that are used with the message support functions.

SecPkgCredentials_Names

Indicates the name of the user associated with a credential.

SecPkgInfo

Provides general security package data, such as the name and capabilities of the package.

SecurityFunctionTable

Contains pointers to the callback functions defined in the Sspi.h file.

See Also

Reference

Authentication Services Reference

Concepts

Security Support Provider Interface Architecture
Security Packages
Authentication Services Security
Authentication Services Registry Settings

Other Resources

Authentication Services