X509_LOOKUP
X509_LOOKUP *lookup = NULL;
X509_LOOKUP *lookup;
X509_LOOKUP *lookup = NULL;
static int new_dir(X509_LOOKUP *lu)
static void free_dir(X509_LOOKUP *lu)
static int get_cert_by_subject_ex(X509_LOOKUP *xl, X509_LOOKUP_TYPE type,
static int get_cert_by_subject(X509_LOOKUP *xl, X509_LOOKUP_TYPE type,
static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
static int new_dir(X509_LOOKUP *lu);
static void free_dir(X509_LOOKUP *lu);
static int get_cert_by_subject(X509_LOOKUP *xl, X509_LOOKUP_TYPE type,
static int get_cert_by_subject_ex(X509_LOOKUP *xl, X509_LOOKUP_TYPE type,
static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type)
int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type)
static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
static int by_file_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc,
int X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type,
int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type)
static int by_file_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp,
static int by_file_ctrl(X509_LOOKUP *ctx, int cmd,
int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type,
static void by_store_free(X509_LOOKUP *ctx)
static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp,
static int by_store_ctrl(X509_LOOKUP *ctx, int cmd,
static int by_store(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
static int by_store_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
static int cache_objects(X509_LOOKUP *lctx, CACHED_STORE *store,
X509_LOOKUP *lookup;
X509_LOOKUP *lookup;
X509_LOOKUP *lookup;
X509_LOOKUP *lookup;
STACK_OF(X509_LOOKUP) *get_cert_methods;
int (*new_item)(X509_LOOKUP *ctx);
void (*free)(X509_LOOKUP *ctx);
int (*init)(X509_LOOKUP *ctx);
int (*shutdown)(X509_LOOKUP *ctx);
int (*ctrl)(X509_LOOKUP *ctx, int cmd, const char *argc, long argl,
int (*get_by_subject)(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*get_by_issuer_serial)(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*get_by_fingerprint)(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*get_by_alias)(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*get_by_subject_ex)(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*ctrl_ex)(X509_LOOKUP *ctx, int cmd, const char *argc, long argl,
int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data)
void *X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx)
X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx)
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method)
X509_LOOKUP *ret = OPENSSL_zalloc(sizeof(*ret));
STACK_OF(X509_LOOKUP) *sk;
X509_LOOKUP *lu;
X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *xs, X509_LOOKUP_METHOD *m)
STACK_OF(X509_LOOKUP) *sk;
X509_LOOKUP *lu;
X509_LOOKUP *lu;
void X509_LOOKUP_free(X509_LOOKUP *ctx)
int X509_LOOKUP_init(X509_LOOKUP *ctx)
int X509_LOOKUP_shutdown(X509_LOOKUP *ctx)
int X509_LOOKUP_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc, long argl,
int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl,
int X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int (*new_item)(X509_LOOKUP *ctx))
int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
void (*free_fn)(X509_LOOKUP *ctx))
void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
int (*init)(X509_LOOKUP *ctx))
int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
int (*shutdown)(X509_LOOKUP *ctx))
int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *xs, X509_LOOKUP_METHOD *m);
typedef int (*X509_LOOKUP_ctrl_fn)(X509_LOOKUP *ctx, int cmd, const char *argc,
X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret,
typedef int (*X509_LOOKUP_get_by_subject_fn)(X509_LOOKUP *ctx,
typedef int (*X509_LOOKUP_get_by_subject_ex_fn)(X509_LOOKUP *ctx,
typedef int (*X509_LOOKUP_get_by_issuer_serial_fn)(X509_LOOKUP *ctx,
typedef int (*X509_LOOKUP_get_by_fingerprint_fn)(X509_LOOKUP *ctx,
typedef int (*X509_LOOKUP_get_by_alias_fn)(X509_LOOKUP *ctx,
int (*new_item)(X509_LOOKUP *ctx));
int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
void (*free_fn)(X509_LOOKUP *ctx));
void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
int (*init)(X509_LOOKUP *ctx));
int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
int (*shutdown)(X509_LOOKUP *ctx));
int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
int X509_LOOKUP_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc, long argl,
int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type,
int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
int X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type,
SKM_DEFINE_STACK_OF_INTERNAL(X509_LOOKUP, X509_LOOKUP, X509_LOOKUP)
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method);
void X509_LOOKUP_free(X509_LOOKUP *ctx);
int X509_LOOKUP_init(X509_LOOKUP *ctx);
int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
int X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data);
void *X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx);
X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx);
#define sk_X509_LOOKUP_value(sk, idx) ((X509_LOOKUP *)OPENSSL_sk_value(ossl_check_const_X509_LOOKUP_sk_type(sk), (idx)))
int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
#define sk_X509_LOOKUP_new(cmp) ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_new(ossl_check_X509_LOOKUP_compfunc_type(cmp)))
#define sk_X509_LOOKUP_new_null() ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_new_null())
#define sk_X509_LOOKUP_new_reserve(cmp, n) ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_new_reserve(ossl_check_X509_LOOKUP_compfunc_type(cmp), (n)))
#define sk_X509_LOOKUP_delete(sk, i) ((X509_LOOKUP *)OPENSSL_sk_delete(ossl_check_X509_LOOKUP_sk_type(sk), (i)))
#define sk_X509_LOOKUP_delete_ptr(sk, ptr) ((X509_LOOKUP *)OPENSSL_sk_delete_ptr(ossl_check_X509_LOOKUP_sk_type(sk), ossl_check_X509_LOOKUP_type(ptr)))
#define sk_X509_LOOKUP_pop(sk) ((X509_LOOKUP *)OPENSSL_sk_pop(ossl_check_X509_LOOKUP_sk_type(sk)))
#define sk_X509_LOOKUP_shift(sk) ((X509_LOOKUP *)OPENSSL_sk_shift(ossl_check_X509_LOOKUP_sk_type(sk)))
#define sk_X509_LOOKUP_set(sk, idx, ptr) ((X509_LOOKUP *)OPENSSL_sk_set(ossl_check_X509_LOOKUP_sk_type(sk), (idx), ossl_check_X509_LOOKUP_type(ptr)))
#define sk_X509_LOOKUP_dup(sk) ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_dup(ossl_check_const_X509_LOOKUP_sk_type(sk)))
#define sk_X509_LOOKUP_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_deep_copy(ossl_check_const_X509_LOOKUP_sk_type(sk), ossl_check_X509_LOOKUP_copyfunc_type(copyfunc), ossl_check_X509_LOOKUP_freefunc_type(freefunc)))
X509_LOOKUP *lookup;
X509_LOOKUP *lookup;
X509_LOOKUP *lookup;
X509_LOOKUP *lookup = NULL;
X509_LOOKUP *lookup = NULL;
X509_LOOKUP *lookup = NULL;
X509_LOOKUP *crl_lookup;
X509_LOOKUP *certlookup;