Home
last modified time | relevance | path

Searched refs:SSL_SESSION (Results 1 – 25 of 125) sorted by relevance

12345

/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);
32 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session()
38 SSL_SESSION *SSL_get1_session(SSL *ssl) in SSL_get1_session()
41 SSL_SESSION *sess; in SSL_get1_session()
55 int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, void *arg) in SSL_SESSION_set_ex_data()
60 void *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx) in SSL_SESSION_get_ex_data()
65 SSL_SESSION *SSL_SESSION_new(void) in SSL_SESSION_new()
67 SSL_SESSION *ss; in SSL_SESSION_new()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_SESSION_free.pod8 SSL_SESSION_free - create, free and manage SSL_SESSION structures
14 SSL_SESSION *SSL_SESSION_new(void);
15 SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src);
16 int SSL_SESSION_up_ref(SSL_SESSION *ses);
17 void SSL_SESSION_free(SSL_SESSION *session);
21 SSL_SESSION_new() creates a new SSL_SESSION structure and returns a pointer to
24 SSL_SESSION_dup() copies the contents of the SSL_SESSION structure in B<src>
27 SSL_SESSION_up_ref() increments the reference count on the given SSL_SESSION
31 the B<SSL_SESSION> structure pointed to by B<session> and frees up the allocated
37 SSL_SESSION objects are allocated, when a TLS/SSL handshake operation
[all …]
H A Dd2i_SSL_SESSION.pod5 d2i_SSL_SESSION, i2d_SSL_SESSION - convert SSL_SESSION object from/to ASN1 representation
11 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
13 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
17 These functions decode and encode an SSL_SESSION object.
20 SSL_SESSION objects keep internal link information about the session cache
22 One SSL_SESSION object, regardless of its reference count, must therefore
28 d2i_SSL_SESSION() returns a pointer to the newly allocated SSL_SESSION
H A DSSL_get_session.pod11 SSL_SESSION *SSL_get_session(const SSL *ssl);
12 SSL_SESSION *SSL_get0_session(const SSL *ssl);
13 SSL_SESSION *SSL_get1_session(SSL *ssl);
17 SSL_get_session() returns a pointer to the B<SSL_SESSION> actually used in
18 B<ssl>. The reference count of the B<SSL_SESSION> is not incremented, so
24 count of the B<SSL_SESSION> is incremented by one.
35 SSL_SESSION object but that object cannot be used for resuming the session. See
37 SSL_SESSION object can be used for resumption or not.
46 The preferred way for applications to obtain a resumable SSL_SESSION object is
50 SSL_SESSION object that cannot be used for resumption in TLSv1.3. It also
[all …]
H A DSSL_SESSION_get_time.pod14 long SSL_SESSION_get_time(const SSL_SESSION *s);
15 long SSL_SESSION_set_time(SSL_SESSION *s, long tm);
16 long SSL_SESSION_get_timeout(const SSL_SESSION *s);
17 long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
19 long SSL_get_time(const SSL_SESSION *s);
20 long SSL_set_time(SSL_SESSION *s, long tm);
21 long SSL_get_timeout(const SSL_SESSION *s);
22 long SSL_set_timeout(SSL_SESSION *s, long tm);
H A DSSL_SESSION_get_ex_data.pod13 int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data);
14 void *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx);
19 specific data B<data> in an SSL_SESSION structure B<ss>. The index B<idx> should
23 in an SSL_SESSION structure B<s>. The B<idx> value should be the same as that
H A DSSL_CTX_sess_set_get_cb.pod12 int (*new_session_cb)(SSL *, SSL_SESSION *));
15 SSL_SESSION *));
17 SSL_SESSION (*get_session_cb)(SSL *,
22 SSL_SESSION *sess);
24 SSL_SESSION *sess);
25 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl,
78 In TLSv1.3 it is recommended that each SSL_SESSION object is only used for
95 SSL engine to increment the reference count of the SSL_SESSION object;
H A DSSL_SESSION_get0_cipher.pod13 const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s);
14 int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher);
25 SSL_SESSION B<s> to B<cipher>. For example, this could be used to set up a
30 SSL_SESSION_get0_cipher() returns the SSL_CIPHER associated with the SSL_SESSION
H A DSSL_SESSION_is_resumable.pod6 - determine whether an SSL_SESSION object can be used for resumption
12 int SSL_SESSION_is_resumable(const SSL_SESSION *s);
16 SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
H A DSSL_SESSION_print.pod14 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
15 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
16 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
H A DSSL_SESSION_get0_hostname.pod15 const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s);
16 int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname);
18 void SSL_SESSION_get0_alpn_selected(const SSL_SESSION *s,
21 int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s, const unsigned char *alpn,
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DSSL_SESSION_free.pod8 SSL_SESSION_free - create, free and manage SSL_SESSION structures
14 SSL_SESSION *SSL_SESSION_new(void);
15 SSL_SESSION *SSL_SESSION_dup(const SSL_SESSION *src);
16 int SSL_SESSION_up_ref(SSL_SESSION *ses);
17 void SSL_SESSION_free(SSL_SESSION *session);
21 SSL_SESSION_new() creates a new SSL_SESSION structure and returns a pointer to
24 SSL_SESSION_dup() creates a new SSL_SESSION structure that is a copy of B<src>.
27 SSL_SESSION_up_ref() increments the reference count on the given SSL_SESSION
31 the B<SSL_SESSION> structure pointed to by B<session> and frees up the allocated
37 SSL_SESSION objects are allocated, when a TLS/SSL handshake operation
[all …]
H A Dd2i_SSL_SESSION.pod5 d2i_SSL_SESSION, i2d_SSL_SESSION - convert SSL_SESSION object from/to ASN1 representation
11 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
13 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
17 These functions decode and encode an SSL_SESSION object.
20 SSL_SESSION objects keep internal link information about the session cache
22 One SSL_SESSION object, regardless of its reference count, must therefore
28 d2i_SSL_SESSION() returns a pointer to the newly allocated SSL_SESSION
H A DSSL_get_session.pod11 SSL_SESSION *SSL_get_session(const SSL *ssl);
12 SSL_SESSION *SSL_get0_session(const SSL *ssl);
13 SSL_SESSION *SSL_get1_session(SSL *ssl);
17 SSL_get_session() returns a pointer to the B<SSL_SESSION> actually used in
18 B<ssl>. The reference count of the B<SSL_SESSION> is not incremented, so
24 count of the B<SSL_SESSION> is incremented by one.
35 SSL_SESSION object but that object cannot be used for resuming the session. See
37 SSL_SESSION object can be used for resumption or not.
46 The preferred way for applications to obtain a resumable SSL_SESSION object is
50 SSL_SESSION object that cannot be used for resumption in TLSv1.3. It also
[all …]
H A DSSL_SESSION_get_time.pod14 long SSL_SESSION_get_time(const SSL_SESSION *s);
15 long SSL_SESSION_set_time(SSL_SESSION *s, long tm);
16 long SSL_SESSION_get_timeout(const SSL_SESSION *s);
17 long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
19 long SSL_get_time(const SSL_SESSION *s);
20 long SSL_set_time(SSL_SESSION *s, long tm);
21 long SSL_get_timeout(const SSL_SESSION *s);
22 long SSL_set_timeout(SSL_SESSION *s, long tm);
H A DSSL_CTX_sess_set_get_cb.pod12 int (*new_session_cb)(SSL *, SSL_SESSION *));
15 SSL_SESSION *));
17 SSL_SESSION (*get_session_cb)(SSL *,
22 SSL_SESSION *sess);
24 SSL_SESSION *sess);
25 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl,
78 In TLSv1.3 it is recommended that each SSL_SESSION object is only used for
95 SSL engine to increment the reference count of the SSL_SESSION object;
H A DSSL_SESSION_get0_cipher.pod13 const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s);
14 int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher);
25 SSL_SESSION B<s> to B<cipher>. For example, this could be used to set up a
30 SSL_SESSION_get0_cipher() returns the SSL_CIPHER associated with the SSL_SESSION
H A DSSL_SESSION_is_resumable.pod6 - determine whether an SSL_SESSION object can be used for resumption
12 int SSL_SESSION_is_resumable(const SSL_SESSION *s);
16 SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
H A DSSL_SESSION_print.pod14 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
15 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
16 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dssl.h213 typedef struct ssl_session_st SSL_SESSION; typedef
683 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
711 SSL_SESSION *sess));
713 SSL_SESSION *sess);
717 SSL_SESSION *sess));
719 SSL_SESSION *sess);
721 SSL_SESSION *(*get_session_cb) (struct ssl_st
726 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
848 SSL_SESSION **sess);
852 SSL_SESSION **sess);
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/tls/
H A Dtls_session.c134 VSTRING *tls_session_passivate(SSL_SESSION *session) in tls_session_passivate()
171 SSL_SESSION *tls_session_activate(const char *session_data, int session_data_len) in tls_session_activate()
173 SSL_SESSION *session; in tls_session_activate()
180 session = d2i_SSL_SESSION((SSL_SESSION **) 0, &ptr, session_data_len); in tls_session_activate()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man7/
H A Dssl.pod54 B<SSL_SESSION>.
62 =item B<SSL_SESSION> (SSL Session)
231 =item int B<SSL_CTX_add_session>(SSL_CTX *ctx, SSL_SESSION *c);
277 =item int B<SSL_CTX_remove_session>(SSL_CTX *ctx, SSL_SESSION *c);
297 =item SSL_SESSION *(*B<SSL_CTX_sess_get_get_cb>(SSL_CTX *ctx))(SSL *ssl, unsigned char *data, int l…
299 =item int (*B<SSL_CTX_sess_get_new_cb>(SSL_CTX *ctx)(SSL *ssl, SSL_SESSION *sess);
301 =item void (*B<SSL_CTX_sess_get_remove_cb>(SSL_CTX *ctx)(SSL_CTX *ctx, SSL_SESSION *sess);
311 =item void B<SSL_CTX_sess_set_get_cb>(SSL_CTX *ctx, SSL_SESSION *(*cb)(SSL *ssl, unsigned char *dat…
313 =item void B<SSL_CTX_sess_set_new_cb>(SSL_CTX *ctx, int (*cb)(SSL *ssl, SSL_SESSION *sess));
315 =item void B<SSL_CTX_sess_set_remove_cb>(SSL_CTX *ctx, void (*cb)(SSL_CTX *ctx, SSL_SESSION *sess));
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Dsess_id.c46 static SSL_SESSION *load_sess_id(char *file, int format);
50 SSL_SESSION *x = NULL; in sess_id_main()
177 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id()
179 SSL_SESSION *x = NULL; in load_sess_id()
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Dsess_id.c41 static SSL_SESSION *load_sess_id(char *file, int format);
45 SSL_SESSION *x = NULL; in sess_id_main()
170 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id()
172 SSL_SESSION *x = NULL; in load_sess_id()
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dssl.h.in232 typedef struct ssl_session_st SSL_SESSION; typedef
675 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
703 SSL_SESSION *sess));
705 SSL_SESSION *sess);
709 SSL_SESSION *sess));
711 SSL_SESSION *sess);
713 SSL_SESSION *(*get_session_cb) (struct ssl_st
718 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
840 SSL_SESSION **sess);
844 SSL_SESSION **sess);
[all …]

12345