Home
last modified time | relevance | path

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

1234

/mirbsd/src/lib/libssl/src/doc/ssl/
Dssl.pod19 Then an B<SSL_CTX> object is created as a framework to establish
49 and TLSv1). It's needed to create an B<SSL_CTX>.
55 on a B<SSL_CTX> basis and the actually used ones are then part of the
58 =item B<SSL_CTX> (SSL Context)
206 protocol context defined in the B<SSL_CTX> structure.
210 =item int B<SSL_CTX_add_client_CA>(SSL_CTX *ctx, X509 *x);
212 =item long B<SSL_CTX_add_extra_chain_cert>(SSL_CTX *ctx, X509 *x509);
214 =item int B<SSL_CTX_add_session>(SSL_CTX *ctx, SSL_SESSION *c);
216 =item int B<SSL_CTX_check_private_key>(const SSL_CTX *ctx);
218 =item long B<SSL_CTX_ctrl>(SSL_CTX *ctx, int cmd, long larg, char *parg);
[all …]
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 …]
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.
DSSL_CTX_use_certificate.pod11 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
12 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, unsigned char *d);
13 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
18 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file);
20 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
21 int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, unsigned char *d,
23 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
24 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
25 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, unsigned char *d, long len);
26 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
[all …]
DSSL_CTX_ctrl.pod5 …allback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
11 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
12 long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
20 the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
DSSL_CTX_new.pod5 SSL_CTX_new - create a new SSL_CTX object as framework for TLS/SSL enabled functions
11 SSL_CTX *SSL_CTX_new(SSL_METHOD *method);
15 SSL_CTX_new() creates a new B<SSL_CTX> object as framework to establish
20 The SSL_CTX object uses B<method> as connection method. The methods exist
80 The creation of a new SSL_CTX object failed. Check the error stack to
83 =item Pointer to an SSL_CTX object
85 The return value points to an allocated SSL_CTX object.
DSSL_CTX_sess_set_get_cb.pod11 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,
13 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,
14 void (*remove_session_cb)(SSL_CTX *ctx, SSL_SESSION *));
15 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,
18 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
19 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
20 …SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *data, int…
DSSL_CTX_add_session.pod11 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c);
12 int SSL_add_session(SSL_CTX *ctx, SSL_SESSION *c);
14 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c);
15 int SSL_remove_session(SSL_CTX *ctx, SSL_SESSION *c);
40 If a server SSL_CTX is configured with the SSL_SESS_CACHE_NO_INTERNAL_STORE
DSSL_CTX_free.pod5 SSL_CTX_free - free an allocated SSL_CTX object
11 void SSL_CTX_free(SSL_CTX *ctx);
16 SSL_CTX object pointed to by B<ctx> and frees up the allocated memory if the
DSSL_CTX_get_verify_mode.pod11 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
13 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
15 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
DSSL_set_session.pod29 list, when being inserted into one SSL_CTX object's session cache.
31 only be used with one SSL_CTX object (and the SSL objects created
32 from this SSL_CTX object).
DSSL_CTX_set_client_CA_list.pod13 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *list);
15 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *cacert);
25 setting valid for B<ssl>'s SSL_CTX object.
33 the chosen B<ssl>, overriding the setting valid for B<ssl>'s SSL_CTX object.
DSSL_CTX_set_session_cache_mode.pod11 long SSL_CTX_set_session_cache_mode(SSL_CTX ctx, long mode);
12 long SSL_CTX_get_session_cache_mode(SSL_CTX ctx);
25 SSL_CTX object is being maintained, the sessions are unique for each SSL_CTX
95 session caching (callback) that is configured for the SSL_CTX. This flag will
DSSL_get_session.pod46 list, when being inserted into one SSL_CTX object's session cache.
48 only be used with one SSL_CTX object (and the SSL objects created
49 from this SSL_CTX object).
Dd2i_SSL_SESSION.pod40 list, when being inserted into one SSL_CTX object's session cache.
42 only be used with one SSL_CTX object (and the SSL objects created
43 from this SSL_CTX object).
DSSL_CTX_set_client_cert_cb.pod11 …void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKE…
12 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
72 certificate store for the SSL_CTX object (resulting in having to add
76 function, which is only available for the SSL_CTX object as a whole and that
DSSL_get_client_CA_list.pod12 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
20 set for B<ssl> using SSL_set_client_CA_list() or B<ssl>'s SSL_CTX object with
/mirbsd/src/lib/libssl/src/ssl/
Dssl.h357 typedef struct ssl_ctx_st SSL_CTX; typedef
375 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
386 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)());
553 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, …
732 struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
915 SSL_CTX *ctx;
1167 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
1168 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1169 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1175 int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str);
[all …]
Dssl_lib.c209 int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth) in SSL_CTX_set_ssl_version()
225 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
316 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context()
344 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb) in SSL_CTX_set_generate_session_id()
394 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose) in SSL_CTX_set_purpose()
404 int SSL_CTX_set_trust(SSL_CTX *s, int trust) in SSL_CTX_set_trust()
654 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx) in SSL_CTX_get_verify_mode()
659 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx) in SSL_CTX_get_verify_depth()
664 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *) in SSL_CTX_get_verify_callback()
766 int SSL_CTX_check_private_key(const SSL_CTX *ctx) in SSL_CTX_check_private_key()
[all …]
Dssl_sess.c66 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s);
67 static void SSL_SESSION_list_add(SSL_CTX *ctx,SSL_SESSION *s);
68 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck);
413 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c) in SSL_CTX_add_session()
478 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c) in SSL_CTX_remove_session()
483 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) in remove_session_lock()
636 long SSL_CTX_set_timeout(SSL_CTX *s, long t) in SSL_CTX_set_timeout()
645 long SSL_CTX_get_timeout(const SSL_CTX *s) in SSL_CTX_get_timeout()
653 SSL_CTX *ctx;
675 void SSL_CTX_flush_sessions(SSL_CTX *s, long t) in IMPLEMENT_LHASH_DOALL_ARG_FN()
[all …]
Dssl_rsa.c403 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) in SSL_CTX_use_certificate()
499 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_certificate_file()
548 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, unsigned char *d) in SSL_CTX_use_certificate_ASN1()
566 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) in SSL_CTX_use_RSAPrivateKey()
596 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_RSAPrivateKey_file()
643 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, unsigned char *d, long len) in SSL_CTX_use_RSAPrivateKey_ASN1()
662 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
678 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_PrivateKey_file()
720 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, unsigned char *d, in SSL_CTX_use_PrivateKey_ASN1()
745 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file) in SSL_CTX_use_certificate_chain_file()
Dssl_task.c163 int doit(io_channel chan, SSL_CTX *s_ctx );
206 SSL_CTX *s_ctx=NULL; in main()
257 int doit(io_channel chan, SSL_CTX *s_ctx ) in doit()
/mirbsd/src/lib/libssl/src/crypto/threads/
Dmttest.c98 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
126 static void print_stats(FILE *fp, SSL_CTX *ctx) in print_stats()
168 SSL_CTX *s_ctx=NULL; in main()
169 SSL_CTX *c_ctx=NULL; in main()
345 int ndoit(SSL_CTX *ssl_ctx[2]) in ndoit()
393 SSL_CTX *s_ctx,*c_ctx; in doit()
408 s_ctx=(SSL_CTX *)ctx[0]; in doit()
409 c_ctx=(SSL_CTX *)ctx[1]; in doit()
731 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads()
734 SSL_CTX *ssl_ctx[2]; in do_threads()
[all …]
/mirbsd/src/usr.sbin/httpd/src/modules/ssl/
DREADME.dsov.fig297 4 0 0 100 0 18 12 0.0000 4 180 840 4050 4455 SSL_CTX\001
321 4 0 0 100 0 18 12 0.0000 4 180 840 11475 4455 SSL_CTX\001
/mirbsd/src/lib/libssl/src/doc/crypto/
DBIO_f_ssl.pod27 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
28 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
29 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
77 BIO_new_ssl() allocates an SSL BIO using SSL_CTX B<ctx> and using
140 SSL_CTX *ctx;
206 SSL_CTX *ctx;
221 fprintf(stderr, "Error setting up SSL_CTX\n");

1234