#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 "winternl.h"
#include "wine/debug.h"
#include "crypt32_private.h"
Go to the source code of this file.
Data Structures |
| struct | DynamicBuffer |
| struct | CONST_BLOB |
Defines |
| #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 | check_buffer_resize (char **ptr_buf, size_t *buf_size, size_t check_size) |
| static BOOL | import_certs_from_dir (LPCSTR path, HCERTSTORE store) |
| static BOOL WINAPI | CRYPT_RootWriteCert (HCERTSTORE hCertStore, PCCERT_CONTEXT cert, DWORD dwFlags) |
| static BOOL WINAPI | CRYPT_RootDeleteCert (HCERTSTORE hCertStore, PCCERT_CONTEXT cert, DWORD dwFlags) |
| static BOOL WINAPI | CRYPT_RootWriteCRL (HCERTSTORE hCertStore, PCCRL_CONTEXT crl, DWORD dwFlags) |
| static BOOL WINAPI | CRYPT_RootDeleteCRL (HCERTSTORE hCertStore, PCCRL_CONTEXT crl, DWORD dwFlags) |
| static void | add_ms_root_certs (HCERTSTORE to) |
| static void | read_trusted_roots_from_known_locations (HCERTSTORE store) |
| static HCERTSTORE | create_root_store (void) |
| PWINECRYPT_CERTSTORE | CRYPT_RootOpenStore (HCRYPTPROV hCryptProv, DWORD dwFlags) |
| void | root_store_free (void) |
Variables |
| static void * | rootProvFuncs [] |
| static const char *const | CRYPT_knownLocations [] |
| static const BYTE | authenticode [] |
| static const BYTE | rootauthority [] |
| static const BYTE | rootcertauthority [] |
| static struct CONST_BLOB | msRootCerts [] |
| static PWINECRYPT_CERTSTORE | CRYPT_rootStore |