56 lines
1 KiB
C
56 lines
1 KiB
C
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1995.
|
|
//
|
|
// File: userctxt.h
|
|
//
|
|
// Contents:
|
|
//
|
|
// Classes:
|
|
//
|
|
// Functions:
|
|
//
|
|
// History: 10-10-96 RichardW Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __USERCTXT_H__
|
|
#define __USERCTXT_H__
|
|
|
|
typedef struct _SSL_USER_CONTEXT {
|
|
LIST_ENTRY List ;
|
|
LSA_SEC_HANDLE LsaHandle;
|
|
ULONG Align;
|
|
PSPContext pContext;
|
|
} SSL_USER_CONTEXT, * PSSL_USER_CONTEXT ;
|
|
|
|
BOOL
|
|
SslInitContextManager(
|
|
VOID
|
|
);
|
|
|
|
SECURITY_STATUS
|
|
SslAddUserContext(
|
|
IN LSA_SEC_HANDLE LsaHandle,
|
|
IN HANDLE Token, // optional
|
|
IN PSecBuffer ContextData,
|
|
IN BOOL fImportedContext);
|
|
|
|
PSSL_USER_CONTEXT
|
|
SslFindUserContext(
|
|
IN LSA_SEC_HANDLE LsaHandle
|
|
);
|
|
|
|
PSSL_USER_CONTEXT
|
|
SslFindUserContextEx(
|
|
IN PCRED_THUMBPRINT pThumbprint
|
|
);
|
|
|
|
VOID
|
|
SslDeleteUserContext(
|
|
IN LSA_SEC_HANDLE LsaHandle
|
|
);
|
|
|
|
#endif
|