#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 |
|
char | fallback |
|
char | encrypt_then_mac |
|
char | extended_ms |
|
char | arc4_disabled |
|
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 | mfl_code |
|
signed char | split_done |
|
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 | renego_max_records |
|
unsigned char | renego_period [8] |
|
int | allow_legacy_renegotiation |
|
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 [SSL_VERIFY_DATA_MAX_LEN] |
|
char | peer_verify_data [SSL_VERIFY_DATA_MAX_LEN] |
|
Definition at line 730 of file ssl.h.
int _ssl_context::allow_legacy_renegotiation |
allow legacy renegotiation
Definition at line 883 of file ssl.h.
const char* _ssl_context::alpn_chosen |
negotiated protocol
Definition at line 924 of file ssl.h.
const char** _ssl_context::alpn_list |
ordered list of supported protocols
Definition at line 923 of file ssl.h.
char _ssl_context::arc4_disabled |
flag for disabling RC4
Definition at line 758 of file ssl.h.
int _ssl_context::authmode |
verification mode
Definition at line 874 of file ssl.h.
own trusted CA chain
Definition at line 858 of file ssl.h.
trusted CA CRLs
Definition at line 859 of file ssl.h.
const int* _ssl_context::ciphersuite_list[4] |
allowed ciphersuites / version
Definition at line 884 of file ssl.h.
int _ssl_context::client_auth |
flag for client auth.
Definition at line 875 of file ssl.h.
generator for DHM
Definition at line 898 of file ssl.h.
prime modulus for DHM
Definition at line 897 of file ssl.h.
int _ssl_context::disable_renegotiation |
enable/disable renegotiation
Definition at line 878 of file ssl.h.
char _ssl_context::encrypt_then_mac |
flag for encrypt-then-mac
Definition at line 753 of file ssl.h.
int _ssl_context::endpoint |
0: client, 1: server
Definition at line 873 of file ssl.h.
char _ssl_context::extended_ms |
flag for extended master secret
Definition at line 756 of file ssl.h.
void(* _ssl_context::f_dbg)(void *, int, const char *) |
int(* _ssl_context::f_get_cache)(void *, ssl_session *) |
int(* _ssl_context::f_psk)(void *, ssl_context *, const unsigned char *, size_t) |
int(* _ssl_context::f_recv)(void *, unsigned char *, size_t) |
int(* _ssl_context::f_rng)(void *, unsigned char *, size_t) |
int(* _ssl_context::f_send)(void *, const unsigned char *, size_t) |
int(* _ssl_context::f_set_cache)(void *, const ssl_session *) |
int(* _ssl_context::f_sni)(void *, ssl_context *, const unsigned char *, size_t) |
int(* _ssl_context::f_vrfy)(void *, x509_crt *, int, int *) |
char _ssl_context::fallback |
flag for fallback connections
Definition at line 750 of file ssl.h.
unsigned char* _ssl_context::hostname |
size_t _ssl_context::hostname_len |
unsigned char* _ssl_context::in_ctr |
64-bit incoming message counter
Definition at line 815 of file ssl.h.
unsigned char* _ssl_context::in_hdr |
5-byte record header (in_ctr+8)
Definition at line 816 of file ssl.h.
size_t _ssl_context::in_hslen |
current handshake message length
Definition at line 825 of file ssl.h.
unsigned char* _ssl_context::in_iv |
ivlen-byte IV (in_hdr+5)
Definition at line 817 of file ssl.h.
size_t _ssl_context::in_left |
amount of data read so far
Definition at line 823 of file ssl.h.
unsigned char* _ssl_context::in_msg |
message contents (in_iv+ivlen)
Definition at line 818 of file ssl.h.
size_t _ssl_context::in_msglen |
record header: message length
Definition at line 822 of file ssl.h.
int _ssl_context::in_msgtype |
record header: message type
Definition at line 821 of file ssl.h.
unsigned char* _ssl_context::in_offt |
read offset in application data
Definition at line 819 of file ssl.h.
own certificate(s)/key(s)
Definition at line 856 of file ssl.h.
int _ssl_context::major_ver |
equal to SSL_MAJOR_VERSION_3
Definition at line 741 of file ssl.h.
int _ssl_context::max_major_ver |
max. major version used
Definition at line 744 of file ssl.h.
int _ssl_context::max_minor_ver |
max. minor version used
Definition at line 745 of file ssl.h.
unsigned char _ssl_context::mfl_code |
MaxFragmentLength chosen by us
Definition at line 845 of file ssl.h.
int _ssl_context::min_major_ver |
min. major version used
Definition at line 746 of file ssl.h.
int _ssl_context::min_minor_ver |
min. minor version used
Definition at line 747 of file ssl.h.
int _ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 742 of file ssl.h.
int _ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 826 of file ssl.h.
unsigned char* _ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 832 of file ssl.h.
unsigned char* _ssl_context::out_hdr |
5-byte record header (out_ctr+8)
Definition at line 833 of file ssl.h.
unsigned char* _ssl_context::out_iv |
ivlen-byte IV (out_hdr+5)
Definition at line 834 of file ssl.h.
size_t _ssl_context::out_left |
amount of data not yet written
Definition at line 839 of file ssl.h.
unsigned char* _ssl_context::out_msg |
message contents (out_iv+ivlen)
Definition at line 835 of file ssl.h.
size_t _ssl_context::out_msglen |
record header: message length
Definition at line 838 of file ssl.h.
int _ssl_context::out_msgtype |
record header: message type
Definition at line 837 of file ssl.h.
previous handshake verify data
Definition at line 934 of file ssl.h.
void* _ssl_context::p_dbg |
context for the debug function
Definition at line 771 of file ssl.h.
void* _ssl_context::p_get_cache |
context for cache retrieval
Definition at line 774 of file ssl.h.
void* _ssl_context::p_hw_data |
context for HW acceleration
Definition at line 776 of file ssl.h.
void* _ssl_context::p_psk |
context for PSK retrieval
Definition at line 790 of file ssl.h.
void* _ssl_context::p_recv |
context for reading operations
Definition at line 772 of file ssl.h.
void* _ssl_context::p_rng |
context for the RNG function
Definition at line 770 of file ssl.h.
void* _ssl_context::p_send |
context for writing operations
Definition at line 773 of file ssl.h.
void* _ssl_context::p_set_cache |
context for cache store
Definition at line 775 of file ssl.h.
void* _ssl_context::p_sni |
context for SNI extension
Definition at line 780 of file ssl.h.
void* _ssl_context::p_vrfy |
context for verification
Definition at line 785 of file ssl.h.
const char* _ssl_context::peer_cn |
expected peer CN
Definition at line 860 of file ssl.h.
previous handshake verify data
Definition at line 935 of file ssl.h.
unsigned char* _ssl_context::psk |
unsigned char* _ssl_context::psk_identity |
size_t _ssl_context::psk_identity_len |
size_t _ssl_context::psk_len |
int _ssl_context::record_read |
record is already present
Definition at line 827 of file ssl.h.
int _ssl_context::renego_max_records |
grace period for renegotiation
Definition at line 879 of file ssl.h.
unsigned char _ssl_context::renego_period[8] |
value of the record counters that triggers renegotiation
Definition at line 880 of file ssl.h.
int _ssl_context::renego_records_seen |
Records since renego request
Definition at line 738 of file ssl.h.
int _ssl_context::renegotiation |
Initial or renegotiation
Definition at line 736 of file ssl.h.
int _ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 930 of file ssl.h.
negotiated session data
Definition at line 798 of file ssl.h.
current session data (in)
Definition at line 796 of file ssl.h.
session data in negotiation
Definition at line 799 of file ssl.h.
current session data (out)
Definition at line 797 of file ssl.h.
int _ssl_context::session_tickets |
use session tickets?
Definition at line 892 of file ssl.h.
signed char _ssl_context::split_done |
flag for record splitting: -1 disabled, 0 todo, 1 done
Definition at line 848 of file ssl.h.
SSL handshake: current state
Definition at line 735 of file ssl.h.
keys for ticket encryption
Definition at line 867 of file ssl.h.
int _ssl_context::ticket_lifetime |
session ticket lifetime
Definition at line 893 of file ssl.h.
negotiated transform params
Definition at line 809 of file ssl.h.
current transform params (in)
Definition at line 807 of file ssl.h.
transform params in negotiation
Definition at line 810 of file ssl.h.
current transform params (in)
Definition at line 808 of file ssl.h.
int _ssl_context::trunc_hmac |
negotiate truncated hmac?
Definition at line 889 of file ssl.h.
size_t _ssl_context::verify_data_len |
length of verify data stored
Definition at line 933 of file ssl.h.
int _ssl_context::verify_result |
verification result
Definition at line 876 of file ssl.h.
The documentation for this struct was generated from the following file: