FreeRDP
nla.h File Reference
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
#include <winpr/sspi.h>
#include <winpr/stream.h>
#include <winpr/crypto.h>
#include <freerdp/crypto/tls.h>
#include <freerdp/crypto/ber.h>
#include <freerdp/crypto/der.h>
#include <freerdp/crypto/crypto.h>
#include "transport.h"
This graph shows which files directly or indirectly include this file:

Typedefs

typedef enum _NLA_STATE NLA_STATE
 

Enumerations

enum  _NLA_STATE {
  NLA_STATE_INITIAL, NLA_STATE_NEGO_TOKEN, NLA_STATE_PUB_KEY_AUTH, NLA_STATE_AUTH_INFO,
  NLA_STATE_POST_NEGO, NLA_STATE_FINAL
}
 

Functions

FREERDP_LOCAL int nla_authenticate (rdpNla *nla)
 
FREERDP_LOCAL LPTSTR nla_make_spn (const char *ServiceClass, const char *hostname)
 
FREERDP_LOCAL int nla_client_begin (rdpNla *nla)
 
FREERDP_LOCAL int nla_recv_pdu (rdpNla *nla, wStream *s)
 
FREERDP_LOCAL SEC_WINNT_AUTH_IDENTITY * nla_get_identity (rdpNla *nla)
 
FREERDP_LOCAL NLA_STATE nla_get_state (rdpNla *nla)
 
FREERDP_LOCAL BOOL nla_set_state (rdpNla *nla, NLA_STATE state)
 
FREERDP_LOCAL BOOL nla_set_service_principal (rdpNla *nla, LPSTR principal)
 
FREERDP_LOCAL rdpNla * nla_new (freerdp *instance, rdpTransport *transport, rdpSettings *settings)
 
FREERDP_LOCAL void nla_free (rdpNla *nla)
 

Typedef Documentation

typedef enum _NLA_STATE NLA_STATE

Enumeration Type Documentation

enum _NLA_STATE
Enumerator
NLA_STATE_INITIAL 
NLA_STATE_NEGO_TOKEN 
NLA_STATE_PUB_KEY_AUTH 
NLA_STATE_AUTH_INFO 
NLA_STATE_POST_NEGO 
NLA_STATE_FINAL 

Function Documentation

FREERDP_LOCAL int nla_authenticate ( rdpNla *  nla)

Authenticate using CredSSP.

Parameters
credssp
Returns
1 if authentication is successful

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL int nla_client_begin ( rdpNla *  nla)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void nla_free ( rdpNla *  nla)

Free CredSSP state machine.

Parameters
credssp

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL SEC_WINNT_AUTH_IDENTITY* nla_get_identity ( rdpNla *  nla)

Here is the caller graph for this function:

FREERDP_LOCAL NLA_STATE nla_get_state ( rdpNla *  nla)

Here is the caller graph for this function:

FREERDP_LOCAL LPTSTR nla_make_spn ( const char *  ServiceClass,
const char *  hostname 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL rdpNla* nla_new ( freerdp *  instance,
rdpTransport *  transport,
rdpSettings *  settings 
)

Create new CredSSP state machine.

Parameters
transport
Returns
new CredSSP state machine.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL nla_set_service_principal ( rdpNla *  nla,
LPSTR  principal 
)

Here is the caller graph for this function:

FREERDP_LOCAL BOOL nla_set_state ( rdpNla *  nla,
NLA_STATE  state 
)

Here is the caller graph for this function: