#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 | new_session_ticket |
|
Definition at line 486 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 492 of file ssl.h.
Supported elliptic curves
Definition at line 501 of file ssl.h.
DHM key exchange
Definition at line 495 of file ssl.h.
ECDH key exchange
Definition at line 498 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 510 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 547 of file ssl.h.
int _ssl_handshake_params::max_minor_ver |
max. minor version client
Definition at line 548 of file ssl.h.
int _ssl_handshake_params::new_session_ticket |
use NewSessionTicket?
Definition at line 551 of file ssl.h.
size_t _ssl_handshake_params::pmslen |
premaster length
Definition at line 540 of file ssl.h.
premaster secret
Definition at line 544 of file ssl.h.
unsigned char _ssl_handshake_params::randbytes[64] |
random bytes
Definition at line 542 of file ssl.h.
int _ssl_handshake_params::resume |
session resume indicator
Definition at line 546 of file ssl.h.
int _ssl_handshake_params::sig_alg |
Signature algorithm
Definition at line 491 of file ssl.h.
key/cert list from SNI
Definition at line 512 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 493 of file ssl.h.
The documentation for this struct was generated from the following file: