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.

56 lines
804 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. keycache.h
  5. Abstract:
  6. This module contains routines for accessing cached masterkeys.
  7. Author:
  8. Scott Field (sfield) 07-Nov-98
  9. Revision History:
  10. --*/
  11. #ifndef __KEYCACHE_H__
  12. #define __KEYCACHE_H__
  13. BOOL
  14. InitializeKeyCache(
  15. VOID
  16. );
  17. VOID
  18. DeleteKeyCache(
  19. VOID
  20. );
  21. BOOL
  22. SearchMasterKeyCache(
  23. IN PLUID pLogonId,
  24. IN GUID *pguidMasterKey,
  25. IN OUT PBYTE *ppbMasterKey,
  26. OUT PDWORD pcbMasterKey
  27. );
  28. BOOL
  29. InsertMasterKeyCache(
  30. IN PLUID pLogonId,
  31. IN GUID *pguidMasterKey,
  32. IN PBYTE pbMasterKey,
  33. IN DWORD cbMasterKey
  34. );
  35. BOOL
  36. PurgeMasterKeyCache(
  37. VOID
  38. );
  39. #endif // __KEYCACHE_H__