18#ifndef WINPR_SSPI_CREDSSP_H
19#define WINPR_SSPI_CREDSSP_H
21#include <winpr/winpr.h>
22#include <winpr/wtypes.h>
24#if defined(_WIN32) && !defined(_UWP)
32 CredsspPasswordCreds = 2,
33 CredsspSchannelCreds = 4,
34 CredsspCertificateCreds = 13,
35 CredsspSubmitBufferBoth = 50,
36 CredsspSubmitBufferBothOld = 51,
42 CREDSPP_SUBMIT_TYPE Type;
47#define CREDSSP_CRED_EX_VERSION 0
51 CREDSPP_SUBMIT_TYPE Type;
58#define CREDSSP_FLAG_REDIRECT 0x00000001
65#include <winpr/sspi.h>
66#include <winpr/stream.h>
101 WINPR_API BOOL winpr_tsrequest_encode(
const WINPR_TSREQUEST* request, UINT32 peerVersion,
117#define WINPR_TSCREDS_USER_PASSWD 1
118#define WINPR_TSCREDS_SMARTCARD 2
119#define WINPR_TSCREDS_REMOTEGUARD 6
121#include <winpr/secapi.h>
139 WINPR_API BOOL winpr_kerb_ticket_logon_decode(
const BYTE* data,
size_t length,
152 WINPR_API BOOL winpr_tscredentials_encode_remoteguard_kerb(
const KERB_TICKET_LOGON* ticket,
168 WINPR_API BOOL winpr_credssp_public_key_hash(BOOL server,
const SecBuffer* nonce,
[MS-CSSP] 2.2.1 TSRequest fields the CredSSP exchange carries.