SECPKG_USER_FUNCTION_TABLE structure (ntsecpkg.h)

The SECPKG_USER_FUNCTION_TABLE structure contains pointers to the functions that a security package implements to support executing in process with client/server applications. This structure is provided by the SpUserModeInitialize function.

Syntax

typedef struct _SECPKG_USER_FUNCTION_TABLE {
  SpInstanceInitFn              *InstanceInit;
  SpInitUserModeContextFn       *InitUserModeContext;
  SpMakeSignatureFn             *MakeSignature;
  SpVerifySignatureFn           *VerifySignature;
  SpSealMessageFn               *SealMessage;
  SpUnsealMessageFn             *UnsealMessage;
  SpGetContextTokenFn           *GetContextToken;
  SpQueryContextAttributesFn    *QueryContextAttributes;
  SpCompleteAuthTokenFn         *CompleteAuthToken;
  SpDeleteContextFn             *DeleteUserModeContext;
  SpFormatCredentialsFn         *FormatCredentials;
  SpMarshallSupplementalCredsFn *MarshallSupplementalCreds;
  SpExportSecurityContextFn     *ExportContext;
  SpImportSecurityContextFn     *ImportContext;
  SpMarshalAttributeDataFn      *MarshalAttributeData;
} SECPKG_USER_FUNCTION_TABLE, *PSECPKG_USER_FUNCTION_TABLE;

Members

InstanceInit

Pointer to the InstanceInit function.

InitUserModeContext

Pointer to the InitUserModeContext function.

MakeSignature

Pointer to the MakeSignature function.

VerifySignature

Pointer to the VerifySignature function.

SealMessage

Pointer to the SealMessage function.

UnsealMessage

Pointer to the UnsealMessage function.

GetContextToken

Pointer to the GetContextToken function.

QueryContextAttributes

Pointer to the QueryContextAttributes (General) function.

CompleteAuthToken

Pointer to the CompleteAuthToken function.

DeleteUserModeContext

Pointer to the DeleteUserModeContext function.

FormatCredentials

Pointer to the FormatCredentials function.

MarshallSupplementalCreds

Pointer to the MarshallSupplementalCreds function.

ExportContext

Pointer to the ExportContext function.

ImportContext

Pointer to the ImportContext function.

MarshalAttributeData

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecpkg.h