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.

39 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. // Microsoft Windows
  3. //
  4. // Copyright (C) Microsoft Corporation, 1999 - 1999
  5. //
  6. // File: rootlist.h
  7. //
  8. // Contents: Signed List of Trusted Roots Helper Functions
  9. //
  10. // History: 01-Aug-99 philh created
  11. //--------------------------------------------------------------------------
  12. #ifndef __ROOTLIST_H__
  13. #define __ROOTLIST_H__
  14. //+-------------------------------------------------------------------------
  15. // Verifies that the CTL contains a valid list of AuthRoots used for
  16. // Auto Update.
  17. //
  18. // The signature of the CTL is verified. The signer of the CTL is verified
  19. // up to a trusted root containing the predefined Microsoft public key.
  20. // The signer and intermediate certificates must have the
  21. // szOID_ROOT_LIST_SIGNER enhanced key usage extension.
  22. //
  23. // The CTL fields are validated as follows:
  24. // - The SubjectUsage is szOID_ROOT_LIST_SIGNER
  25. // - If NextUpdate isn't NULL, that the CTL is still time valid
  26. // - Only allow roots identified by their sha1 hash
  27. //
  28. // If the CTL contains any critical extensions, then, the
  29. // CTL verification fails.
  30. //--------------------------------------------------------------------------
  31. BOOL
  32. WINAPI
  33. IRL_VerifyAuthRootAutoUpdateCtl(
  34. IN PCCTL_CONTEXT pCtl
  35. );
  36. #endif // __ROOTLIST_H__