#include <ssl.h>
|
int | sig_alg |
|
int | cert_type |
|
int | verify_sig_alg |
|
dhm_context | dhm_ctx |
|
ecdh_context | ecdh_ctx |
|
const ecp_curve_info ** | curves |
|
ssl_key_cert * | key_cert |
| Current key/cert or key/cert list.
|
|
ssl_key_cert * | sni_key_cert |
|
md5_context | fin_md5 |
|
sha1_context | fin_sha1 |
|
sha256_context | fin_sha256 |
|
sha512_context | fin_sha512 |
|
void(* | update_checksum )(ssl_context *, const unsigned char *, size_t) |
|
void(* | calc_verify )(ssl_context *, unsigned char *) |
|
void(* | calc_finished )(ssl_context *, unsigned char *, int) |
|
int(* | tls_prf )(const unsigned char *, size_t, const char *, const unsigned char *, size_t, unsigned char *, size_t) |
|
size_t | pmslen |
|
unsigned char | randbytes [64] |
|
unsigned char | premaster [POLARSSL_PREMASTER_SIZE] |
|
int | resume |
|
int | max_major_ver |
|
int | max_minor_ver |
|
int | cli_exts |
|
int | new_session_ticket |
|
Definition at line 585 of file ssl.h.
void(* _ssl_handshake_params::calc_finished)(ssl_context *, unsigned char *, int) |
void(* _ssl_handshake_params::calc_verify)(ssl_context *, unsigned char *) |
int _ssl_handshake_params::cert_type |
Requested cert type
Definition at line 591 of file ssl.h.
int _ssl_handshake_params::cli_exts |
client extension presence
Definition at line 648 of file ssl.h.
Supported elliptic curves
Definition at line 600 of file ssl.h.
DHM key exchange
Definition at line 594 of file ssl.h.
ECDH key exchange
Definition at line 597 of file ssl.h.
Current key/cert or key/cert list.
On client: pointer to ssl->key_cert, only the first entry used. On server: starts as a pointer to ssl->key_cert, then becomes a pointer to the chosen key from this list or the SNI list.
Definition at line 609 of file ssl.h.
Referenced by ssl_own_cert(), and ssl_own_key().
int _ssl_handshake_params::max_major_ver |
max. major version client
Definition at line 646 of file ssl.h.
int _ssl_handshake_params::max_minor_ver |
max. minor version client
Definition at line 647 of file ssl.h.
int _ssl_handshake_params::new_session_ticket |
use NewSessionTicket?
Definition at line 651 of file ssl.h.
size_t _ssl_handshake_params::pmslen |
premaster length
Definition at line 639 of file ssl.h.
premaster secret
Definition at line 643 of file ssl.h.
unsigned char _ssl_handshake_params::randbytes[64] |
random bytes
Definition at line 641 of file ssl.h.
int _ssl_handshake_params::resume |
session resume indicator
Definition at line 645 of file ssl.h.
int _ssl_handshake_params::sig_alg |
Hash algorithm for signature
Definition at line 590 of file ssl.h.
key/cert list from SNI
Definition at line 611 of file ssl.h.
int(* _ssl_handshake_params::tls_prf)(const unsigned char *, size_t, const char *, const unsigned char *, size_t, unsigned char *, size_t) |
void(* _ssl_handshake_params::update_checksum)(ssl_context *, const unsigned char *, size_t) |
int _ssl_handshake_params::verify_sig_alg |
Signature algorithm for verify
Definition at line 592 of file ssl.h.
The documentation for this struct was generated from the following file: