|
static const char * | rdstls_result_code_str (UINT32 resultCode) |
|
rdpRdstls * | rdstls_new (rdpContext *context, rdpTransport *transport) |
|
void | rdstls_free (rdpRdstls *rdstls) |
|
static const char * | rdstls_get_state_str (RDSTLS_STATE state) |
|
static RDSTLS_STATE | rdstls_get_state (rdpRdstls *rdstls) |
|
static BOOL | check_transition (wLog *log, RDSTLS_STATE current, RDSTLS_STATE expected, RDSTLS_STATE requested) |
|
static BOOL | rdstls_set_state (rdpRdstls *rdstls, RDSTLS_STATE state) |
|
static BOOL | rdstls_write_capabilities (rdpRdstls *rdstls, wStream *s) |
|
static SSIZE_T | rdstls_write_string (wStream *s, const char *str) |
|
static BOOL | rdstls_write_data (wStream *s, UINT32 length, const BYTE *data) |
|
static BOOL | rdstls_write_authentication_request_with_password (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_write_authentication_request_with_cookie (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_write_authentication_response (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_process_capabilities (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_read_unicode_string (wLog *log, wStream *s, char **str) |
|
static BOOL | rdstls_read_data (wLog *log, wStream *s, UINT16 *pLength, const BYTE **pData) |
|
static BOOL | rdstls_cmp_data (wLog *log, const char *field, const BYTE *serverData, const UINT32 serverDataLength, const BYTE *clientData, const UINT16 clientDataLength) |
|
static BOOL | rdstls_cmp_str (wLog *log, const char *field, const char *serverStr, const char *clientStr) |
|
static BOOL | rdstls_process_authentication_request_with_password (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_process_authentication_request_with_cookie (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_process_authentication_request (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_process_authentication_response (rdpRdstls *rdstls, wStream *s) |
|
static BOOL | rdstls_send (rdpTransport *transport, wStream *s, void *extra) |
|
static int | rdstls_recv (rdpTransport *transport, wStream *s, void *extra) |
|
static BOOL | rdstls_check_state_requirements_ (rdpRdstls *rdstls, RDSTLS_STATE expected, const char *file, const char *fkt, size_t line) |
|
static BOOL | rdstls_send_capabilities (rdpRdstls *rdstls) |
|
static BOOL | rdstls_recv_authentication_request (rdpRdstls *rdstls) |
|
static BOOL | rdstls_send_authentication_response (rdpRdstls *rdstls) |
|
static BOOL | rdstls_recv_capabilities (rdpRdstls *rdstls) |
|
static BOOL | rdstls_send_authentication_request (rdpRdstls *rdstls) |
|
static BOOL | rdstls_recv_authentication_response (rdpRdstls *rdstls) |
|
static int | rdstls_server_authenticate (rdpRdstls *rdstls) |
|
static int | rdstls_client_authenticate (rdpRdstls *rdstls) |
|
int | rdstls_authenticate (rdpRdstls *rdstls) |
|
static SSIZE_T | rdstls_parse_pdu_data_type (wLog *log, UINT16 dataType, wStream *s) |
|
SSIZE_T | rdstls_parse_pdu (wLog *log, wStream *stream) |
|
#define RDSTLS_VERSION_1 0x01 |
FreeRDP: A Remote Desktop Protocol Implementation RDSTLS Security protocol
Copyright 2023 Joan Torres joan..nosp@m.torr.nosp@m.es@su.nosp@m.se.c.nosp@m.om
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.