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.

57 lines
1.2 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 PKDC_PKI_AUDIT_INFO PkiAuditInfo,
  28. OUT PKERB_EXT_ERROR pExtendedError
  29. );
  30. BOOLEAN
  31. KdcCheckForEtype(
  32. IN PKERB_CRYPT_LIST CryptList,
  33. IN ULONG Etype
  34. );
  35. NTSTATUS
  36. KdcInitializeCerts(
  37. VOID
  38. );
  39. VOID
  40. KdcCleanupCerts(
  41. IN BOOLEAN CleanupScavenger
  42. );
  43. VOID
  44. KdcFreePkiAuditInfo(
  45. IN PKDC_PKI_AUDIT_INFO AuditInfo
  46. );
  47. #endif // __PKSERV_H__