Lines Matching refs:SSL_SESSION

1579 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1584 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx);
1588 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session);
1592 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session);
1598 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in,
1603 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in,
1609 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes(
1614 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session);
1619 SSL_SESSION_get_protocol_version(const SSL_SESSION *session);
1624 OPENSSL_EXPORT int SSL_SESSION_set_protocol_version(SSL_SESSION *session,
1632 OPENSSL_EXPORT const uint8_t *SSL_SESSION_get_id(const SSL_SESSION *session,
1638 OPENSSL_EXPORT int SSL_SESSION_set1_id(SSL_SESSION *session, const uint8_t *sid,
1643 OPENSSL_EXPORT uint64_t SSL_SESSION_get_time(const SSL_SESSION *session);
1646 OPENSSL_EXPORT uint32_t SSL_SESSION_get_timeout(const SSL_SESSION *session);
1652 OPENSSL_EXPORT X509 *SSL_SESSION_get0_peer(const SSL_SESSION *session);
1659 SSL_SESSION_get0_peer_certificates(const SSL_SESSION *session);
1670 const SSL_SESSION *session, const uint8_t **out, size_t *out_len);
1677 OPENSSL_EXPORT void SSL_SESSION_get0_ocsp_response(const SSL_SESSION *session,
1687 OPENSSL_EXPORT size_t SSL_SESSION_get_master_key(const SSL_SESSION *session,
1693 OPENSSL_EXPORT uint64_t SSL_SESSION_set_time(SSL_SESSION *session,
1699 OPENSSL_EXPORT uint32_t SSL_SESSION_set_timeout(SSL_SESSION *session,
1706 const SSL_SESSION *session, unsigned *out_len);
1712 OPENSSL_EXPORT int SSL_SESSION_set1_id_context(SSL_SESSION *session,
1723 OPENSSL_EXPORT int SSL_SESSION_should_be_single_use(const SSL_SESSION *session);
1727 OPENSSL_EXPORT int SSL_SESSION_is_resumable(const SSL_SESSION *session);
1731 OPENSSL_EXPORT int SSL_SESSION_has_ticket(const SSL_SESSION *session);
1736 OPENSSL_EXPORT void SSL_SESSION_get0_ticket(const SSL_SESSION *session,
1743 OPENSSL_EXPORT int SSL_SESSION_set_ticket(SSL_SESSION *session,
1750 SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *session);
1759 const SSL_SESSION *session);
1765 OPENSSL_EXPORT int SSL_SESSION_has_peer_sha256(const SSL_SESSION *session);
1770 OPENSSL_EXPORT void SSL_SESSION_get0_peer_sha256(const SSL_SESSION *session,
1864 OPENSSL_EXPORT int SSL_set_session(SSL *ssl, SSL_SESSION *session);
1939 OPENSSL_EXPORT int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session);
1943 OPENSSL_EXPORT int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session);
1968 SSL_CTX *ctx, int (*new_session_cb)(SSL *ssl, SSL_SESSION *session));
1973 SSL *ssl, SSL_SESSION *session);
1982 void (*remove_session_cb)(SSL_CTX *ctx, SSL_SESSION *session));
1987 SSL_CTX *ctx, SSL_SESSION *session);
2009 SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(SSL *ssl, const uint8_t *id,
2014 OPENSSL_EXPORT SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(
2021 OPENSSL_EXPORT SSL_SESSION *SSL_magic_pending_session_ptr(void);
3392 OPENSSL_EXPORT int SSL_SESSION_set_ex_data(SSL_SESSION *session, int idx,
3394 OPENSSL_EXPORT void *SSL_SESSION_get_ex_data(const SSL_SESSION *session,
4022 OPENSSL_EXPORT int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp);
4032 OPENSSL_EXPORT SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const uint8_t **pp,
4037 OPENSSL_EXPORT int i2d_SSL_SESSION_bio(BIO *bio, const SSL_SESSION *session);
4042 OPENSSL_EXPORT SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out);
4408 OPENSSL_EXPORT SSL_SESSION *SSL_get_session(const SSL *ssl);
4415 OPENSSL_EXPORT SSL_SESSION *SSL_get1_session(SSL *ssl);
4653 BORINGSSL_MAKE_DELETER(SSL_SESSION, SSL_SESSION_free)
4654 BORINGSSL_MAKE_UP_REF(SSL_SESSION, SSL_SESSION_up_ref)