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.

69 lines
1.3 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // File: WDIGEST.H
  6. //
  7. // Contents: Public WDigest Security Package structures for use
  8. // with APIs from SECURITY.H
  9. //
  10. //
  11. // History: 28Mar01, KDamour Created
  12. //
  13. //------------------------------------------------------------------------
  14. #ifndef __WDIGEST_H__
  15. #define __WDIGEST_H__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. // begin_ntsecapi
  20. #ifndef WDIGEST_SP_NAME_A
  21. #define WDIGEST_SP_NAME_A "WDigest"
  22. #define WDIGEST_SP_NAME_W L"WDigest"
  23. #ifdef UNICODE
  24. #define WDIGEST_SP_NAME WDIGEST_SP_NAME_W
  25. #else
  26. #define WDIGEST_SP_NAME WDIGEST_SP_NAME_A
  27. #endif
  28. #endif // WDIGEST_SP_NAME_A
  29. // end_ntsecapi
  30. // begin_ntsecapi
  31. /////////////////////////////////////////////////////////////////////////
  32. //
  33. // Quality of protection parameters for MakeSignature / EncryptMessage
  34. //
  35. /////////////////////////////////////////////////////////////////////////
  36. //
  37. // This flag indicates to EncryptMessage that the message is not to actually
  38. // be encrypted, but a header/trailer are to be produced.
  39. //
  40. #define WDIGEST_WRAP_NO_ENCRYPT 0x80000001
  41. // end_ntsecapi
  42. #endif // __WDIGEST_H__