FreeRDP
|
#include <freerdp/config.h>
#include <winpr/assert.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <winpr/crypto.h>
#include <winpr/crt.h>
#include <winpr/file.h>
#include <winpr/path.h>
#include <freerdp/settings.h>
#include <freerdp/crypto/crypto.h>
#include <freerdp/crypto/certificate_store.h>
#include <freerdp/log.h>
Macros | |
#define | TAG FREERDP_TAG("crypto") |
Functions | |
static char * | freerdp_certificate_store_file_path (const rdpCertificateStore *store, const char *hash) |
freerdp_certificate_store_result | freerdp_certificate_store_contains_data (rdpCertificateStore *store, const rdpCertificateData *data) |
BOOL | freerdp_certificate_store_remove_data (rdpCertificateStore *store, const rdpCertificateData *data) |
BOOL | freerdp_certificate_store_save_data (rdpCertificateStore *store, const rdpCertificateData *data) |
rdpCertificateData * | freerdp_certificate_store_load_data (rdpCertificateStore *store, const char *host, UINT16 port) |
rdpCertificateStore * | freerdp_certificate_store_new (const rdpSettings *settings) |
void | freerdp_certificate_store_free (rdpCertificateStore *store) |
const char * | freerdp_certificate_store_get_certs_path (const rdpCertificateStore *store) |
const char * | freerdp_certificate_store_get_hosts_path (const rdpCertificateStore *store) |
char * | freerdp_certificate_store_get_cert_path (const rdpCertificateStore *store, const char *host, UINT16 port) |
Variables | |
static const char | certificate_store_dir [] = "certs" |
static const char | certificate_server_dir [] = "server" |
#define TAG FREERDP_TAG("crypto") |
FreeRDP: A Remote Desktop Protocol Implementation Certificate Handling
Copyright 2011 Jiten Pathy Copyright 2011-2012 Marc-Andre Moreau marca Copyright 2023 Armin Novak ndre .more au@g mail. comanova Copyright 2023 Thincast Technologies GmbH k@th incas t.co m
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.
freerdp_certificate_store_result freerdp_certificate_store_contains_data | ( | rdpCertificateStore * | store, |
const rdpCertificateData * | data | ||
) |
|
static |
void freerdp_certificate_store_free | ( | rdpCertificateStore * | store | ) |
char* freerdp_certificate_store_get_cert_path | ( | const rdpCertificateStore * | store, |
const char * | host, | ||
UINT16 | port | ||
) |
const char* freerdp_certificate_store_get_certs_path | ( | const rdpCertificateStore * | store | ) |
const char* freerdp_certificate_store_get_hosts_path | ( | const rdpCertificateStore * | store | ) |
rdpCertificateData* freerdp_certificate_store_load_data | ( | rdpCertificateStore * | store, |
const char * | host, | ||
UINT16 | port | ||
) |
rdpCertificateStore* freerdp_certificate_store_new | ( | const rdpSettings * | settings | ) |
BOOL freerdp_certificate_store_remove_data | ( | rdpCertificateStore * | store, |
const rdpCertificateData * | data | ||
) |
BOOL freerdp_certificate_store_save_data | ( | rdpCertificateStore * | store, |
const rdpCertificateData * | data | ||
) |
|
static |
|
static |