Lines Matching refs:X509_STORE_CTX
111 static int null_callback(int ok,X509_STORE_CTX *e);
112 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
113 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
114 static int check_chain_extensions(X509_STORE_CTX *ctx);
115 static int check_name_constraints(X509_STORE_CTX *ctx);
116 static int check_trust(X509_STORE_CTX *ctx);
117 static int check_revocation(X509_STORE_CTX *ctx);
118 static int check_cert(X509_STORE_CTX *ctx);
119 static int check_policy(X509_STORE_CTX *ctx);
121 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
124 static int get_crl_delta(X509_STORE_CTX *ctx,
126 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pcrl_score,
128 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl,
132 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x);
133 static int check_crl_chain(X509_STORE_CTX *ctx,
137 static int internal_verify(X509_STORE_CTX *ctx);
141 static int null_callback(int ok, X509_STORE_CTX *e) in null_callback()
153 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
160 int (*cb)(int xok,X509_STORE_CTX *xctx); in X509_verify_cert()
398 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x) in find_issuer()
413 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued()
432 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk()
449 static int check_chain_extensions(X509_STORE_CTX *ctx) in check_chain_extensions()
456 int (*cb)(int xok,X509_STORE_CTX *xctx); in check_chain_extensions()
607 static int check_name_constraints(X509_STORE_CTX *ctx) in check_name_constraints()
643 static int check_trust(X509_STORE_CTX *ctx) in check_trust()
650 int (*cb)(int xok,X509_STORE_CTX *xctx); in check_trust()
669 static int check_revocation(X509_STORE_CTX *ctx) in check_revocation()
692 static int check_cert(X509_STORE_CTX *ctx) in check_cert()
760 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
819 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
943 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pscore, in get_delta_sk()
974 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, in get_crl_score()
1043 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, in crl_akid_check()
1108 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x) in check_crl_path()
1110 X509_STORE_CTX crl_ctx; in check_crl_path()
1147 static int check_crl_chain(X509_STORE_CTX *ctx, in check_crl_chain()
1292 static int get_crl_delta(X509_STORE_CTX *ctx, in get_crl_delta()
1338 static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl) in check_crl()
1445 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x) in cert_crl()
1479 static int check_policy(X509_STORE_CTX *ctx) in check_policy()
1529 static int check_cert_time(X509_STORE_CTX *ctx, X509 *x) in check_cert_time()
1576 static int internal_verify(X509_STORE_CTX *ctx) in internal_verify()
1581 int (*cb)(int xok,X509_STORE_CTX *xctx); in internal_verify()
1830 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data) in X509_STORE_CTX_set_ex_data()
1835 void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx, int idx) in X509_STORE_CTX_get_ex_data()
1840 int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_error()
1845 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int err) in X509_STORE_CTX_set_error()
1850 int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_error_depth()
1855 X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_current_cert()
1860 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx) in STACK_OF()
1865 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx) in STACK_OF()
1879 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_issuer()
1884 X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_crl()
1889 X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_parent_ctx()
1894 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_cert()
1899 void X509_STORE_CTX_set_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set_chain()
1904 void X509_STORE_CTX_set0_crls(X509_STORE_CTX *ctx, STACK_OF(X509_CRL) *sk) in X509_STORE_CTX_set0_crls()
1909 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose) in X509_STORE_CTX_set_purpose()
1914 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust) in X509_STORE_CTX_set_trust()
1929 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, in X509_STORE_CTX_purpose_inherit()
1977 X509_STORE_CTX *X509_STORE_CTX_new(void) in X509_STORE_CTX_new()
1979 X509_STORE_CTX *ctx; in X509_STORE_CTX_new()
1980 ctx = (X509_STORE_CTX *)OPENSSL_malloc(sizeof(X509_STORE_CTX)); in X509_STORE_CTX_new()
1986 memset(ctx, 0, sizeof(X509_STORE_CTX)); in X509_STORE_CTX_new()
1990 void X509_STORE_CTX_free(X509_STORE_CTX *ctx) in X509_STORE_CTX_free()
1996 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, in X509_STORE_CTX_init()
2127 void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_trusted_stack()
2133 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx) in X509_STORE_CTX_cleanup()
2156 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth) in X509_STORE_CTX_set_depth()
2161 void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags) in X509_STORE_CTX_set_flags()
2166 void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, time_t t) in X509_STORE_CTX_set_time()
2171 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, in X509_STORE_CTX_set_verify_cb() argument
2172 int (*verify_cb)(int, X509_STORE_CTX *)) in X509_STORE_CTX_set_verify_cb()
2177 X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_policy_tree()
2182 int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx) in X509_STORE_CTX_get_explicit_policy()
2187 int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name) in X509_STORE_CTX_set_default()
2196 X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_param()
2201 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param) in X509_STORE_CTX_set0_param()