mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +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
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#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
|
SECURITY_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
|
@ -56,8 +122,8 @@ PSecurityFunctionTableW
|
||||||
WINAPI
|
WINAPI
|
||||||
InitSecurityInterfaceW(VOID)
|
InitSecurityInterfaceW(VOID)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
DPRINT("InitSecurityInterfaceW() called\n");
|
||||||
return NULL;
|
return &securityFunctionTableW;
|
||||||
}
|
}
|
||||||
|
|
||||||
SECURITY_STATUS
|
SECURITY_STATUS
|
||||||
|
@ -407,8 +473,8 @@ PSecurityFunctionTableA
|
||||||
WINAPI
|
WINAPI
|
||||||
InitSecurityInterfaceA(VOID)
|
InitSecurityInterfaceA(VOID)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
DPRINT("InitSecurityInterfaceA() called\n");
|
||||||
return NULL;
|
return &securityFunctionTableA;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
|
Loading…
Reference in a new issue