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.

52 lines
1.0 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1997
  6. //
  7. // File: pkserv.h
  8. //
  9. // Contents: types and prototypes for pk authentication
  10. //
  11. //
  12. // History: 1-Dec-1997 MikeSw Created
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __PKSERV_H__
  16. #define __PKSERV_H__
  17. KERBERR
  18. KdcCheckPkinitPreAuthData(
  19. IN PKDC_TICKET_INFO ClientTicketInfo,
  20. IN SAMPR_HANDLE UserHandle,
  21. IN OPTIONAL PKERB_PA_DATA_LIST PreAuthData,
  22. IN PKERB_KDC_REQUEST_BODY ClientRequest,
  23. OUT PKERB_PA_DATA_LIST * OutputPreAuthData,
  24. OUT PULONG Nonce,
  25. OUT PKERB_ENCRYPTION_KEY EncryptionKey,
  26. OUT PUNICODE_STRING TransitedRealm,
  27. OUT PKERB_EXT_ERROR pExtendedError
  28. );
  29. BOOLEAN
  30. KdcCheckForEtype(
  31. IN PKERB_CRYPT_LIST CryptList,
  32. IN ULONG Etype
  33. );
  34. NTSTATUS
  35. KdcInitializeCerts(
  36. VOID
  37. );
  38. VOID
  39. KdcCleanupCerts(
  40. IN BOOLEAN CleanupScavenger
  41. );
  42. #endif // __PKSERV_H__