Source code of Windows XP (NT5)
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.

84 lines
1.9 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: mapper.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 10-15-96 RichardW Created
  15. // 12-23-97 jbanes Added support for application mappers
  16. //
  17. //----------------------------------------------------------------------------
  18. #ifndef __MAPPER_H__
  19. #define __MAPPER_H__
  20. HMAPPER *
  21. SslGetMapper(
  22. BOOL fDC);
  23. DWORD
  24. WINAPI
  25. SslReferenceMapper(
  26. HMAPPER * phMapper); // in
  27. DWORD
  28. WINAPI
  29. SslDereferenceMapper(
  30. HMAPPER * phMapper); // in
  31. SECURITY_STATUS
  32. WINAPI
  33. SslGetMapperIssuerList(
  34. HMAPPER * phMapper, // in
  35. BYTE ** ppIssuerList, // out
  36. DWORD * pcbIssuerList); // out
  37. SECURITY_STATUS
  38. WINAPI
  39. SslGetMapperChallenge(
  40. HMAPPER * phMapper, // in
  41. BYTE * pAuthenticatorId, // in
  42. DWORD cbAuthenticatorId, // in
  43. BYTE * pChallenge, // out
  44. DWORD * pcbChallenge); // out
  45. SECURITY_STATUS
  46. WINAPI
  47. SslMapCredential(
  48. HMAPPER * phMapper, // in
  49. DWORD dwCredentialType, // in
  50. PCCERT_CONTEXT pCredential, // in
  51. PCCERT_CONTEXT pAuthority, // in
  52. HLOCATOR * phLocator); // out
  53. SECURITY_STATUS
  54. WINAPI
  55. SslGetAccessToken(
  56. HMAPPER * phMapper, // in
  57. HLOCATOR hLocator, // in
  58. HANDLE * phToken); // out
  59. SECURITY_STATUS
  60. WINAPI
  61. SslCloseLocator(
  62. HMAPPER * phMapper, // in
  63. HLOCATOR hLocator); // in
  64. SECURITY_STATUS
  65. WINAPI
  66. SslQueryMappedCredentialAttributes(
  67. HMAPPER * phMapper, // in
  68. HLOCATOR hLocator, // in
  69. DWORD dwAttribute, // in
  70. PVOID * ppBuffer); // out
  71. #endif