SecurityFunctionTableW 구조체(sspi.h)
SecurityFunctionTable 구조는 SSPI에 정의된 함수에 대한 포인터를 포함하는 디스패치 테이블입니다.
통사론
typedef struct _SECURITY_FUNCTION_TABLE_W {
unsigned long dwVersion;
ENUMERATE_SECURITY_PACKAGES_FN_W EnumerateSecurityPackagesW;
QUERY_CREDENTIALS_ATTRIBUTES_FN_W QueryCredentialsAttributesW;
ACQUIRE_CREDENTIALS_HANDLE_FN_W AcquireCredentialsHandleW;
FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle;
void *Reserved2;
INITIALIZE_SECURITY_CONTEXT_FN_W InitializeSecurityContextW;
ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext;
COMPLETE_AUTH_TOKEN_FN CompleteAuthToken;
DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext;
APPLY_CONTROL_TOKEN_FN ApplyControlToken;
QUERY_CONTEXT_ATTRIBUTES_FN_W QueryContextAttributesW;
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_W QuerySecurityPackageInfoW;
void *Reserved3;
void *Reserved4;
EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext;
IMPORT_SECURITY_CONTEXT_FN_W ImportSecurityContextW;
ADD_CREDENTIALS_FN_W AddCredentialsW;
void *Reserved8;
QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken;
ENCRYPT_MESSAGE_FN EncryptMessage;
DECRYPT_MESSAGE_FN DecryptMessage;
SET_CONTEXT_ATTRIBUTES_FN_W SetContextAttributesW;
SET_CREDENTIALS_ATTRIBUTES_FN_W SetCredentialsAttributesW;
CHANGE_PASSWORD_FN_W ChangeAccountPasswordW;
void *Reserved9;
QUERY_CONTEXT_ATTRIBUTES_EX_FN_W QueryContextAttributesExW;
QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W QueryCredentialsAttributesExW;
} SecurityFunctionTableW, *PSecurityFunctionTableW;
회원
dwVersion
테이블의 버전 번호입니다.
EnumerateSecurityPackagesW
QueryCredentialsAttributesW
AcquireCredentialsHandleW
FreeCredentialsHandle
FreeCredentialsHandle 함수에 대한 포인터입니다.
Reserved2
나중에 사용할 수 있습니다.
InitializeSecurityContextW
AcceptSecurityContext
AcceptSecurityContext(일반) 함수에 대한 포인터입니다.
CompleteAuthToken
CompleteAuthToken 함수에 대한 포인터입니다.
DeleteSecurityContext
DeleteSecurityContext 함수에 대한 포인터입니다.
ApplyControlToken
ApplyControlToken 함수에 대한 포인터입니다.
QueryContextAttributesW
ImpersonateSecurityContext
ImpersonateSecurityContext 함수에 대한 포인터입니다.
RevertSecurityContext
RevertSecurityContext 함수에 대한 포인터입니다.
MakeSignature
MakeSignature 함수에 대한 포인터입니다.
VerifySignature
VerifySignature 함수에 대한 포인터입니다.
FreeContextBuffer
FreeContextBuffer 함수에 대한 포인터입니다.
QuerySecurityPackageInfoW
Reserved3
나중에 사용할 수 있습니다.
Reserved4
나중에 사용할 수 있습니다.
ExportSecurityContext
ExportSecurityContext 함수에 대한 포인터입니다.
ImportSecurityContextW
AddCredentialsW
Reserved8
나중에 사용할 수 있습니다.
QuerySecurityContextToken
QuerySecurityContextToken 함수에 대한 포인터입니다.
EncryptMessage
EncryptMessage(일반) 함수에 대한 포인터입니다.
DecryptMessage
DecryptMessage(일반) 함수에 대한 포인터입니다.
SetContextAttributesW
SetCredentialsAttributesW
ChangeAccountPasswordW
Reserved9
QueryContextAttributesExW
QueryCredentialsAttributesExW
발언
메모
sspi.h 헤더는 SECURITYFunctionTable을 유니코드 전처리기 상수의 정의에 따라 이 함수의 ANSI 또는 유니코드 버전을 자동으로 선택하는 별칭으로 정의합니다. 인코딩 중립 별칭을 인코딩 중립이 아닌 코드와 혼합하면 컴파일 또는 런타임 오류가 발생하는 불일치가 발생할 수 있습니다. 자세한 내용은 함수 프로토타입대한
QueryContextAttributesExW 및 QueryCredentialsAttributesW는 초기화되지 않습니다.
요구 사항
요구 | 값 |
---|---|
지원되는 최소 클라이언트 | Windows XP [데스크톱 앱만 해당] |
지원되는 최소 서버 | Windows Server 2003 [데스크톱 앱만 해당] |
헤더 | sspi.h(Security.h 포함) |