SecurityFunctionTable structure
The SecurityFunctionTable structure is a dispatch table that contains pointers to the functions defined in SSPI.
Syntax
typedef struct SECURITY_FUNCTION_TABLE { ULONG dwVersion; ENUMERATE_SECURITY_PACKAGES_FN EnumerateSecurityPackages; void *Reserved1; QUERY_CREDENTIAL_ATTRIBUTES_FN QueryCredentialsAttributes; ACQUIRE_CREDENTIALS_HANDLE_FN AcquireCredentialsHandle; FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle; void *Reserved2; INITIALIZE_SECURITY_CONTEXT_FN InitializeSecurityContext; ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext; COMPLETE_AUTH_TOKEN_FN CompleteAuthToken; DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext; APPLY_CONTROL_TOKEN_FN ApplyControlToken; QUERY_CONTEXT_ATTRIBUTES_FN QueryContextAttributes; IMPERSONATE_SECURITY_CONTEXT_FN ImpersonateSecurityContext; REVERT_SECURITY_CONTEXT_FN RevertSecurityContext; MAKE_SIGNATURE_FN MakeSignature; VERIFY_SIGNATURE_FN VerifySignature; FREE_CONTEXT_BUFFER_FN FreeContextBuffer; QUERY_SECURITY_PACKAGE_INFO_FN QuerySecurityPackageInfo; void *Reserved3; void *Reserved4; EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext; IMPORT_SECURITY_CONTEXT_FN ImportSecurityContext; ADD_CREDENTIALS_FN AddCredentials; void *Reserved8; QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken; ENCRYPT_MESSAGE_FN EncryptMessage; DECRYPT_MESSAGE_FN DecryptMessage; SET_CONTEXT_ATTRIBUTES_FN SetContextAttributes; } SecurityFunctionTable, *PSecurityFunctionTable, SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION;
Members
- dwVersion
-
Version number of the table.
- EnumerateSecurityPackages
-
Pointer to the EnumerateSecurityPackages function.
- Reserved1
-
Reserved for future use.
- QueryCredentialsAttributes
-
Pointer to the QueryCredentialsAttributes function.
- AcquireCredentialsHandle
-
Pointer to the AcquireCredentialsHandle function.
- FreeCredentialsHandle
-
Pointer to the FreeCredentialsHandle function.
- Reserved2
-
Reserved for future use.
- InitializeSecurityContext
-
Pointer to the InitializeSecurityContext (General) function.
- AcceptSecurityContext
-
Pointer to the AcceptSecurityContext (General) function.
- CompleteAuthToken
-
Pointer to the CompleteAuthToken function.
- DeleteSecurityContext
-
Pointer to the DeleteSecurityContext function.
- ApplyControlToken
-
Pointer to the ApplyControlToken function.
- QueryContextAttributes
-
Pointer to the QueryContextAttributes (General) function.
- ImpersonateSecurityContext
-
Pointer to the ImpersonateSecurityContext function.
- RevertSecurityContext
-
Pointer to the RevertSecurityContext function.
- MakeSignature
-
Pointer to the MakeSignature function.
- VerifySignature
-
Pointer to the VerifySignature function.
- FreeContextBuffer
-
Pointer to the FreeContextBuffer function.
- QuerySecurityPackageInfo
-
Pointer to the QuerySecurityPackageInfo function.
- Reserved3
-
Reserved for future use.
- Reserved4
-
Reserved for future use.
- ExportSecurityContext
-
Pointer to the ExportSecurityContext function.
- ImportSecurityContext
-
Pointer to the ImportSecurityContext function.
- AddCredentials
-
Pointer to the AddCredential function.
- Reserved8
-
Reserved for future use.
- QuerySecurityContextToken
-
Pointer to the QuerySecurityContextToken function.
- EncryptMessage
-
Pointer to the EncryptMessage (General) function.
- DecryptMessage
-
Pointer to the DecryptMessage (General) function.
- SetContextAttributes
-
Pointer to the SetContextAttributes function.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Unicode and ANSI names |
SecurityFunctionTableW (Unicode) and SecurityFunctionTableA (ANSI) |
See also