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.

54 lines
1.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: certreq.h
  7. //
  8. // Contents: ICertRequest definitions
  9. //
  10. // History: 03-Jan-97 vich created
  11. //
  12. //---------------------------------------------------------------------------
  13. #ifndef __CERTREQ_H__
  14. #define __CERTREQ_H__
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. // begin_certsrv
  19. //+--------------------------------------------------------------------------
  20. // Known request Attribute names and Value strings
  21. // RequestType attribute name:
  22. #define wszCERT_TYPE L"RequestType" // attribute name
  23. // RequestType attribute values:
  24. // Not specified: // Non-specific certificate
  25. #define wszCERT_TYPE_CLIENT L"Client" // Client authentication cert
  26. #define wszCERT_TYPE_SERVER L"Server" // Server authentication cert
  27. #define wszCERT_TYPE_CODESIGN L"CodeSign" // Code signing certificate
  28. #define wszCERT_TYPE_CUSTOMER L"SetCustomer" // SET Customer certificate
  29. #define wszCERT_TYPE_MERCHANT L"SetMerchant" // SET Merchant certificate
  30. #define wszCERT_TYPE_PAYMENT L"SetPayment" // SET Payment certificate
  31. // Version attribute name:
  32. #define wszCERT_VERSION L"Version" // attribute name
  33. // Version attribute values:
  34. // Not specified: // Whetever is current
  35. #define wszCERT_VERSION_1 L"1" // Version one certificate
  36. #define wszCERT_VERSION_2 L"2" // Version two certificate
  37. #define wszCERT_VERSION_3 L"3" // Version three certificate
  38. // end_certsrv
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif // __CERTREQ_H__