_ssl_handshake_params Struct Reference

#include <ssl.h>

Collaboration diagram for _ssl_handshake_params:
Collaboration graph
[legend]

Data Fields

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_certkey_cert
 Current key/cert or key/cert list.
ssl_key_certsni_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

Detailed Description

Definition at line 496 of file ssl.h.


Field Documentation

void(* _ssl_handshake_params::calc_finished)(ssl_context *, unsigned char *, int)
void(* _ssl_handshake_params::calc_verify)(ssl_context *, unsigned char *)

Requested cert type

Definition at line 502 of file ssl.h.

Referenced by ssl_parse_certificate_request().

client extension presence

Definition at line 559 of file ssl.h.

Referenced by ssl_parse_client_hello(), and ssl_write_supported_point_formats_ext().

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 520 of file ssl.h.

Referenced by ssl_add_key_cert(), ssl_handshake_init(), ssl_own_cert(), ssl_own_key(), and ssl_pick_cert().

max. major version client

Definition at line 557 of file ssl.h.

Referenced by ssl_parse_client_hello(), ssl_parse_client_hello_v2(), and ssl_parse_encrypted_pms().

max. minor version client

Definition at line 558 of file ssl.h.

Referenced by ssl_parse_client_hello(), ssl_parse_client_hello_v2(), and ssl_parse_encrypted_pms().

unsigned char _ssl_handshake_params::premaster[POLARSSL_PREMASTER_SIZE]

Signature algorithm

Definition at line 501 of file ssl.h.

Referenced by ssl_handshake_init(), ssl_parse_signature_algorithms_ext(), and ssl_write_server_key_exchange().

key/cert list from SNI

Definition at line 522 of file ssl.h.

Referenced by ssl_handshake_free(), ssl_pick_cert(), and ssl_sni_wrapper().

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)

Signature algorithm for verify

Definition at line 503 of file ssl.h.

Referenced by ssl_parse_certificate_verify(), and ssl_write_certificate_request().


The documentation for this struct was generated from the following file:

Generated on 9 Apr 2014 for PolarSSL v1.3.2 by  doxygen 1.6.1