mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Implement InitSecurityInterfaceA/W
svn path=/trunk/; revision=38462
This commit is contained in:
parent
030aa56625
commit
af929be7de
1 changed files with 70 additions and 4 deletions
|
@ -3,6 +3,72 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
SECURITY_STATUS WINAPI ApplyControlTokenW(PCtxtHandle Handle, PSecBufferDesc Buffer);
|
||||
SECURITY_STATUS WINAPI ApplyControlTokenA(PCtxtHandle Handle, PSecBufferDesc Buffer);
|
||||
|
||||
static SecurityFunctionTableA securityFunctionTableA =
|
||||
{
|
||||
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION,
|
||||
EnumerateSecurityPackagesA,
|
||||
QueryCredentialsAttributesA,
|
||||
AcquireCredentialsHandleA,
|
||||
FreeCredentialsHandle,
|
||||
NULL, /* Reserved2 */
|
||||
InitializeSecurityContextA,
|
||||
AcceptSecurityContext,
|
||||
CompleteAuthToken,
|
||||
DeleteSecurityContext,
|
||||
ApplyControlTokenA,
|
||||
QueryContextAttributesA,
|
||||
ImpersonateSecurityContext,
|
||||
RevertSecurityContext,
|
||||
MakeSignature,
|
||||
VerifySignature,
|
||||
FreeContextBuffer,
|
||||
QuerySecurityPackageInfoA,
|
||||
EncryptMessage, /* Reserved3 */
|
||||
DecryptMessage, /* Reserved4 */
|
||||
ExportSecurityContext,
|
||||
ImportSecurityContextA,
|
||||
AddCredentialsA,
|
||||
NULL, /* Reserved8 */
|
||||
QuerySecurityContextToken,
|
||||
EncryptMessage,
|
||||
DecryptMessage,
|
||||
NULL
|
||||
};
|
||||
|
||||
static SecurityFunctionTableW securityFunctionTableW =
|
||||
{
|
||||
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION,
|
||||
EnumerateSecurityPackagesW,
|
||||
QueryCredentialsAttributesW,
|
||||
AcquireCredentialsHandleW,
|
||||
FreeCredentialsHandle,
|
||||
NULL, /* Reserved2 */
|
||||
InitializeSecurityContextW,
|
||||
AcceptSecurityContext,
|
||||
CompleteAuthToken,
|
||||
DeleteSecurityContext,
|
||||
ApplyControlTokenW,
|
||||
QueryContextAttributesW,
|
||||
ImpersonateSecurityContext,
|
||||
RevertSecurityContext,
|
||||
MakeSignature,
|
||||
VerifySignature,
|
||||
FreeContextBuffer,
|
||||
QuerySecurityPackageInfoW,
|
||||
EncryptMessage, /* Reserved3 */
|
||||
DecryptMessage, /* Reserved4 */
|
||||
ExportSecurityContext,
|
||||
ImportSecurityContextW,
|
||||
AddCredentialsW,
|
||||
NULL, /* Reserved8 */
|
||||
QuerySecurityContextToken,
|
||||
EncryptMessage,
|
||||
DecryptMessage,
|
||||
NULL
|
||||
};
|
||||
|
||||
SECURITY_STATUS
|
||||
WINAPI
|
||||
|
@ -56,8 +122,8 @@ PSecurityFunctionTableW
|
|||
WINAPI
|
||||
InitSecurityInterfaceW(VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return NULL;
|
||||
DPRINT("InitSecurityInterfaceW() called\n");
|
||||
return &securityFunctionTableW;
|
||||
}
|
||||
|
||||
SECURITY_STATUS
|
||||
|
@ -407,8 +473,8 @@ PSecurityFunctionTableA
|
|||
WINAPI
|
||||
InitSecurityInterfaceA(VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return NULL;
|
||||
DPRINT("InitSecurityInterfaceA() called\n");
|
||||
return &securityFunctionTableA;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
|
|
Loading…
Reference in a new issue