Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1994-1999 Microsoft Corporation
  3. Module Name:
  4. tsrvsec.h
  5. Abstract:
  6. Contains proto type functions for security functions.
  7. Author:
  8. Madan Appiah (madana) 1-Jan-1999
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _TSRVSEC_H_
  14. #define _TSRVSEC_H_
  15. //
  16. // TSrvSec.c prototypes
  17. //
  18. EXTERN_C
  19. NTSTATUS
  20. AppendSecurityData(IN PTSRVINFO pTSrvInfo, IN OUT PUSERDATAINFO *pUserDataInfo,
  21. IN BOOLEAN bGetCert, PVOID *ppSecInfo) ;
  22. EXTERN_C
  23. NTSTATUS
  24. SendSecurityData(IN HANDLE hStack, IN PVOID pSecInfo);
  25. EXTERN_C NTSTATUS CreateSessionKeys(IN HANDLE, IN PTSRVINFO, IN NTSTATUS);
  26. EXTERN_C
  27. NTSTATUS
  28. GetClientRandom(IN HANDLE hStack, IN PTSRVINFO pTSrvInfo,
  29. LONG ulTimeout, BOOLEAN bShadow);
  30. EXTERN_C
  31. NTSTATUS
  32. SendClientRandom(HANDLE hStack,
  33. CERT_TYPE certType,
  34. PBYTE pbServerPublicKey,
  35. ULONG serverPublicKeyLen,
  36. PBYTE pbRandomKey,
  37. ULONG randomKeyLen);
  38. #endif // _TSRVSEC_H_