Home
last modified time | relevance | path

Searched refs:SSL_CTX (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dssl.h583 unsigned long SSL_CTX_get_options(const SSL_CTX *ctx);
585 unsigned long SSL_CTX_clear_options(SSL_CTX *ctx, unsigned long op);
587 unsigned long SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op);
626 void SSL_CTX_set_msg_callback(SSL_CTX *ctx,
644 __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
646 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
683 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
709 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,
712 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
714 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man7/
H A Dssl.pod17 An B<SSL_CTX> object is created as a framework to establish
47 TLSv1, ...). It's needed to create an B<SSL_CTX>.
53 on a B<SSL_CTX> basis and the actual ones used are then part of the
56 =item B<SSL_CTX> (SSL Context)
223 protocol context defined in the B<SSL_CTX> structure.
227 =item int B<SSL_CTX_add_client_CA>(SSL_CTX *ctx, X509 *x);
229 =item long B<SSL_CTX_add_extra_chain_cert>(SSL_CTX *ctx, X509 *x509);
231 =item int B<SSL_CTX_add_session>(SSL_CTX *ctx, SSL_SESSION *c);
233 =item int B<SSL_CTX_check_private_key>(const SSL_CTX *ctx);
235 =item long B<SSL_CTX_ctrl>(SSL_CTX *ctx, int cmd, long larg, char *parg);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/helpers/
H A Dhandshake.h86 HANDSHAKE_RESULT *do_handshake(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
87 SSL_CTX *client_ctx, SSL_CTX *resume_server_ctx,
88 SSL_CTX *resume_client_ctx,
91 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
92 SSL_CTX *client_ctx,
H A Dssltestlib.h17 int max_proto_version, SSL_CTX **sctx, SSL_CTX **cctx,
19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
23 int create_ssl_objects2(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
/netbsd-src/crypto/external/bsd/openssl/dist/apps/include/
H A Ds_apps.h26 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
27 int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key,
65 void ssl_ctx_set_excert(SSL_CTX *ctx, SSL_EXCERT *exc);
71 int config_ctx(SSL_CONF_CTX *cctx, STACK_OF(OPENSSL_STRING) *str, SSL_CTX *ctx);
72 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls,
74 int ssl_load_stores(SSL_CTX *ctx, const char *vfyCApath,
79 void ssl_ctx_security_debug(SSL_CTX *ctx, int verbose);
80 int set_keylog_file(SSL_CTX *ctx, const char *keylog_file);
94 int set_up_srp_arg(SSL_CTX *ctx, SRP_ARG *srp_arg, int srp_lateuser, int c_msg,
96 void set_up_dummy_srp(SSL_CTX *ctx);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DSSL_CTX_sess_number.pod11 long SSL_CTX_sess_number(SSL_CTX *ctx);
12 long SSL_CTX_sess_connect(SSL_CTX *ctx);
13 long SSL_CTX_sess_connect_good(SSL_CTX *ctx);
14 long SSL_CTX_sess_connect_renegotiate(SSL_CTX *ctx);
15 long SSL_CTX_sess_accept(SSL_CTX *ctx);
16 long SSL_CTX_sess_accept_good(SSL_CTX *ctx);
17 long SSL_CTX_sess_accept_renegotiate(SSL_CTX *ctx);
18 long SSL_CTX_sess_hits(SSL_CTX *ctx);
19 long SSL_CTX_sess_cb_hits(SSL_CTX *ctx);
20 long SSL_CTX_sess_misses(SSL_CTX *ctx);
[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);
56 The stores pointers associated with an SSL_CTX structure are copied to any SSL
58 affected if the parent SSL_CTX store pointer is set to a new value.
80 with the parent SSL_CTX is used instead to retain compatibility with previous
H A DSSL_CTX_new.pod14 - create a new SSL_CTX object as framework for TLS/SSL or DTLS enabled
21 SSL_CTX *SSL_CTX_new_ex(OSSL_LIB_CTX *libctx, const char *propq,
23 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
24 int SSL_CTX_up_ref(SSL_CTX *ctx);
76 SSL_CTX_new_ex() creates a new B<SSL_CTX> object, which holds various
83 that are used by any B<SSL> objects created from this B<SSL_CTX> will be fetched
91 An B<SSL_CTX> object is reference counted. Creating an B<SSL_CTX> object for the
92 first time increments the reference count. Freeing the B<SSL_CTX> (using
94 or resources allocated to the B<SSL_CTX> object are freed. SSL_CTX_up_ref()
95 increments the reference count for an existing B<SSL_CTX> structure.
[all …]
H A DSSL_CTX_set_ssl_version.pod12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *method);
13 const SSL_METHOD *SSL_CTX_get_ssl_method(const SSL_CTX *ctx);
22 SSL_CTX object is retained, with the exception of the configured TLS ciphers,
24 SSL_CTX with L<SSL_new(3)> are not affected, except when L<SSL_clear(3)> is
28 SSL_CTX.
43 set in the corresponding SSL_CTX object.
46 it would usually be preferable to create a new SSL_CTX object than to
H A DSSL_CTX_add_extra_chain_cert.pod15 long SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x509);
16 long SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **sk);
17 long SSL_CTX_get_extra_chain_certs_only(SSL_CTX *ctx, STACK_OF(X509) **sk);
18 long SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx);
50 freed by the library when the B<SSL_CTX> is destroyed. An application
55 Only one set of extra chain certificates can be specified per SSL_CTX
58 structures with the same parent SSL_CTX cannot be specified using this
H A DSSL_CTX_add1_chain_cert.pod17 int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
18 int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
19 int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509);
20 int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509);
21 int SSL_CTX_get0_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **sk);
22 int SSL_CTX_clear_chain_certs(SSL_CTX *ctx);
31 int SSL_CTX_build_cert_chain(SSL_CTX *ctx, flags);
34 int SSL_CTX_select_current_cert(SSL_CTX *ctx, X509 *x509);
36 int SSL_CTX_set_current_cert(SSL_CTX *ctx, long op);
87 used to iterate over all certificates in an B<SSL_CTX> structure.
[all …]
H A DSSL_CTX_set_srp_password.pod28 int SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name);
29 int SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password);
30 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength);
31 int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg);
32 int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx,
34 int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx,
36 int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx,
125 the underlying SSL_CTX if it is NULL.
128 the underlying SSL_CTX if it is NULL.
131 the underlying SSL_CTX if it is NULL.
[all …]
H A DSSL_get_SSL_CTX.pod5 SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created
11 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
15 SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which
20 The pointer to the SSL_CTX object is returned.
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_CTX_sess_number.pod11 long SSL_CTX_sess_number(SSL_CTX *ctx);
12 long SSL_CTX_sess_connect(SSL_CTX *ctx);
13 long SSL_CTX_sess_connect_good(SSL_CTX *ctx);
14 long SSL_CTX_sess_connect_renegotiate(SSL_CTX *ctx);
15 long SSL_CTX_sess_accept(SSL_CTX *ctx);
16 long SSL_CTX_sess_accept_good(SSL_CTX *ctx);
17 long SSL_CTX_sess_accept_renegotiate(SSL_CTX *ctx);
18 long SSL_CTX_sess_hits(SSL_CTX *ctx);
19 long SSL_CTX_sess_cb_hits(SSL_CTX *ctx);
20 long SSL_CTX_sess_misses(SSL_CTX *ctx);
[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);
56 The stores pointers associated with an SSL_CTX structure are copied to any SSL
58 affected if the parent SSL_CTX store pointer is set to a new value.
77 with the parent SSL_CTX is used instead to retain compatibility with previous
H A DSSL_CTX_add1_chain_cert.pod17 int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
18 int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *sk);
19 int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509);
20 int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509);
21 int SSL_CTX_get0_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **sk);
22 int SSL_CTX_clear_chain_certs(SSL_CTX *ctx);
31 int SSL_CTX_build_cert_chain(SSL_CTX *ctx, flags);
34 int SSL_CTX_select_current_cert(SSL_CTX *ctx, X509 *x509);
36 int SSL_CTX_set_current_cert(SSL_CTX *ctx, long op);
84 used to iterate over all certificates in an B<SSL_CTX> structure.
[all …]
H A DSSL_CTX_new.pod13 - create a new SSL_CTX object as framework for TLS/SSL or DTLS enabled
20 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
21 int SSL_CTX_up_ref(SSL_CTX *ctx);
73 SSL_CTX_new() creates a new B<SSL_CTX> object as framework to
74 establish TLS/SSL or DTLS enabled connections. An B<SSL_CTX> object is
75 reference counted. Creating an B<SSL_CTX> object for the first time increments
78 B<SSL_CTX> object are freed. SSL_CTX_up_ref() increments the reference count for
79 an existing B<SSL_CTX> structure.
83 The SSL_CTX object uses B<method> as connection method.
187 The creation of a new SSL_CTX object failed. Check the error stack to find out
[all …]
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);
52 by another SSL_CTX.
55 to get the X509_STORE from the first SSL_CTX, and then use
56 SSL_CTX_set1_cert_store() to assign to the second SSL_CTX and
61 The X509_STORE structure used by an SSL_CTX is used for verifying peer
H A DSSL_get_SSL_CTX.pod5 SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created
11 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
15 SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which
20 The pointer to the SSL_CTX object is returned.
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dssl.h.in226 * function parameters used to prototype callbacks in SSL_CTX.
578 uint64_t SSL_CTX_get_options(const SSL_CTX *ctx);
580 uint64_t SSL_CTX_clear_options(SSL_CTX *ctx, uint64_t op);
582 uint64_t SSL_CTX_set_options(SSL_CTX *ctx, uint64_t op);
616 void SSL_CTX_set_msg_callback(SSL_CTX *ctx,
634 OSSL_DEPRECATEDIN_3_0 __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
636 OSSL_DEPRECATEDIN_3_0 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
649 * This callback type is used inside SSL_CTX, SSL, and in the functions that
675 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
701 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Ds_apps.h24 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
25 int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key,
62 void ssl_ctx_set_excert(SSL_CTX *ctx, SSL_EXCERT *exc);
68 int config_ctx(SSL_CONF_CTX *cctx, STACK_OF(OPENSSL_STRING) *str, SSL_CTX *ctx);
69 int ssl_ctx_add_crls(SSL_CTX *ctx, STACK_OF(X509_CRL) *crls,
71 int ssl_load_stores(SSL_CTX *ctx, const char *vfyCApath,
75 void ssl_ctx_security_debug(SSL_CTX *ctx, int verbose);
76 int set_keylog_file(SSL_CTX *ctx, const char *keylog_file);
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_sess.c19 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s);
20 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *s);
21 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck);
637 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c) in SSL_CTX_add_session()
714 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c) in SSL_CTX_remove_session()
719 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) in remove_session_lock()
980 long SSL_CTX_set_timeout(SSL_CTX *s, long t) in SSL_CTX_set_timeout()
990 long SSL_CTX_get_timeout(const SSL_CTX *s) in SSL_CTX_get_timeout()
1046 SSL_CTX *ctx;
1069 void SSL_CTX_flush_sessions(SSL_CTX *s, long t) in SSL_CTX_flush_sessions()
[all …]
H A Dssl_lib.c656 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth) in SSL_CTX_set_ssl_version()
678 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
878 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context()
906 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb) in SSL_CTX_set_generate_session_id()
947 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose) in SSL_CTX_set_purpose()
957 int SSL_CTX_set_trust(SSL_CTX *s, int trust) in SSL_CTX_set_trust()
987 int SSL_CTX_dane_enable(SSL_CTX *ctx) in SSL_CTX_dane_enable()
992 unsigned long SSL_CTX_dane_set_flags(SSL_CTX *ctx, unsigned long flags) in SSL_CTX_dane_set_flags()
1000 unsigned long SSL_CTX_dane_clear_flags(SSL_CTX *ctx, unsigned long flags) in SSL_CTX_dane_clear_flags()
1115 int SSL_CTX_dane_mtype_set(SSL_CTX *ctx, const EVP_MD *md, uint8_t mtype, in SSL_CTX_dane_mtype_set()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dhandshake_helper.h76 HANDSHAKE_RESULT *do_handshake(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
77 SSL_CTX *client_ctx, SSL_CTX *resume_server_ctx,
78 SSL_CTX *resume_client_ctx,
H A Dssltestlib.h17 SSL_CTX **sctx, SSL_CTX **cctx, char *certfile,
19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,

12345678910>>...14