2012-02-24 06:26:00 +04:00
|
|
|
/**
|
2012-05-22 06:48:33 +04:00
|
|
|
* WinPR: Windows Portable Runtime
|
2012-02-24 06:26:00 +04:00
|
|
|
* NTLM Security Package (Message)
|
|
|
|
*
|
2014-06-07 08:17:11 +04:00
|
|
|
* Copyright 2011-2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2012-02-24 06:26:00 +04:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2012-05-22 06:48:33 +04:00
|
|
|
#ifndef WINPR_SSPI_NTLM_MESSAGE_H
|
|
|
|
#define WINPR_SSPI_NTLM_MESSAGE_H
|
2012-02-25 18:55:52 +04:00
|
|
|
|
2012-02-24 06:26:00 +04:00
|
|
|
#include "ntlm.h"
|
|
|
|
|
2012-03-24 08:14:45 +04:00
|
|
|
SECURITY_STATUS ntlm_read_NegotiateMessage(NTLM_CONTEXT* context, PSecBuffer buffer);
|
2022-03-14 16:50:32 +03:00
|
|
|
SECURITY_STATUS ntlm_write_NegotiateMessage(NTLM_CONTEXT* context, const PSecBuffer buffer);
|
2012-03-24 08:14:45 +04:00
|
|
|
SECURITY_STATUS ntlm_read_ChallengeMessage(NTLM_CONTEXT* context, PSecBuffer buffer);
|
2022-03-14 16:50:32 +03:00
|
|
|
SECURITY_STATUS ntlm_write_ChallengeMessage(NTLM_CONTEXT* context, const PSecBuffer buffer);
|
2012-03-24 08:14:45 +04:00
|
|
|
SECURITY_STATUS ntlm_read_AuthenticateMessage(NTLM_CONTEXT* context, PSecBuffer buffer);
|
2022-03-14 16:50:32 +03:00
|
|
|
SECURITY_STATUS ntlm_write_AuthenticateMessage(NTLM_CONTEXT* context, const PSecBuffer buffer);
|
2012-02-25 18:55:52 +04:00
|
|
|
|
2014-06-11 00:38:16 +04:00
|
|
|
SECURITY_STATUS ntlm_server_AuthenticateComplete(NTLM_CONTEXT* context);
|
|
|
|
|
2022-03-14 16:50:32 +03:00
|
|
|
const char* ntlm_get_negotiate_string(UINT32 flag);
|
|
|
|
|
2012-05-22 06:48:33 +04:00
|
|
|
#endif /* WINPR_SSPI_NTLM_MESSAGE_H */
|