ReactOS 0.4.16-dev-13-ge2fc578
|
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
#include <limits.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wincrypt.h"
#include "wine/winternl.h"
#include "wine/debug.h"
#include "crypt32_private.h"
Go to the source code of this file.
Classes | |
struct | DynamicBuffer |
struct | CONST_BLOB |
Macros | |
#define | WIN32_NO_STATUS |
#define | INITIAL_CERT_BUFFER 1024 |
Functions | |
WINE_DEFAULT_DEBUG_CHANNEL (crypt) | |
static void | reset_buffer (struct DynamicBuffer *buffer) |
static BOOL | add_line_to_buffer (struct DynamicBuffer *buffer, LPCSTR line) |
static BOOL | import_base64_certs_from_fp (FILE *fp, HCERTSTORE store) |
static const char * | trust_status_to_str (DWORD status) |
static const char * | get_cert_common_name (PCCERT_CONTEXT cert) |
static void | check_and_store_certs (HCERTSTORE from, HCERTSTORE to) |
static BOOL | import_certs_from_file (int fd, HCERTSTORE store) |
static BOOL | import_certs_from_path (LPCSTR path, HCERTSTORE store, BOOL allow_dir) |
static BOOL | import_certs_from_dir (LPCSTR path, HCERTSTORE store) |
static void | add_ms_root_certs (HCERTSTORE to) |
static void | read_trusted_roots_from_known_locations (HCERTSTORE store) |
static HCERTSTORE | create_root_store (void) |
void | CRYPT_ImportSystemRootCertsToReg (void) |
Variables | |
static const char *const | CRYPT_knownLocations [] |
static const BYTE | authenticode [] |
static const BYTE | rootauthority [] |
static const BYTE | rootcertauthority [] |
static const BYTE | rootcertauthority2010 [] |
static const BYTE | rootcertauthority2011 [] |
static const struct CONST_BLOB | msRootCerts [] |
static const WCHAR | certs_root_pathW [] |
static const WCHAR | semaphoreW [] |
#define INITIAL_CERT_BUFFER 1024 |
Definition at line 49 of file rootstore.c.
#define WIN32_NO_STATUS |
Definition at line 38 of file rootstore.c.
|
static |
Definition at line 64 of file rootstore.c.
Referenced by import_base64_certs_from_fp().
|
static |
Definition at line 928 of file rootstore.c.
Referenced by create_root_store().
|
static |
Definition at line 238 of file rootstore.c.
Referenced by read_trusted_roots_from_known_locations().
|
static |
Definition at line 991 of file rootstore.c.
Referenced by CRYPT_ImportSystemRootCertsToReg().
Definition at line 1044 of file rootstore.c.
Referenced by CRYPT_SysRegOpenStoreW().
|
static |
Definition at line 211 of file rootstore.c.
Referenced by check_and_store_certs().
|
static |
Definition at line 107 of file rootstore.c.
Referenced by import_certs_from_file().
|
static |
Definition at line 362 of file rootstore.c.
Referenced by import_certs_from_path().
|
static |
Definition at line 311 of file rootstore.c.
Referenced by import_certs_from_path().
|
static |
Definition at line 407 of file rootstore.c.
Referenced by import_certs_from_dir(), and read_trusted_roots_from_known_locations().
|
static |
Definition at line 945 of file rootstore.c.
Referenced by create_root_store().
|
inlinestatic |
Definition at line 58 of file rootstore.c.
Referenced by import_base64_certs_from_fp().
Definition at line 157 of file rootstore.c.
Referenced by check_and_store_certs().
WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |
Definition at line 501 of file rootstore.c.
Definition at line 1037 of file rootstore.c.
Referenced by CRYPT_ImportSystemRootCertsToReg().
Definition at line 491 of file rootstore.c.
Referenced by read_trusted_roots_from_known_locations().
|
static |
Referenced by add_ms_root_certs().
Definition at line 564 of file rootstore.c.
Definition at line 631 of file rootstore.c.
Definition at line 722 of file rootstore.c.
Definition at line 819 of file rootstore.c.
Definition at line 1041 of file rootstore.c.
Referenced by CRYPT_ImportSystemRootCertsToReg().