FreeRDP
sspi_export.c File Reference
#include <winpr/winpr.h>

Macros

#define SEC_ENTRY
 
#define SSPI_EXPORT   WINPR_API
 

Typedefs

typedef LONG SECURITY_STATUS
 

Functions

SECURITY_STATUS SEC_ENTRY sspi_EnumerateSecurityPackagesW (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW (void *pcPackages, void *ppPackageInfo)
 
SECURITY_STATUS SEC_ENTRY sspi_EnumerateSecurityPackagesA (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA (void *pcPackages, void *ppPackageInfo)
 
void *SEC_ENTRY sspi_InitSecurityInterfaceW (void)
 
SSPI_EXPORT void *SEC_ENTRY InitSecurityInterfaceW (void)
 
void *SEC_ENTRY sspi_InitSecurityInterfaceA (void)
 
SSPI_EXPORT void *SEC_ENTRY InitSecurityInterfaceA (void)
 
SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityPackageInfoW (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW (void *pszPackageName, void *ppPackageInfo)
 
SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityPackageInfoA (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoA (void *pszPackageName, void *ppPackageInfo)
 
SECURITY_STATUS SEC_ENTRY sspi_AcquireCredentialsHandleW (void *, void *, ULONG, void *, void *, void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW (void *pszPrincipal, void *pszPackage, ULONG fCredentialUse, void *pvLogonID, void *pAuthData, void *pGetKeyFn, void *pvGetKeyArgument, void *phCredential, void *ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY sspi_AcquireCredentialsHandleA (void *, void *, ULONG, void *, void *, void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleA (void *pszPrincipal, void *pszPackage, ULONG fCredentialUse, void *pvLogonID, void *pAuthData, void *pGetKeyFn, void *pvGetKeyArgument, void *phCredential, void *ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY sspi_ExportSecurityContext (void *, ULONG, void *, void **)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ExportSecurityContext (void *phContext, ULONG fFlags, void *pPackedContext, void **pToken)
 
SECURITY_STATUS SEC_ENTRY sspi_FreeCredentialsHandle (void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle (void *phCredential)
 
SECURITY_STATUS SEC_ENTRY sspi_ImportSecurityContextW (void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImportSecurityContextW (void *pszPackage, void *pPackedContext, void *pToken, void *phContext)
 
SECURITY_STATUS SEC_ENTRY sspi_ImportSecurityContextA (void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImportSecurityContextA (void *pszPackage, void *pPackedContext, void *pToken, void *phContext)
 
SECURITY_STATUS SEC_ENTRY sspi_QueryCredentialsAttributesW (void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW (void *phCredential, ULONG ulAttribute, void *pBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_QueryCredentialsAttributesA (void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesA (void *phCredential, ULONG ulAttribute, void *pBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_AcceptSecurityContext (void *, void *, void *, ULONG, ULONG, void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcceptSecurityContext (void *phCredential, void *phContext, void *pInput, ULONG fContextReq, ULONG TargetDataRep, void *phNewContext, void *pOutput, void *pfContextAttr, void *ptsTimeStamp)
 
SECURITY_STATUS SEC_ENTRY sspi_ApplyControlToken (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ApplyControlToken (void *phContext, void *pInput)
 
SECURITY_STATUS SEC_ENTRY sspi_CompleteAuthToken (void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY CompleteAuthToken (void *phContext, void *pToken)
 
SECURITY_STATUS SEC_ENTRY sspi_DeleteSecurityContext (void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY DeleteSecurityContext (void *phContext)
 
SECURITY_STATUS SEC_ENTRY sspi_FreeContextBuffer (void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY FreeContextBuffer (void *pvContextBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_ImpersonateSecurityContext (void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext (void *phContext)
 
SECURITY_STATUS SEC_ENTRY sspi_InitializeSecurityContextW (void *, void *, void *, ULONG, ULONG, ULONG, void *, ULONG, void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW (void *phCredential, void *phContext, void *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, void *pInput, ULONG Reserved2, void *phNewContext, void *pOutput, void *pfContextAttr, void *ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY sspi_InitializeSecurityContextA (void *, void *, void *, ULONG, ULONG, ULONG, void *, ULONG, void *, void *, void *, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY InitializeSecurityContextA (void *phCredential, void *phContext, void *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, void *pInput, ULONG Reserved2, void *phNewContext, void *pOutput, void *pfContextAttr, void *ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY sspi_QueryContextAttributesW (void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryContextAttributesW (void *phContext, ULONG ulAttribute, void *pBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_QueryContextAttributesA (void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryContextAttributesA (void *phContext, ULONG ulAttribute, void *pBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityContextToken (void *, void **)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken (void *phContext, void **phToken)
 
SECURITY_STATUS SEC_ENTRY sspi_SetContextAttributesW (void *, ULONG, void *, ULONG)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY SetContextAttributesW (void *phContext, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_SetContextAttributesA (void *, ULONG, void *, ULONG)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY SetContextAttributesA (void *phContext, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer)
 
SECURITY_STATUS SEC_ENTRY sspi_RevertSecurityContext (void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY RevertSecurityContext (void *phContext)
 
SECURITY_STATUS SEC_ENTRY sspi_DecryptMessage (void *, void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY DecryptMessage (void *phContext, void *pMessage, ULONG MessageSeqNo, void *pfQOP)
 
SECURITY_STATUS SEC_ENTRY sspi_EncryptMessage (void *, ULONG, void *, ULONG)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EncryptMessage (void *phContext, ULONG fQOP, void *pMessage, ULONG MessageSeqNo)
 
SECURITY_STATUS SEC_ENTRY sspi_MakeSignature (void *, ULONG, void *, ULONG)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY MakeSignature (void *phContext, ULONG fQOP, void *pMessage, ULONG MessageSeqNo)
 
SECURITY_STATUS SEC_ENTRY sspi_VerifySignature (void *, void *, ULONG, void *)
 
SSPI_EXPORT SECURITY_STATUS SEC_ENTRY VerifySignature (void *phContext, void *pMessage, ULONG MessageSeqNo, void *pfQOP)
 

Macro Definition Documentation

#define SEC_ENTRY

FreeRDP: A Remote Desktop Protocol Implementation Security Support Provider Interface (SSPI)

Copyright 2012-2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

#define SSPI_EXPORT   WINPR_API

Typedef Documentation

typedef LONG SECURITY_STATUS

Function Documentation

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcceptSecurityContext ( void phCredential,
void phContext,
void pInput,
ULONG  fContextReq,
ULONG  TargetDataRep,
void phNewContext,
void pOutput,
void pfContextAttr,
void ptsTimeStamp 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleA ( void pszPrincipal,
void pszPackage,
ULONG  fCredentialUse,
void pvLogonID,
void pAuthData,
void pGetKeyFn,
void pvGetKeyArgument,
void phCredential,
void ptsExpiry 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW ( void pszPrincipal,
void pszPackage,
ULONG  fCredentialUse,
void pvLogonID,
void pAuthData,
void pGetKeyFn,
void pvGetKeyArgument,
void phCredential,
void ptsExpiry 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ApplyControlToken ( void phContext,
void pInput 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY CompleteAuthToken ( void phContext,
void pToken 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY DecryptMessage ( void phContext,
void pMessage,
ULONG  MessageSeqNo,
void pfQOP 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY DeleteSecurityContext ( void phContext)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EncryptMessage ( void phContext,
ULONG  fQOP,
void pMessage,
ULONG  MessageSeqNo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA ( void pcPackages,
void ppPackageInfo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW ( void pcPackages,
void ppPackageInfo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ExportSecurityContext ( void phContext,
ULONG  fFlags,
void pPackedContext,
void **  pToken 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY FreeContextBuffer ( void pvContextBuffer)

Here is the call graph for this function:

Here is the caller graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle ( void phCredential)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext ( void phContext)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImportSecurityContextA ( void pszPackage,
void pPackedContext,
void pToken,
void phContext 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY ImportSecurityContextW ( void pszPackage,
void pPackedContext,
void pToken,
void phContext 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY InitializeSecurityContextA ( void phCredential,
void phContext,
void pszTargetName,
ULONG  fContextReq,
ULONG  Reserved1,
ULONG  TargetDataRep,
void pInput,
ULONG  Reserved2,
void phNewContext,
void pOutput,
void pfContextAttr,
void ptsExpiry 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW ( void phCredential,
void phContext,
void pszTargetName,
ULONG  fContextReq,
ULONG  Reserved1,
ULONG  TargetDataRep,
void pInput,
ULONG  Reserved2,
void phNewContext,
void pOutput,
void pfContextAttr,
void ptsExpiry 
)

Here is the call graph for this function:

SSPI_EXPORT void* SEC_ENTRY InitSecurityInterfaceA ( void  )

Here is the call graph for this function:

SSPI_EXPORT void* SEC_ENTRY InitSecurityInterfaceW ( void  )

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY MakeSignature ( void phContext,
ULONG  fQOP,
void pMessage,
ULONG  MessageSeqNo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryContextAttributesA ( void phContext,
ULONG  ulAttribute,
void pBuffer 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryContextAttributesW ( void phContext,
ULONG  ulAttribute,
void pBuffer 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesA ( void phCredential,
ULONG  ulAttribute,
void pBuffer 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW ( void phCredential,
ULONG  ulAttribute,
void pBuffer 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken ( void phContext,
void **  phToken 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoA ( void pszPackageName,
void ppPackageInfo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW ( void pszPackageName,
void ppPackageInfo 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY RevertSecurityContext ( void phContext)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY SetContextAttributesA ( void phContext,
ULONG  ulAttribute,
void pBuffer,
ULONG  cbBuffer 
)

Here is the call graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY SetContextAttributesW ( void phContext,
ULONG  ulAttribute,
void pBuffer,
ULONG  cbBuffer 
)

Here is the call graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_AcceptSecurityContext ( void ,
void ,
void ,
ULONG  ,
ULONG  ,
void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_AcquireCredentialsHandleA ( void ,
void ,
ULONG  ,
void ,
void ,
void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_AcquireCredentialsHandleW ( void ,
void ,
ULONG  ,
void ,
void ,
void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_ApplyControlToken ( void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_CompleteAuthToken ( void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_DecryptMessage ( void ,
void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_DeleteSecurityContext ( void )

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_EncryptMessage ( void ,
ULONG  ,
void ,
ULONG   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_EnumerateSecurityPackagesA ( void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_EnumerateSecurityPackagesW ( void ,
void  
)

Standard SSPI API

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_ExportSecurityContext ( void ,
ULONG  ,
void ,
void **   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_FreeContextBuffer ( void )

Here is the call graph for this function:

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_FreeCredentialsHandle ( void )

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_ImpersonateSecurityContext ( void )

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_ImportSecurityContextA ( void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_ImportSecurityContextW ( void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_InitializeSecurityContextA ( void ,
void ,
void ,
ULONG  ,
ULONG  ,
ULONG  ,
void ,
ULONG  ,
void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_InitializeSecurityContextW ( void ,
void ,
void ,
ULONG  ,
ULONG  ,
ULONG  ,
void ,
ULONG  ,
void ,
void ,
void ,
void  
)

Here is the caller graph for this function:

void* SEC_ENTRY sspi_InitSecurityInterfaceA ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void* SEC_ENTRY sspi_InitSecurityInterfaceW ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_MakeSignature ( void ,
ULONG  ,
void ,
ULONG   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QueryContextAttributesA ( void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QueryContextAttributesW ( void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QueryCredentialsAttributesA ( void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QueryCredentialsAttributesW ( void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityContextToken ( void ,
void **   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityPackageInfoA ( void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_QuerySecurityPackageInfoW ( void ,
void  
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_RevertSecurityContext ( void )

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_SetContextAttributesA ( void ,
ULONG  ,
void ,
ULONG   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_SetContextAttributesW ( void ,
ULONG  ,
void ,
ULONG   
)

Here is the caller graph for this function:

SECURITY_STATUS SEC_ENTRY sspi_VerifySignature ( void ,
void ,
ULONG  ,
void  
)

Here is the caller graph for this function:

SSPI_EXPORT SECURITY_STATUS SEC_ENTRY VerifySignature ( void phContext,
void pMessage,
ULONG  MessageSeqNo,
void pfQOP 
)

Here is the call graph for this function: