PolarSSL v1.3.9
Data Fields
_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. More...
 
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 587 of file ssl.h.

Field Documentation

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

Definition at line 636 of file ssl.h.

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

Definition at line 635 of file ssl.h.

int _ssl_handshake_params::cert_type

Requested cert type

Definition at line 593 of file ssl.h.

int _ssl_handshake_params::cli_exts

client extension presence

Definition at line 650 of file ssl.h.

const ecp_curve_info** _ssl_handshake_params::curves

Supported elliptic curves

Definition at line 602 of file ssl.h.

dhm_context _ssl_handshake_params::dhm_ctx

DHM key exchange

Definition at line 596 of file ssl.h.

ecdh_context _ssl_handshake_params::ecdh_ctx

ECDH key exchange

Definition at line 599 of file ssl.h.

md5_context _ssl_handshake_params::fin_md5

Definition at line 622 of file ssl.h.

sha1_context _ssl_handshake_params::fin_sha1

Definition at line 623 of file ssl.h.

sha256_context _ssl_handshake_params::fin_sha256

Definition at line 627 of file ssl.h.

sha512_context _ssl_handshake_params::fin_sha512

Definition at line 630 of file ssl.h.

ssl_key_cert* _ssl_handshake_params::key_cert

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

int _ssl_handshake_params::max_minor_ver

max. minor version client

Definition at line 649 of file ssl.h.

int _ssl_handshake_params::new_session_ticket

use NewSessionTicket?

Definition at line 653 of file ssl.h.

size_t _ssl_handshake_params::pmslen

premaster length

Definition at line 641 of file ssl.h.

unsigned char _ssl_handshake_params::premaster[POLARSSL_PREMASTER_SIZE]

premaster secret

Definition at line 644 of file ssl.h.

unsigned char _ssl_handshake_params::randbytes[64]

random bytes

Definition at line 643 of file ssl.h.

int _ssl_handshake_params::resume

session resume indicator

Definition at line 647 of file ssl.h.

int _ssl_handshake_params::sig_alg

Hash algorithm for signature

Definition at line 592 of file ssl.h.

ssl_key_cert* _ssl_handshake_params::sni_key_cert

key/cert list from SNI

Definition at line 613 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)

Definition at line 637 of file ssl.h.

void(* _ssl_handshake_params::update_checksum) (ssl_context *, const unsigned char *, size_t)

Definition at line 634 of file ssl.h.

int _ssl_handshake_params::verify_sig_alg

Signature algorithm for verify

Definition at line 594 of file ssl.h.


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