2 * Copyright 2017 Dmitry Timoshkov
3 * Copyright 2017 George Popoff
4 * Copyright 2008 Robert Shearman for CodeWeavers
5 * Copyright 2017,2021 Hans Leidekker for CodeWeavers
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #define KERBEROS_MAX_BUF 12000
28 KERB_TICKET_CACHE_INFO
*tickets
;
33 NTSTATUS (CDECL
*accept_context
)(LSA_SEC_HANDLE
, LSA_SEC_HANDLE
, SecBufferDesc
*, LSA_SEC_HANDLE
*,
34 SecBufferDesc
*, ULONG
*, TimeStamp
*);
35 NTSTATUS (CDECL
*acquire_credentials_handle
)(const char *, ULONG
, const char *, const char *, LSA_SEC_HANDLE
*,
37 NTSTATUS (CDECL
*delete_context
)(LSA_SEC_HANDLE
);
38 NTSTATUS (CDECL
*free_credentials_handle
)(LSA_SEC_HANDLE
);
39 NTSTATUS (CDECL
*initialize_context
)(LSA_SEC_HANDLE
, LSA_SEC_HANDLE
, const char *, ULONG
, SecBufferDesc
*,
40 LSA_SEC_HANDLE
*, SecBufferDesc
*, ULONG
*, TimeStamp
*);
41 NTSTATUS (CDECL
*make_signature
)(LSA_SEC_HANDLE
, SecBufferDesc
*);
42 NTSTATUS (CDECL
*query_context_attributes
)(LSA_SEC_HANDLE
, ULONG
, void *);
43 NTSTATUS (CDECL
*query_ticket_cache
)(struct ticket_list
*);
44 NTSTATUS (CDECL
*seal_message
)(LSA_SEC_HANDLE
, SecBufferDesc
*, ULONG
);
45 NTSTATUS (CDECL
*unseal_message
)(LSA_SEC_HANDLE
, SecBufferDesc
*, ULONG
*);
46 NTSTATUS (CDECL
*verify_signature
)(LSA_SEC_HANDLE
, SecBufferDesc
*, ULONG
*);
49 extern const struct krb5_funcs
*krb5_funcs
;