Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/include/openssl/
H A Dx509_vfy.h237 int X509_verify_cert(X509_STORE_CTX *ctx);
238 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx);
245 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
246 int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);
247 typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
249 X509_STORE_CTX *ctx, X509 *x);
250 typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
252 typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
253 typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx,
255 typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
[all …]
H A Dx509_vfy.h.in49 SSL -> X509_STORE_CTX
53 A X509_STORE_CTX is used while validating a single certificate.
140 int X509_verify_cert(X509_STORE_CTX *ctx);
141 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx);
148 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
149 int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);
150 typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
152 X509_STORE_CTX *ctx, X509 *x);
153 typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
155 typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
[all …]
/freebsd/crypto/openssl/crypto/x509/
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);
47 static int null_callback(int ok, X509_STORE_CTX *e);
48 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
49 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
50 static int check_extensions(X509_STORE_CTX *ctx);
51 static int check_name_constraints(X509_STORE_CTX *ctx);
52 static int check_id(X509_STORE_CTX *ctx);
53 static int check_trust(X509_STORE_CTX *ctx, int num_untrusted);
[all …]
H A Dx509_local.h42 int ossl_x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth);
123 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);
129 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
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);
[all …]
H A Dx509_lu.c293 X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *vs, in X509_STORE_CTX_get_obj_by_subject()
309 int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *vs, in X509_STORE_CTX_get_by_subject()
584 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx, in STACK_OF()
639 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(const X509_STORE_CTX *ctx, in STACK_OF()
725 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_get1_issuer()
972 X509_STORE *X509_STORE_CTX_get0_store(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_store()
/freebsd/crypto/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,
33 X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx);
34 X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);
35 X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx);
36 X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);
37 X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx);
[all …]
H A DX509_STORE_set_verify_cb_func.pod44 X509_STORE_CTX *ctx, X509 *x);
45 typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
47 typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
48 typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx,
50 typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
51 typedef int (*X509_STORE_CTX_cert_crl_fn)(X509_STORE_CTX *ctx,
53 typedef int (*X509_STORE_CTX_check_policy_fn)(X509_STORE_CTX *ctx);
54 typedef STACK_OF(X509) *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx,
57 X509_STORE_CTX *ctx,
59 typedef int (*X509_STORE_CTX_cleanup_fn)(X509_STORE_CTX *ctx);
[all …]
H A DX509_STORE_CTX_new.pod18 - X509_STORE_CTX initialisation
24 X509_STORE_CTX *X509_STORE_CTX_new_ex(OSSL_LIB_CTX *libctx, const char *propq);
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,
32 void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
34 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *target);
35 void X509_STORE_CTX_set0_crls(X509_STORE_CTX *ctx, STACK_OF(X509_CRL) *sk);
37 X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(const X509_STORE_CTX *ctx);
[all …]
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:
/freebsd/crypto/openssl/include/crypto/
H A Dx509.h229 int (*verify) (X509_STORE_CTX *ctx);
231 int (*verify_cb) (int ok, X509_STORE_CTX *ctx);
233 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
235 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
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,
[all …]
/freebsd/crypto/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 Dx509_dup_cert_test.c20 X509_STORE_CTX *sctx = NULL; in test_509_dup_cert()
/freebsd/contrib/ldns/
H A Ddane.c226 X509_STORE_CTX* vrfy_ctx; in ldns_dane_pkix_validate()
262 X509_STORE_CTX* vrfy_ctx; in ldns_dane_pkix_validate_and_get_chain()
310 X509_STORE_CTX* vrfy_ctx; in ldns_dane_pkix_get_chain()
371 X509_STORE_CTX* vrfy_ctx; in ldns_dane_pkix_get_last_self_signed()
665 X509_STORE_CTX *store_ctx = NULL; in ldns_dane_verify_rr()
850 X509_STORE_CTX *store_ctx = NULL; in ldns_dane_verify()
/freebsd/crypto/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()
/freebsd/crypto/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()
/freebsd/crypto/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);
/freebsd/crypto/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) =
/freebsd/lib/libfetch/
H A Dcommon.h120 int fetch_ssl_cb_verify_crt(int, X509_STORE_CTX*);
/freebsd/crypto/openssl/apps/include/
H A Ds_apps.h24 int verify_callback(int ok, X509_STORE_CTX *ctx);
/freebsd/contrib/sendmail/src/
H A Dtls.c81 static int tls_verify_cb __P((X509_STORE_CTX *, void *));
83 static int x509_verify_cb __P((int, X509_STORE_CTX *));
88 static int tls_verify_log __P((int, X509_STORE_CTX *, const char *));
2440 X509_STORE_CTX *ctx;
2543 X509_STORE_CTX *ctx;
2836 X509_STORE_CTX *ctx;
2948 X509_STORE_CTX *ctx;

123