Home
last modified time | relevance | path

Searched refs:X509_STORE (Results 1 – 25 of 114) sorted by relevance

12345

/freebsd/crypto/openssl/crypto/x509/
H A Dx509_lu.c42 int X509_STORE_lock(X509_STORE *xs) in X509_STORE_lock()
47 int ossl_x509_store_read_lock(X509_STORE *xs) in ossl_x509_store_read_lock()
52 int X509_STORE_unlock(X509_STORE *xs) in X509_STORE_unlock()
155 X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx) in X509_LOOKUP_get_store()
182 X509_STORE *X509_STORE_new(void) in X509_STORE_new()
184 X509_STORE *ret = OPENSSL_zalloc(sizeof(*ret)); in X509_STORE_new()
226 void X509_STORE_free(X509_STORE *xs) in X509_STORE_free()
256 int X509_STORE_up_ref(X509_STORE *xs) in X509_STORE_up_ref()
268 X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *xs, X509_LOOKUP_METHOD *m) in X509_STORE_add_lookup()
323 X509_STORE *store = ctx->store; in ossl_x509_store_ctx_get_by_subject()
[all …]
H A Dx509_d2.c15 int X509_STORE_set_default_paths_ex(X509_STORE *ctx, OSSL_LIB_CTX *libctx, in X509_STORE_set_default_paths_ex()
45 int X509_STORE_set_default_paths(X509_STORE *ctx) in X509_STORE_set_default_paths()
50 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_file_ex()
65 int X509_STORE_load_file(X509_STORE *ctx, const char *file) in X509_STORE_load_file()
70 int X509_STORE_load_path(X509_STORE *ctx, const char *path) in X509_STORE_load_path()
82 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, in X509_STORE_load_store_ex()
95 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) in X509_STORE_load_store()
100 int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_locations_ex()
113 int X509_STORE_load_locations(X509_STORE *ctx, const char *file, in X509_STORE_load_locations()
H A Dx509_local.h106 X509_STORE *store_ctx; /* who owns us */
162 int ossl_x509_store_read_lock(X509_STORE *xs);
H A Dby_store.c30 X509_STORE *xstore = X509_LOOKUP_get_store(lctx); in DEFINE_STACK_OF()
220 X509_STORE *store = X509_LOOKUP_get_store(ctx); in by_store_subject()
/freebsd/crypto/openssl/doc/man3/
H A DX509_STORE_add_cert.pod5 X509_STORE,
13 - X509_STORE manipulation
19 typedef x509_store_st X509_STORE;
21 int X509_STORE_add_cert(X509_STORE *xs, X509 *x);
22 int X509_STORE_add_crl(X509_STORE *xs, X509_CRL *x);
23 int X509_STORE_set_depth(X509_STORE *store, int depth);
24 int X509_STORE_set_flags(X509_STORE *xs, unsigned long flags);
25 int X509_STORE_set_purpose(X509_STORE *xs, int purpose);
26 int X509_STORE_set_trust(X509_STORE *xs, int trust);
28 X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *store,
[all …]
H A DX509_STORE_new.pod7 - X509_STORE allocation, freeing and locking functions
13 X509_STORE *X509_STORE_new(void);
14 void X509_STORE_free(X509_STORE *xs);
15 int X509_STORE_lock(X509_STORE *xs);
16 int X509_STORE_unlock(X509_STORE *xs);
17 int X509_STORE_up_ref(X509_STORE *xs);
21 The X509_STORE_new() function returns a new X509_STORE.
24 X509_STORE object.
29 X509_STORE_free() frees up a single X509_STORE object.
34 X509_STORE_new() returns a newly created X509_STORE or NULL if the call fails.
H A DSSL_CTX_set_cert_store.pod11 void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store);
12 void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store);
13 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx);
18 of B<ctx> to/with B<store>. If another X509_STORE object is currently
25 If another X509_STORE object is currently set in B<ctx>, it will be X509_STORE_free()ed.
34 via lookup methods, handled inside the X509_STORE. From the X509_STORE
40 it is possible to manipulate the X509_STORE object beyond the
44 Currently no detailed documentation on how to use the X509_STORE
45 object is available. Not all members of the X509_STORE are used when
50 X509_STORE object and its handling becomes available.
[all …]
H A DSSL_CTX_set1_verify_cert_store.pod17 int SSL_CTX_set0_verify_cert_store(SSL_CTX *ctx, X509_STORE *st);
18 int SSL_CTX_set1_verify_cert_store(SSL_CTX *ctx, X509_STORE *st);
19 int SSL_CTX_set0_chain_cert_store(SSL_CTX *ctx, X509_STORE *st);
20 int SSL_CTX_set1_chain_cert_store(SSL_CTX *ctx, X509_STORE *st);
21 int SSL_CTX_get0_verify_cert_store(SSL_CTX *ctx, X509_STORE **st);
22 int SSL_CTX_get0_chain_cert_store(SSL_CTX *ctx, X509_STORE **st);
24 int SSL_set0_verify_cert_store(SSL *ctx, X509_STORE *st);
25 int SSL_set1_verify_cert_store(SSL *ctx, X509_STORE *st);
26 int SSL_set0_chain_cert_store(SSL *ctx, X509_STORE *st);
27 int SSL_set1_chain_cert_store(SSL *ctx, X509_STORE *st);
[all …]
H A DX509_STORE_set_verify_cb_func.pod61 void X509_STORE_set_verify_cb(X509_STORE *xs,
65 void X509_STORE_set_verify(X509_STORE *xs, X509_STORE_CTX_verify_fn verify);
70 void X509_STORE_set_get_issuer(X509_STORE *xs,
73 void X509_STORE_set_check_issued(X509_STORE *xs,
78 void X509_STORE_set_check_revocation(X509_STORE *xs,
83 void X509_STORE_set_get_crl(X509_STORE *xs,
87 void X509_STORE_set_check_crl(X509_STORE *xs,
92 void X509_STORE_set_cert_crl(X509_STORE *xs,
96 void X509_STORE_set_check_policy(X509_STORE *xs,
101 void X509_STORE_set_lookup_certs(X509_STORE *xs,
[all …]
H A DX509_STORE_get0_param.pod7 - X509_STORE setter and getter functions
13 X509_VERIFY_PARAM *X509_STORE_get0_param(const X509_STORE *xs);
14 int X509_STORE_set1_param(X509_STORE *xs, const X509_VERIFY_PARAM *pm);
15 STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *xs);
16 STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(const X509_STORE *xs);
17 STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *xs);
H A DX509_LOOKUP.pod53 X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx);
73 Multiple B<X509_LOOKUP> instances can be added to an L<X509_STORE(3)>
79 will associate a B<X509_STORE> with the lookup mechanism.
110 into the associated B<X509_STORE>. The library context I<libctx> and property
121 B<X509_STORE>.
128 into the associated B<X509_STORE>. The library context I<libctx> and property
136 B<X509_STORE>. The library context I<libctx> and property query I<propq> are used
152 X509_LOOKUP_by_alias() look up certificates and CRLs in the L<X509_STORE(3)>
156 matching the criteria in the associated B<X509_STORE>, which makes it
208 X509_LOOKUP_get_store() returns a B<X509_STORE> pointer if there is
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dx509_vfy.h247 X509_STORE *store, int with_self_signed,
250 int X509_STORE_set_depth(X509_STORE *store, int depth);
501 X509_STORE *X509_STORE_new(void);
502 void X509_STORE_free(X509_STORE *xs);
503 int X509_STORE_lock(X509_STORE *xs);
504 int X509_STORE_unlock(X509_STORE *xs);
505 int X509_STORE_up_ref(X509_STORE *xs);
506 STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(const X509_STORE *xs);
507 STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *xs);
508 STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *xs);
[all …]
H A Dx509_vfy.h.in45 SSL_CTX -> X509_STORE
52 ->X509_STORE
54 The X509_STORE holds the tables etc for verification stuff.
56 The X509_STORE has X509_LOOKUPs for looking up certs.
57 The X509_STORE then calls a function to actually verify the
150 X509_STORE *store, int with_self_signed,
153 int X509_STORE_set_depth(X509_STORE *store, int depth);
404 X509_STORE *X509_STORE_new(void);
405 void X509_STORE_free(X509_STORE *xs);
406 int X509_STORE_lock(X509_STORE *xs);
[all …]
H A Dts.h362 X509_STORE *store, X509 **signer_out);
434 X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s);
436 int TS_VERIFY_CTX_set0_store(TS_VERIFY_CTX *ctx, X509_STORE *s);
/freebsd/contrib/ldns/ldns/
H A Ddane.h181 X509_STORE* pkix_validation_store,
244 X509_STORE* pkix_validation_store);
281 X509_STORE* pkix_validation_store);
/freebsd/crypto/openssl/crypto/ts/
H A Dts_verify_ctx.c65 X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s) in TS_VERIFY_CTX_set_store()
72 int TS_VERIFY_CTX_set0_store(TS_VERIFY_CTX *ctx, X509_STORE *s) in TS_VERIFY_CTX_set0_store()
/freebsd/contrib/ldns/
H A Ddane.c224 X509_STORE* store) in ldns_dane_pkix_validate()
258 STACK_OF(X509)* extra_certs, X509_STORE* store) in ldns_dane_pkix_validate_and_get_chain()
261 X509_STORE* empty_store = NULL; in ldns_dane_pkix_validate_and_get_chain()
309 X509_STORE* empty_store = NULL; in ldns_dane_pkix_get_chain()
370 X509_STORE* empty_store = NULL; in ldns_dane_pkix_get_last_self_signed()
407 X509_STORE* pkix_validation_store, in ldns_dane_select_certificate()
660 X509_STORE* pkix_validation_store) in ldns_dane_verify_rr()
843 X509_STORE* pkix_validation_store) in ldns_dane_verify()
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_X509_STORE_add1_certs.pod13 int ossl_cmp_X509_STORE_add1_certs(X509_STORE *store, STACK_OF(X509) *certs,
15 STACK_OF(X509) *ossl_cmp_X509_STORE_get1_certs(X509_STORE *store);
/freebsd/crypto/openssl/test/
H A Dpkcs7_test.c135 X509_STORE *store = NULL; in pkcs7_verify_test()
226 X509_STORE *store = NULL; in pkcs7_inner_content_verify_test()
H A Dx509_dup_cert_test.c20 X509_STORE *store = NULL; in test_509_dup_cert()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_genm.c16 const X509_STORE *ts = OSSL_CMP_CTX_get0_trustedStore(ctx); in get0_trustedStore_vpm()
213 X509_STORE *ts = X509_STORE_CTX_get0_store(store_ctx); in selfsigned_verify_cb()
224 X509_STORE *ts, STACK_OF(X509) *untrusted, in verify_ss_cert()
251 X509_STORE *ts = OSSL_CMP_CTX_get0_trusted(ctx); in verify_ss_cert_trans()
H A Dcmp_vfy.c109 X509_STORE *trusted_store, X509 *cert) in OSSL_CMP_validate_cert_path()
144 static int verify_cb_cert(X509_STORE *ts, X509 *cert, int err) in verify_cb_cert()
252 X509_STORE *ts = ctx->trusted; in cert_acceptable()
309 static int check_cert_path(const OSSL_CMP_CTX *ctx, X509_STORE *store, in check_cert_path()
331 X509_STORE *store; in check_cert_path_3gpp()
/freebsd/crypto/openssl/apps/
H A Dverify.c22 static int check(X509_STORE *ctx, const char *file,
96 X509_STORE *store = NULL; in verify_main()
259 static int check(X509_STORE *ctx, const char *file, in check()
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_vfy.c31 X509_STORE *st, unsigned long flags, in ocsp_verify_signer()
99 X509_STORE *st, unsigned long flags) in OCSP_basic_verify()
384 X509_STORE *store, unsigned long flags) in OCSP_request_verify()
/freebsd/crypto/openssl/apps/include/
H A Dapps.h148 X509_STORE *load_certstore(char *input, const char *pass, const char *desc,
160 X509_STORE *setup_verify(const char *CAfile, int noCAfile,
282 void store_setup_crl_download(X509_STORE *st);

12345