mirror of https://github.com/tongzx/nt5src
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
52 lines
1.0 KiB
//+-----------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (c) Microsoft Corporation 1992 - 1997
|
|
//
|
|
// File: pkserv.h
|
|
//
|
|
// Contents: types and prototypes for pk authentication
|
|
//
|
|
//
|
|
// History: 1-Dec-1997 MikeSw Created
|
|
//
|
|
//------------------------------------------------------------------------
|
|
|
|
#ifndef __PKSERV_H__
|
|
#define __PKSERV_H__
|
|
|
|
|
|
KERBERR
|
|
KdcCheckPkinitPreAuthData(
|
|
IN PKDC_TICKET_INFO ClientTicketInfo,
|
|
IN SAMPR_HANDLE UserHandle,
|
|
IN OPTIONAL PKERB_PA_DATA_LIST PreAuthData,
|
|
IN PKERB_KDC_REQUEST_BODY ClientRequest,
|
|
OUT PKERB_PA_DATA_LIST * OutputPreAuthData,
|
|
OUT PULONG Nonce,
|
|
OUT PKERB_ENCRYPTION_KEY EncryptionKey,
|
|
OUT PUNICODE_STRING TransitedRealm,
|
|
OUT PKERB_EXT_ERROR pExtendedError
|
|
);
|
|
|
|
BOOLEAN
|
|
KdcCheckForEtype(
|
|
IN PKERB_CRYPT_LIST CryptList,
|
|
IN ULONG Etype
|
|
);
|
|
|
|
NTSTATUS
|
|
KdcInitializeCerts(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
KdcCleanupCerts(
|
|
IN BOOLEAN CleanupScavenger
|
|
);
|
|
|
|
|
|
|
|
|
|
#endif // __PKSERV_H__
|