|
FreeRDP
|
#include <freerdp/api.h>#include <freerdp/freerdp.h>#include <winpr/sspi.h>#include <winpr/stream.h>#include <winpr/crypto.h>#include <freerdp/crypto/ber.h>#include <freerdp/crypto/der.h>#include <freerdp/crypto/crypto.h>#include "transport.h"
Enumerations | |
| enum | NLA_STATE { NLA_STATE_INITIAL , NLA_STATE_NEGO_TOKEN , NLA_STATE_PUB_KEY_AUTH , NLA_STATE_EARLY_USER_AUTH , NLA_STATE_AUTH_INFO , NLA_STATE_POST_NEGO , NLA_STATE_FINAL } |
| enum NLA_STATE |
| FREERDP_LOCAL int nla_authenticate | ( | rdpNla * | nla | ) |
Authenticate using CredSSP.
| nla | The NLA instance to use |


| FREERDP_LOCAL int nla_client_begin | ( | rdpNla * | nla | ) |


| FREERDP_LOCAL void nla_free | ( | rdpNla * | nla | ) |
Free CredSSP state machine.
| nla | The NLA instance to free |


| FREERDP_LOCAL DWORD nla_get_error | ( | rdpNla * | nla | ) |

| FREERDP_LOCAL SEC_WINNT_AUTH_IDENTITY* nla_get_identity | ( | rdpNla * | nla | ) |

| FREERDP_LOCAL UINT32 nla_get_sspi_error | ( | rdpNla * | nla | ) |


| FREERDP_LOCAL NLA_STATE nla_get_state | ( | rdpNla * | nla | ) |

| FREERDP_LOCAL const char* nla_get_state_str | ( | NLA_STATE | state | ) |

| FREERDP_LOCAL BOOL nla_impersonate | ( | rdpNla * | nla | ) |


| FREERDP_LOCAL rdpNla* nla_new | ( | rdpContext * | context, |
| rdpTransport * | transport | ||
| ) |
Create new CredSSP state machine.
| context | A pointer to the rdp context to use |
| transport | A pointer to the transport to use |


| FREERDP_LOCAL int nla_recv_pdu | ( | rdpNla * | nla, |
| wStream * | s | ||
| ) |


| FREERDP_LOCAL BOOL nla_revert_to_self | ( | rdpNla * | nla | ) |


| FREERDP_LOCAL void nla_set_early_user_auth | ( | rdpNla * | nla, |
| BOOL | earlyUserAuth | ||
| ) |


| FREERDP_LOCAL BOOL nla_set_service_principal | ( | rdpNla * | nla, |
| const char * | service, | ||
| const char * | hostname | ||
| ) |


| FREERDP_LOCAL BOOL nla_set_sspi_module | ( | rdpNla * | nla, |
| const char * | sspiModule | ||
| ) |
| FREERDP_LOCAL BOOL nla_set_state | ( | rdpNla * | nla, |
| NLA_STATE | state | ||
| ) |


| FREERDP_LOCAL BOOL nla_sspi_module_init | ( | rdpNla * | nla | ) |