Home
last modified time | relevance | path

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

123

/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.c44 static int build_chain(X509_STORE_CTX *ctx);
45 static int verify_chain(X509_STORE_CTX *ctx);
46 static int dane_verify(X509_STORE_CTX *ctx);
52 static int check_id(X509_STORE_CTX *ctx);
55 static int check_cert(X509_STORE_CTX *ctx);
56 static int check_policy(X509_STORE_CTX *ctx);
270 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
799 static int check_id(X509_STORE_CTX *ctx) in check_id()
1332 X509_STORE_CTX crl_ctx = {0}; in check_crl_path()
2193 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.c293 X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *ctx, in X509_STORE_CTX_get_obj_by_subject()
315 static int ossl_x509_store_ctx_get_by_subject(const X509_STORE_CTX *ctx, in ossl_x509_store_ctx_get_by_subject()
362 int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *ctx, in X509_STORE_CTX_get_by_subject()
602 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx, in STACK_OF()
661 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(const X509_STORE_CTX *ctx, in STACK_OF()
749 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_get1_issuer()
996 X509_STORE *X509_STORE_CTX_get0_store(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_store()
/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 *);
163 *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx,
416 void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx,
464 X509_STORE_CTX *X509_STORE_CTX_new(void);
468 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
472 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
478 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
[all …]
H A Dtypes.h168 typedef struct x509_store_ctx_st X509_STORE_CTX; typedef
/openssl/doc/man3/
H A DX509_STORE_CTX_set_verify_cb.pod19 - get and set X509_STORE_CTX components such as verification callback
25 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
26 int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);
28 X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);
30 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
36 X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);
99 B<X509_STORE_CTX> structure is created and destroyed internally and the
111 int verify_callback(int ok, X509_STORE_CTX *ctx) {
118 int verify_callback(int ok, X509_STORE_CTX *ctx) {
129 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.pod18 - X509_STORE_CTX initialisation
25 X509_STORE_CTX *X509_STORE_CTX_new(void);
26 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
27 void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
29 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *trust_store,
34 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *target);
43 int X509_STORE_CTX_get_num_untrusted(const X509_STORE_CTX *ctx);
48 typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
51 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
52 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:
H A DSSL_CTX_set_cert_store.pod33 the X509_STORE_CTX used when verifying certificates is created.
/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 Dcrltest.c249 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in verify()
/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()
H A Dsmime.c23 static int smime_cb(int ok, X509_STORE_CTX *ctx);
695 static int smime_cb(int ok, X509_STORE_CTX *ctx) in smime_cb()
H A Dx509.c35 static int callb(int ok, X509_STORE_CTX *ctx);
240 X509_STORE_CTX *xsc = X509_STORE_CTX_new(); in self_signed()
1143 static int callb(int ok, X509_STORE_CTX *ctx) in callb()
H A Dcrl.c82 X509_STORE_CTX *ctx = NULL; in crl_main()
/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/apps/include/
H A Ds_apps.h28 int verify_callback(int ok, X509_STORE_CTX *ctx);

Completed in 82 milliseconds

123