Home
last modified time | relevance | path

Searched refs:X509_STORE_CTX (Results 1 – 25 of 65) sorted by relevance

123

/openssl/include/openssl/
H A Dx509_vfy.h.in49 SSL -> X509_STORE_CTX
140 int X509_verify_cert(X509_STORE_CTX *ctx);
141 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx);
150 typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
418 void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx,
466 X509_STORE_CTX *X509_STORE_CTX_new(void);
470 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
476 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
483 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
490 void X509_STORE_CTX_set_get_crl(X509_STORE_CTX *ctx,
[all …]
H A Dtypes.h174 typedef struct x509_store_ctx_st X509_STORE_CTX; typedef
/openssl/crypto/x509/
H A Dx509_local.h123 int (*verify) (X509_STORE_CTX *ctx);
125 int (*verify_cb) (int ok, X509_STORE_CTX *ctx);
127 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
131 int (*check_revocation) (X509_STORE_CTX *ctx);
133 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
135 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
137 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
139 int (*check_policy) (X509_STORE_CTX *ctx);
140 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx,
143 STACK_OF(X509_CRL) *(*lookup_crls) (const X509_STORE_CTX *ctx,
[all …]
H A Dx509_vfy.c46 static int build_chain(X509_STORE_CTX *ctx);
47 static int verify_chain(X509_STORE_CTX *ctx);
48 static int verify_rpk(X509_STORE_CTX *ctx);
49 static int dane_verify(X509_STORE_CTX *ctx);
55 static int check_id(X509_STORE_CTX *ctx);
58 static int check_cert(X509_STORE_CTX *ctx);
219 static int verify_rpk(X509_STORE_CTX *ctx) in verify_rpk()
285 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
1419 X509_STORE_CTX crl_ctx = {0}; in check_crl_path()
2319 X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_parent_ctx()
[all …]
H A Dx509_lu.c298 X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *ctx, in X509_STORE_CTX_get_obj_by_subject()
320 static int ossl_x509_store_ctx_get_by_subject(const X509_STORE_CTX *ctx, in ossl_x509_store_ctx_get_by_subject()
381 int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *ctx, in X509_STORE_CTX_get_by_subject()
656 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx, in STACK_OF()
706 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(const X509_STORE_CTX *ctx, in STACK_OF()
953 X509_STORE *X509_STORE_CTX_get0_store(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_store()
/openssl/doc/man3/
H A DX509_STORE_CTX_set_verify_cb.pod21 - get and set X509_STORE_CTX components such as verification callback
27 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
28 int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);
30 X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);
32 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
41 void X509_STORE_CTX_set_get_crl(X509_STORE_CTX *ctx,
50 void X509_STORE_CTX_set_current_reasons(X509_STORE_CTX *ctx,
131 int verify_callback(int ok, X509_STORE_CTX *ctx) {
138 int verify_callback(int ok, X509_STORE_CTX *ctx) {
149 int verify_callback(int ok, X509_STORE_CTX *ctx)
[all …]
H A DX509_STORE_set_verify_cb_func.pod45 typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
48 typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx,
51 typedef int (*X509_STORE_CTX_cert_crl_fn)(X509_STORE_CTX *ctx,
59 typedef int (*X509_STORE_CTX_cleanup_fn)(X509_STORE_CTX *ctx);
76 X509_STORE_get_check_issued(const X509_STORE_CTX *ctx);
81 X509_STORE_get_check_revocation(const X509_STORE_CTX *ctx);
90 X509_STORE_get_check_crl(const X509_STORE_CTX *ctx);
99 X509_STORE_get_check_policy(const X509_STORE_CTX *ctx);
104 X509_STORE_get_lookup_certs(const X509_STORE_CTX *ctx);
109 X509_STORE_get_lookup_crls(const X509_STORE_CTX *ctx);
[all …]
H A DX509_STORE_CTX_new.pod22 - X509_STORE_CTX initialisation
29 X509_STORE_CTX *X509_STORE_CTX_new(void);
30 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
31 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
40 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *target);
50 int X509_STORE_CTX_get_num_untrusted(const X509_STORE_CTX *ctx);
53 EVP_PKEY *X509_STORE_CTX_get0_rpk(const X509_STORE_CTX *ctx);
56 typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
59 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
60 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
[all …]
H A DX509_STORE_CTX_get_by_subject.pod13 int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *vs,
16 X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *vs,
H A DX509_verify_cert.pod16 int X509_verify_cert(X509_STORE_CTX *ctx);
17 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx);
25 It internally uses a B<X509_STORE_CTX> structure associated with the library
37 The verification context, of type B<X509_STORE_CTX>, can be constructed
H A DSSL_CTX_get_verify_mode.pod15 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
16 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
H A DX509_STORE_CTX_get_error.pod16 int X509_STORE_CTX_get_error(const X509_STORE_CTX *ctx);
17 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int s);
18 int X509_STORE_CTX_get_error_depth(const X509_STORE_CTX *ctx);
19 void X509_STORE_CTX_set_error_depth(X509_STORE_CTX *ctx, int depth);
20 X509 *X509_STORE_CTX_get_current_cert(const X509_STORE_CTX *ctx);
21 void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x);
22 X509 *X509_STORE_CTX_get0_cert(const X509_STORE_CTX *ctx);
24 STACK_OF(X509) *X509_STORE_CTX_get1_chain(const X509_STORE_CTX *ctx);
H A DSSL_CTX_set_cert_verify_callback.pod12 int (*callback)(X509_STORE_CTX *, void *),
29 instead with the arguments callback(X509_STORE_CTX *x509_store_ctx, void *arg).
H A DSSL_set_retry_verify.pod35 with the B<X509_STORE_CTX> to call the SSL_set_retry_verify() function:
/openssl/include/crypto/
H A Dx509.h229 int (*verify) (X509_STORE_CTX *ctx);
231 int (*verify_cb) (int ok, X509_STORE_CTX *ctx);
237 int (*check_revocation) (X509_STORE_CTX *ctx);
239 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
241 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
243 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
245 int (*check_policy) (X509_STORE_CTX *ctx);
246 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx,
249 STACK_OF(X509_CRL) *(*lookup_crls) (const X509_STORE_CTX *ctx,
251 int (*cleanup) (X509_STORE_CTX *ctx);
[all …]
/openssl/test/
H A Dverify_extra_test.c67 X509_STORE_CTX *sctx = NULL; in test_alt_chains_cert_forgery()
185 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in test_self_signed()
232 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in do_test_purpose()
H A Ddanetest.c39 static void store_ctx_dane_init(X509_STORE_CTX *, SSL *);
57 X509_STORE_CTX *store_ctx = NULL; in verify_chain()
427 static void store_ctx_dane_init(X509_STORE_CTX *store_ctx, SSL *ssl) in store_ctx_dane_init()
H A Dcert_comp_test.c76 static int verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in verify_cb()
H A Dcrltest.c256 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in verify()
/openssl/fuzz/
H A Dx509.c28 static int cb(int ok, X509_STORE_CTX *ctx) in cb()
42 X509_STORE_CTX *ctx = NULL; in FuzzerTestOneInput()
/openssl/apps/
H A Dverify.c21 static int cb(int ok, X509_STORE_CTX *ctx);
252 X509_STORE_CTX *csc; in check()
328 static int cb(int ok, X509_STORE_CTX *ctx) in cb()
/openssl/util/
H A Dcheck-format-test-negatives.c302 static int verify_cb_crl(X509_STORE_CTX *ctx, int err) in verify_cb_crl()
318 typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
/openssl/doc/man7/
H A Dproxy-certificates.pod191 static int get_proxy_auth_ex_data_idx(X509_STORE_CTX *ctx)
208 static int verify_callback(int ok, X509_STORE_CTX *ctx)
300 static int my_X509_verify_cert(X509_STORE_CTX *ctx,
304 int (*save_verify_cb)(int ok,X509_STORE_CTX *ctx) =
/openssl/crypto/cmp/
H A Dcmp_genm.c181 static int selfsigned_verify_cb(int ok, X509_STORE_CTX *store_ctx) in selfsigned_verify_cb()
229 X509_STORE_CTX *csc = NULL; in verify_ss_cert()
/openssl/apps/include/
H A Ds_apps.h28 int verify_callback(int ok, X509_STORE_CTX *ctx);

Completed in 64 milliseconds

123