FreeRDP
|
#include <errno.h>
#include <winpr/assert.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/file.h>
#include <winpr/cmdline.h>
#include <winpr/sysinfo.h>
#include <winpr/crypto.h>
#include <winpr/tools/makecert.h>
Functions | |
static char * | makecert_read_str (BIO *bio, size_t *pOffset) |
static int | makecert_print_command_line_help (COMMAND_LINE_ARGUMENT_A *args, int argc, char **argv) |
static char * | x509_name_parse (char *name, char *txt, size_t *length) |
static char * | x509_get_default_name (void) |
static int | command_line_pre_filter (void *pvctx, int index, int argc, LPSTR *argv) |
static int | makecert_context_parse_arguments (MAKECERT_CONTEXT *context, COMMAND_LINE_ARGUMENT_A *args, int argc, char **argv) |
int | makecert_context_set_output_file_name (MAKECERT_CONTEXT *context, const char *name) |
int | makecert_context_output_certificate_file (MAKECERT_CONTEXT *context, const char *path) |
int | makecert_context_output_private_key_file (MAKECERT_CONTEXT *context, const char *path) |
int | makecert_context_process (MAKECERT_CONTEXT *context, int argc, char **argv) |
MAKECERT_CONTEXT * | makecert_context_new (void) |
void | makecert_context_free (MAKECERT_CONTEXT *context) |
|
static |
void makecert_context_free | ( | MAKECERT_CONTEXT * | context | ) |
MAKECERT_CONTEXT* makecert_context_new | ( | void | ) |
int makecert_context_output_certificate_file | ( | MAKECERT_CONTEXT * | context, |
const char * | path | ||
) |
int makecert_context_output_private_key_file | ( | MAKECERT_CONTEXT * | context, |
const char * | path | ||
) |
|
static |
makecert -r -pe -n "CN=%COMPUTERNAME%" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr LocalMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
int makecert_context_process | ( | MAKECERT_CONTEXT * | context, |
int | argc, | ||
char ** | argv | ||
) |
int makecert_context_set_output_file_name | ( | MAKECERT_CONTEXT * | context, |
const char * | name | ||
) |
|
static |
|
static |
|
static |
|
static |