#include <ssl.h>
|
int | state |
|
int | renegotiation |
|
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_vrfy )(void *, x509_cert *, int, int *) |
|
int(* | f_get_cache )(void *, ssl_session *) |
|
int(* | f_set_cache )(void *, const ssl_session *) |
|
int(* | f_sni )(void *, ssl_context *, const unsigned char *, size_t) |
|
void * | p_rng |
|
void * | p_dbg |
|
void * | p_recv |
|
void * | p_send |
|
void * | p_vrfy |
|
void * | p_get_cache |
|
void * | p_set_cache |
|
void * | p_sni |
|
void * | p_hw_data |
|
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_msg |
|
unsigned char * | in_offt |
|
int | in_msgtype |
|
size_t | in_msglen |
|
size_t | in_left |
|
size_t | in_hslen |
|
int | nb_zero |
|
unsigned char * | out_ctr |
|
unsigned char * | out_hdr |
|
unsigned char * | out_msg |
|
int | out_msgtype |
|
size_t | out_msglen |
|
size_t | out_left |
|
void * | rsa_key |
|
rsa_decrypt_func | rsa_decrypt |
|
rsa_sign_func | rsa_sign |
|
rsa_key_len_func | rsa_key_len |
|
x509_cert * | own_cert |
|
x509_cert * | ca_chain |
|
x509_crl * | ca_crl |
|
const char * | peer_cn |
|
int | endpoint |
|
int | authmode |
|
int | client_auth |
|
int | verify_result |
|
int | disable_renegotiation |
|
int | allow_legacy_renegotiation |
|
const int ** | ciphersuites |
|
mpi | dhm_P |
|
mpi | dhm_G |
|
unsigned char * | hostname |
|
size_t | hostname_len |
|
int | secure_renegotiation |
|
size_t | verify_data_len |
|
char | own_verify_data [36] |
|
char | peer_verify_data [36] |
|
Definition at line 401 of file ssl.h.
int _ssl_context::allow_legacy_renegotiation |
allow legacy renegotiation
Definition at line 505 of file ssl.h.
int _ssl_context::authmode |
verification mode
Definition at line 501 of file ssl.h.
own trusted CA chain
Definition at line 493 of file ssl.h.
trusted CA CRLs
Definition at line 494 of file ssl.h.
const int** _ssl_context::ciphersuites |
allowed ciphersuites / version
Definition at line 506 of file ssl.h.
int _ssl_context::client_auth |
flag for client auth.
Definition at line 502 of file ssl.h.
generator for DHM
Definition at line 510 of file ssl.h.
prime modulus for DHM
Definition at line 509 of file ssl.h.
int _ssl_context::disable_renegotiation |
enable/disable renegotiation
Definition at line 504 of file ssl.h.
int _ssl_context::endpoint |
0: client, 1: server
Definition at line 500 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_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_cert *, int, int *) |
params required only during the handshake process
Definition at line 447 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 461 of file ssl.h.
unsigned char* _ssl_context::in_hdr |
5-byte record header (in_ctr+8)
Definition at line 462 of file ssl.h.
size_t _ssl_context::in_hslen |
current handshake message length
Definition at line 470 of file ssl.h.
size_t _ssl_context::in_left |
amount of data read so far
Definition at line 468 of file ssl.h.
unsigned char* _ssl_context::in_msg |
the message contents (in_hdr+5)
Definition at line 463 of file ssl.h.
size_t _ssl_context::in_msglen |
record header: message length
Definition at line 467 of file ssl.h.
int _ssl_context::in_msgtype |
record header: message type
Definition at line 466 of file ssl.h.
unsigned char* _ssl_context::in_offt |
read offset in application data
Definition at line 464 of file ssl.h.
int _ssl_context::major_ver |
equal to SSL_MAJOR_VERSION_3
Definition at line 409 of file ssl.h.
int _ssl_context::max_major_ver |
max. major version from client
Definition at line 412 of file ssl.h.
int _ssl_context::max_minor_ver |
max. minor version from client
Definition at line 413 of file ssl.h.
int _ssl_context::min_major_ver |
min. major version accepted
Definition at line 414 of file ssl.h.
int _ssl_context::min_minor_ver |
min. minor version accepted
Definition at line 415 of file ssl.h.
int _ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 410 of file ssl.h.
int _ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 471 of file ssl.h.
unsigned char* _ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 476 of file ssl.h.
unsigned char* _ssl_context::out_hdr |
5-byte record header (out_ctr+8)
Definition at line 477 of file ssl.h.
size_t _ssl_context::out_left |
amount of data not yet written
Definition at line 482 of file ssl.h.
unsigned char* _ssl_context::out_msg |
the message contents (out_hdr+32)
Definition at line 478 of file ssl.h.
size_t _ssl_context::out_msglen |
record header: message length
Definition at line 481 of file ssl.h.
int _ssl_context::out_msgtype |
record header: message type
Definition at line 480 of file ssl.h.
own X.509 certificate
Definition at line 492 of file ssl.h.
char _ssl_context::own_verify_data[36] |
previous handshake verify data
Definition at line 525 of file ssl.h.
void* _ssl_context::p_dbg |
context for the debug function
Definition at line 430 of file ssl.h.
void* _ssl_context::p_get_cache |
context for cache retrieval
Definition at line 434 of file ssl.h.
void* _ssl_context::p_hw_data |
context for HW acceleration
Definition at line 437 of file ssl.h.
void* _ssl_context::p_recv |
context for reading operations
Definition at line 431 of file ssl.h.
void* _ssl_context::p_rng |
context for the RNG function
Definition at line 429 of file ssl.h.
void* _ssl_context::p_send |
context for writing operations
Definition at line 432 of file ssl.h.
void* _ssl_context::p_set_cache |
context for cache store
Definition at line 435 of file ssl.h.
void* _ssl_context::p_sni |
context for SNI extension
Definition at line 436 of file ssl.h.
void* _ssl_context::p_vrfy |
context for verification
Definition at line 433 of file ssl.h.
const char* _ssl_context::peer_cn |
expected peer CN
Definition at line 495 of file ssl.h.
char _ssl_context::peer_verify_data[36] |
previous handshake verify data
Definition at line 526 of file ssl.h.
int _ssl_context::renegotiation |
Initial or renegotiation
Definition at line 407 of file ssl.h.
function for RSA decrypt
Definition at line 488 of file ssl.h.
void* _ssl_context::rsa_key |
own RSA private key
Definition at line 487 of file ssl.h.
function for RSA key len
Definition at line 490 of file ssl.h.
function for RSA sign
Definition at line 489 of file ssl.h.
int _ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 522 of file ssl.h.
negotiated session data
Definition at line 444 of file ssl.h.
current session data (in)
Definition at line 442 of file ssl.h.
session data in negotiation
Definition at line 445 of file ssl.h.
current session data (out)
Definition at line 443 of file ssl.h.
SSL handshake: current state
Definition at line 406 of file ssl.h.
negotiated transform params
Definition at line 455 of file ssl.h.
current transform params (in)
Definition at line 453 of file ssl.h.
transform params in negotiation
Definition at line 456 of file ssl.h.
current transform params (in)
Definition at line 454 of file ssl.h.
size_t _ssl_context::verify_data_len |
length of verify data stored
Definition at line 524 of file ssl.h.
int _ssl_context::verify_result |
verification result
Definition at line 503 of file ssl.h.
The documentation for this struct was generated from the following file: