#include <ssl.h>
|
| int | state |
| |
| int | renegotiation |
| |
| int | renego_records_seen |
| |
| int | major_ver |
| |
| int | minor_ver |
| |
| int | max_major_ver |
| |
| int | max_minor_ver |
| |
| int | min_major_ver |
| |
| int | min_minor_ver |
| |
| int(* | f_rng )(void *, unsigned char *, size_t) |
| |
| void(* | f_dbg )(void *, int, const char *) |
| |
| int(* | f_recv )(void *, unsigned char *, size_t) |
| |
| int(* | f_send )(void *, const unsigned char *, size_t) |
| |
| int(* | f_get_cache )(void *, ssl_session *) |
| |
| int(* | f_set_cache )(void *, const ssl_session *) |
| |
| void * | p_rng |
| |
| void * | p_dbg |
| |
| void * | p_recv |
| |
| void * | p_send |
| |
| void * | p_get_cache |
| |
| void * | p_set_cache |
| |
| void * | p_hw_data |
| |
| int(* | f_sni )(void *, ssl_context *, const unsigned char *, size_t) |
| |
| void * | p_sni |
| |
| int(* | f_vrfy )(void *, x509_crt *, int, int *) |
| |
| void * | p_vrfy |
| |
| int(* | f_psk )(void *, ssl_context *, const unsigned char *, size_t) |
| |
| void * | p_psk |
| |
| ssl_session * | session_in |
| |
| ssl_session * | session_out |
| |
| ssl_session * | session |
| |
| ssl_session * | session_negotiate |
| |
| ssl_handshake_params * | handshake |
| |
| ssl_transform * | transform_in |
| |
| ssl_transform * | transform_out |
| |
| ssl_transform * | transform |
| |
| ssl_transform * | transform_negotiate |
| |
| unsigned char * | in_ctr |
| |
| unsigned char * | in_hdr |
| |
| unsigned char * | in_iv |
| |
| unsigned char * | in_msg |
| |
| unsigned char * | in_offt |
| |
| int | in_msgtype |
| |
| size_t | in_msglen |
| |
| size_t | in_left |
| |
| size_t | in_hslen |
| |
| int | nb_zero |
| |
| int | record_read |
| |
| unsigned char * | out_ctr |
| |
| unsigned char * | out_hdr |
| |
| unsigned char * | out_iv |
| |
| unsigned char * | out_msg |
| |
| int | out_msgtype |
| |
| size_t | out_msglen |
| |
| size_t | out_left |
| |
| unsigned char * | compress_buf |
| |
| unsigned char | mfl_code |
| |
| ssl_key_cert * | key_cert |
| |
| x509_crt * | ca_chain |
| |
| x509_crl * | ca_crl |
| |
| const char * | peer_cn |
| |
| ssl_ticket_keys * | ticket_keys |
| |
| int | endpoint |
| |
| int | authmode |
| |
| int | client_auth |
| |
| int | verify_result |
| |
| int | disable_renegotiation |
| |
| int | allow_legacy_renegotiation |
| |
| int | renego_max_records |
| |
| const int * | ciphersuite_list [4] |
| |
| int | trunc_hmac |
| |
| int | session_tickets |
| |
| int | ticket_lifetime |
| |
| mpi | dhm_P |
| |
| mpi | dhm_G |
| |
| unsigned char * | psk |
| |
| size_t | psk_len |
| |
| unsigned char * | psk_identity |
| |
| size_t | psk_identity_len |
| |
| unsigned char * | hostname |
| |
| size_t | hostname_len |
| |
| const char ** | alpn_list |
| |
| const char * | alpn_chosen |
| |
| int | secure_renegotiation |
| |
| size_t | verify_data_len |
| |
| char | own_verify_data [36] |
| |
| char | peer_verify_data [36] |
| |
Definition at line 683 of file ssl.h.
◆ allow_legacy_renegotiation
| int _ssl_context::allow_legacy_renegotiation |
allow legacy renegotiation
Definition at line 814 of file ssl.h.
◆ alpn_chosen
| const char* _ssl_context::alpn_chosen |
negotiated protocol
Definition at line 856 of file ssl.h.
◆ alpn_list
| const char** _ssl_context::alpn_list |
ordered list of supported protocols
Definition at line 855 of file ssl.h.
◆ authmode
| int _ssl_context::authmode |
verification mode
Definition at line 810 of file ssl.h.
◆ ca_chain
own trusted CA chain
Definition at line 794 of file ssl.h.
◆ ca_crl
trusted CA CRLs
Definition at line 795 of file ssl.h.
◆ ciphersuite_list
| const int* _ssl_context::ciphersuite_list[4] |
allowed ciphersuites / version
Definition at line 816 of file ssl.h.
◆ client_auth
| int _ssl_context::client_auth |
flag for client auth.
Definition at line 811 of file ssl.h.
◆ compress_buf
| unsigned char* _ssl_context::compress_buf |
zlib data buffer
Definition at line 782 of file ssl.h.
◆ dhm_G
generator for DHM
Definition at line 830 of file ssl.h.
◆ dhm_P
prime modulus for DHM
Definition at line 829 of file ssl.h.
◆ disable_renegotiation
| int _ssl_context::disable_renegotiation |
enable/disable renegotiation
Definition at line 813 of file ssl.h.
◆ endpoint
| int _ssl_context::endpoint |
0: client, 1: server
Definition at line 809 of file ssl.h.
◆ f_dbg
| void(* _ssl_context::f_dbg) (void *, int, const char *) |
◆ f_get_cache
| int(* _ssl_context::f_get_cache) (void *, ssl_session *) |
◆ f_psk
| int(* _ssl_context::f_psk) (void *, ssl_context *, const unsigned char *, size_t) |
◆ f_recv
| int(* _ssl_context::f_recv) (void *, unsigned char *, size_t) |
◆ f_rng
| int(* _ssl_context::f_rng) (void *, unsigned char *, size_t) |
◆ f_send
| int(* _ssl_context::f_send) (void *, const unsigned char *, size_t) |
◆ f_set_cache
| int(* _ssl_context::f_set_cache) (void *, const ssl_session *) |
◆ f_sni
| int(* _ssl_context::f_sni) (void *, ssl_context *, const unsigned char *, size_t) |
◆ f_vrfy
| int(* _ssl_context::f_vrfy) (void *, x509_crt *, int, int *) |
◆ handshake
◆ hostname
| unsigned char* _ssl_context::hostname |
◆ hostname_len
| size_t _ssl_context::hostname_len |
◆ in_ctr
| unsigned char* _ssl_context::in_ctr |
64-bit incoming message counter
Definition at line 755 of file ssl.h.
◆ in_hdr
| unsigned char* _ssl_context::in_hdr |
5-byte record header (in_ctr+8)
Definition at line 756 of file ssl.h.
◆ in_hslen
| size_t _ssl_context::in_hslen |
current handshake message length
Definition at line 765 of file ssl.h.
◆ in_iv
| unsigned char* _ssl_context::in_iv |
ivlen-byte IV (in_hdr+5)
Definition at line 757 of file ssl.h.
◆ in_left
| size_t _ssl_context::in_left |
amount of data read so far
Definition at line 763 of file ssl.h.
◆ in_msg
| unsigned char* _ssl_context::in_msg |
message contents (in_iv+ivlen)
Definition at line 758 of file ssl.h.
◆ in_msglen
| size_t _ssl_context::in_msglen |
record header: message length
Definition at line 762 of file ssl.h.
◆ in_msgtype
| int _ssl_context::in_msgtype |
record header: message type
Definition at line 761 of file ssl.h.
◆ in_offt
| unsigned char* _ssl_context::in_offt |
read offset in application data
Definition at line 759 of file ssl.h.
◆ key_cert
own certificate(s)/key(s)
Definition at line 792 of file ssl.h.
◆ major_ver
| int _ssl_context::major_ver |
equal to SSL_MAJOR_VERSION_3
Definition at line 692 of file ssl.h.
◆ max_major_ver
| int _ssl_context::max_major_ver |
max. major version used
Definition at line 695 of file ssl.h.
◆ max_minor_ver
| int _ssl_context::max_minor_ver |
max. minor version used
Definition at line 696 of file ssl.h.
◆ mfl_code
| unsigned char _ssl_context::mfl_code |
MaxFragmentLength chosen by us
Definition at line 785 of file ssl.h.
◆ min_major_ver
| int _ssl_context::min_major_ver |
min. major version used
Definition at line 697 of file ssl.h.
◆ min_minor_ver
| int _ssl_context::min_minor_ver |
min. minor version used
Definition at line 698 of file ssl.h.
◆ minor_ver
| int _ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 693 of file ssl.h.
◆ nb_zero
| int _ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 766 of file ssl.h.
◆ out_ctr
| unsigned char* _ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 772 of file ssl.h.
◆ out_hdr
| unsigned char* _ssl_context::out_hdr |
5-byte record header (out_ctr+8)
Definition at line 773 of file ssl.h.
◆ out_iv
| unsigned char* _ssl_context::out_iv |
ivlen-byte IV (out_hdr+5)
Definition at line 774 of file ssl.h.
◆ out_left
| size_t _ssl_context::out_left |
amount of data not yet written
Definition at line 779 of file ssl.h.
◆ out_msg
| unsigned char* _ssl_context::out_msg |
message contents (out_iv+ivlen)
Definition at line 775 of file ssl.h.
◆ out_msglen
| size_t _ssl_context::out_msglen |
record header: message length
Definition at line 778 of file ssl.h.
◆ out_msgtype
| int _ssl_context::out_msgtype |
record header: message type
Definition at line 777 of file ssl.h.
◆ own_verify_data
| char _ssl_context::own_verify_data[36] |
previous handshake verify data
Definition at line 865 of file ssl.h.
◆ p_dbg
| void* _ssl_context::p_dbg |
context for the debug function
Definition at line 711 of file ssl.h.
◆ p_get_cache
| void* _ssl_context::p_get_cache |
context for cache retrieval
Definition at line 714 of file ssl.h.
◆ p_hw_data
| void* _ssl_context::p_hw_data |
context for HW acceleration
Definition at line 716 of file ssl.h.
◆ p_psk
| void* _ssl_context::p_psk |
context for PSK retrieval
Definition at line 730 of file ssl.h.
◆ p_recv
| void* _ssl_context::p_recv |
context for reading operations
Definition at line 712 of file ssl.h.
◆ p_rng
| void* _ssl_context::p_rng |
context for the RNG function
Definition at line 710 of file ssl.h.
◆ p_send
| void* _ssl_context::p_send |
context for writing operations
Definition at line 713 of file ssl.h.
◆ p_set_cache
| void* _ssl_context::p_set_cache |
context for cache store
Definition at line 715 of file ssl.h.
◆ p_sni
| void* _ssl_context::p_sni |
context for SNI extension
Definition at line 720 of file ssl.h.
◆ p_vrfy
| void* _ssl_context::p_vrfy |
context for verification
Definition at line 725 of file ssl.h.
◆ peer_cn
| const char* _ssl_context::peer_cn |
expected peer CN
Definition at line 796 of file ssl.h.
◆ peer_verify_data
| char _ssl_context::peer_verify_data[36] |
previous handshake verify data
Definition at line 866 of file ssl.h.
◆ psk
| unsigned char* _ssl_context::psk |
◆ psk_identity
| unsigned char* _ssl_context::psk_identity |
◆ psk_identity_len
| size_t _ssl_context::psk_identity_len |
◆ psk_len
| size_t _ssl_context::psk_len |
◆ record_read
| int _ssl_context::record_read |
record is already present
Definition at line 767 of file ssl.h.
◆ renego_max_records
| int _ssl_context::renego_max_records |
grace period for renegotiation
Definition at line 815 of file ssl.h.
◆ renego_records_seen
| int _ssl_context::renego_records_seen |
Records since renego request
Definition at line 690 of file ssl.h.
◆ renegotiation
| int _ssl_context::renegotiation |
Initial or renegotiation
Definition at line 689 of file ssl.h.
◆ secure_renegotiation
| int _ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 862 of file ssl.h.
◆ session
negotiated session data
Definition at line 738 of file ssl.h.
◆ session_in
current session data (in)
Definition at line 736 of file ssl.h.
◆ session_negotiate
session data in negotiation
Definition at line 739 of file ssl.h.
◆ session_out
current session data (out)
Definition at line 737 of file ssl.h.
◆ session_tickets
| int _ssl_context::session_tickets |
use session tickets?
Definition at line 824 of file ssl.h.
◆ state
SSL handshake: current state
Definition at line 688 of file ssl.h.
◆ ticket_keys
keys for ticket encryption
Definition at line 803 of file ssl.h.
◆ ticket_lifetime
| int _ssl_context::ticket_lifetime |
session ticket lifetime
Definition at line 825 of file ssl.h.
◆ transform
negotiated transform params
Definition at line 749 of file ssl.h.
◆ transform_in
current transform params (in)
Definition at line 747 of file ssl.h.
◆ transform_negotiate
transform params in negotiation
Definition at line 750 of file ssl.h.
◆ transform_out
current transform params (in)
Definition at line 748 of file ssl.h.
◆ trunc_hmac
| int _ssl_context::trunc_hmac |
negotiate truncated hmac?
Definition at line 821 of file ssl.h.
◆ verify_data_len
| size_t _ssl_context::verify_data_len |
length of verify data stored
Definition at line 864 of file ssl.h.
◆ verify_result
| int _ssl_context::verify_result |
verification result
Definition at line 812 of file ssl.h.
The documentation for this struct was generated from the following file: