|
static BOOL | certificate_get_file_data (rdpCertificateStore *store, rdpCertificateData *data) |
|
static BOOL | duplicate (char **data, const char *value) |
|
static HANDLE | open_file (const char *name, DWORD dwDesiredAccess, DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes) |
|
static rdpCertificateData * | certificate_split_line (char *line) |
|
static BOOL | certificate_line_is_comment (const char *line, size_t length) |
|
static void | certificate_store_uninit (rdpCertificateStore *certificate_store) |
|
static BOOL | ensure_path_exists (const char *path) |
|
static BOOL | certificate_store_init (rdpCertificateStore *certificate_store) |
|
static int | compare_pem (const char *current, const char *stored) |
|
static int | certificate_data_match_raw (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data, char **psubject, char **pissuer, char **fprint, char **ppem) |
|
static WCHAR * | certificate_get_cert_file_name (rdpCertificateStore *store, const rdpCertificateData *data) |
|
static rdpCertificateData * | load_from_file (rdpCertificateStore *store, const char *hostname, UINT16 port) |
|
static int | certificate_match_data_file (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
static BOOL | useKnownHosts (rdpCertificateStore *certificate_store) |
|
static BOOL | check_certificate_store_and_data_ (const rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data, const char *file, const char *fkt, size_t line) |
|
int | certificate_store_contains_data (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
static char * | decode (const char *value) |
|
static char * | encode (const char *value) |
|
static char * | allocated_printf (const char *fmt,...) |
|
static char * | certificate_data_get_host_file_entry (const rdpCertificateData *data) |
|
static BOOL | write_line_and_free (const char *filename, HANDLE fp, char *line) |
|
static BOOL | certificate_data_replace_hosts_file (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data, BOOL remove, BOOL append) |
|
static BOOL | certificate_data_write_to_file (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
static BOOL | certificate_data_remove_file (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
BOOL | certificate_store_remove_data (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
static BOOL | update_from_pem (rdpCertificateData *data) |
|
BOOL | certificate_store_save_data (rdpCertificateStore *certificate_store, const rdpCertificateData *certificate_data) |
|
rdpCertificateData * | certificate_store_load_data (rdpCertificateStore *certificate_store, const char *host, UINT16 port) |
|
rdpCertificateData * | certificate_data_new (const char *hostname, UINT16 port) |
|
void | certificate_data_free (rdpCertificateData *certificate_data) |
|
const char * | certificate_data_get_host (const rdpCertificateData *cert) |
|
UINT16 | certificate_data_get_port (const rdpCertificateData *cert) |
|
BOOL | certificate_data_set_pem (rdpCertificateData *cert, const char *pem) |
|
BOOL | certificate_data_set_subject (rdpCertificateData *cert, const char *subject) |
|
BOOL | certificate_data_set_issuer (rdpCertificateData *cert, const char *issuer) |
|
BOOL | certificate_data_set_fingerprint (rdpCertificateData *cert, const char *fingerprint) |
|
const char * | certificate_data_get_pem (const rdpCertificateData *cert) |
|
const char * | certificate_data_get_subject (const rdpCertificateData *cert) |
|
const char * | certificate_data_get_issuer (const rdpCertificateData *cert) |
|
const char * | certificate_data_get_fingerprint (const rdpCertificateData *cert) |
|
rdpCertificateStore * | certificate_store_new (const rdpSettings *settings) |
|
void | certificate_store_free (rdpCertificateStore *certstore) |
|
const char * | certificate_store_get_hosts_file (const rdpCertificateStore *certificate_store) |
|
const char * | certificate_store_get_certs_path (const rdpCertificateStore *certificate_store) |
|
const char * | certificate_store_get_hosts_path (const rdpCertificateStore *certificate_store) |
|