• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/ssl/

Lines Matching defs:SSL_CTX

346  * in SSL_CTX. */
367 typedef struct ssl_ctx_st SSL_CTX;
391 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
402 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void));
578 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));
593 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set
768 struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
794 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
795 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
796 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
797 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
798 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,int len,int *copy));
799 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
800 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
801 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);
802 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey));
803 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
804 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len));
805 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
957 SSL_CTX *ctx;
1211 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
1212 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1213 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1219 int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str);
1220 SSL_CTX *SSL_CTX_new(SSL_METHOD *meth);
1221 void SSL_CTX_free(SSL_CTX *);
1222 long SSL_CTX_set_timeout(SSL_CTX *ctx,long t);
1223 long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1224 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1225 void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *);
1229 void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm);
1274 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1275 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1276 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
1277 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); /* PEM type */
1314 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1315 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1316 int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
1329 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
1330 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
1331 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *);
1332 void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
1334 void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth);
1335 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg);
1337 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1339 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len);
1340 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
1341 int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx,
1343 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
1344 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d);
1346 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
1347 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
1349 int SSL_CTX_check_private_key(const SSL_CTX *ctx);
1352 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1355 SSL * SSL_new(SSL_CTX *ctx);
1359 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose);
1361 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1372 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg);
1373 long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
1379 int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth);
1416 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1418 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1420 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x);
1437 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode);
1438 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
1444 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
1445 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
1450 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1469 int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data);
1470 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl,int idx);
1502 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
1511 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
1519 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,