#include <ssl.h>
|
int | state |
|
int | major_ver |
|
int | minor_ver |
|
int | max_major_ver |
|
int | max_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) |
|
void * | p_rng |
|
void * | p_dbg |
|
void * | p_recv |
|
void * | p_send |
|
void * | p_vrfy |
|
int | resume |
|
int | timeout |
|
ssl_session * | session |
|
int(* | s_get )(ssl_context *) |
|
int(* | s_set )(ssl_context *) |
|
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 |
|
rsa_context * | rsa_key |
|
x509_cert * | own_cert |
|
x509_cert * | ca_chain |
|
x509_crl * | ca_crl |
|
x509_cert * | peer_cert |
|
const char * | peer_cn |
|
int | endpoint |
|
int | authmode |
|
int | client_auth |
|
int | verify_result |
|
dhm_context | dhm_ctx |
|
md5_context | fin_md5 |
|
sha1_context | fin_sha1 |
|
int | do_crypt |
|
int * | ciphersuites |
|
size_t | pmslen |
|
unsigned int | keylen |
|
size_t | minlen |
|
size_t | ivlen |
|
size_t | maclen |
|
unsigned char | randbytes [64] |
|
unsigned char | premaster [256] |
|
unsigned char | iv_enc [16] |
|
unsigned char | iv_dec [16] |
|
unsigned char | mac_enc [32] |
|
unsigned char | mac_dec [32] |
|
unsigned long | ctx_enc [128] |
|
unsigned long | ctx_dec [128] |
|
unsigned char * | hostname |
|
size_t | hostname_len |
|
Definition at line 220 of file ssl.h.
int _ssl_context::authmode |
verification mode
Definition at line 297 of file ssl.h.
own trusted CA chain
Definition at line 291 of file ssl.h.
trusted CA CRLs
Definition at line 292 of file ssl.h.
int* _ssl_context::ciphersuites |
allowed ciphersuites
Definition at line 309 of file ssl.h.
int _ssl_context::client_auth |
flag for client auth.
Definition at line 298 of file ssl.h.
unsigned long _ssl_context::ctx_dec[128] |
decryption context
Definition at line 326 of file ssl.h.
unsigned long _ssl_context::ctx_enc[128] |
encryption context
Definition at line 325 of file ssl.h.
DHM key exchange
Definition at line 304 of file ssl.h.
int _ssl_context::do_crypt |
en(de)cryption flag
Definition at line 308 of file ssl.h.
int _ssl_context::endpoint |
0: client, 1: server
Definition at line 296 of file ssl.h.
void(* _ssl_context::f_dbg)(void *, int, const char *) |
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_vrfy)(void *, x509_cert *, int, int) |
Finished MD5 checksum
Definition at line 305 of file ssl.h.
Finished SHA-1 checksum
Definition at line 306 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 260 of file ssl.h.
unsigned char* _ssl_context::in_hdr |
5-byte record header (in_ctr+8)
Definition at line 261 of file ssl.h.
size_t _ssl_context::in_hslen |
current handshake message length
Definition at line 269 of file ssl.h.
size_t _ssl_context::in_left |
amount of data read so far
Definition at line 267 of file ssl.h.
unsigned char* _ssl_context::in_msg |
the message contents (in_hdr+5)
Definition at line 262 of file ssl.h.
size_t _ssl_context::in_msglen |
record header: message length
Definition at line 266 of file ssl.h.
int _ssl_context::in_msgtype |
record header: message type
Definition at line 265 of file ssl.h.
unsigned char* _ssl_context::in_offt |
read offset in application data
Definition at line 263 of file ssl.h.
unsigned char _ssl_context::iv_dec[16] |
IV (decryption)
Definition at line 320 of file ssl.h.
unsigned char _ssl_context::iv_enc[16] |
IV (encryption)
Definition at line 319 of file ssl.h.
size_t _ssl_context::ivlen |
IV length
Definition at line 313 of file ssl.h.
unsigned int _ssl_context::keylen |
symmetric key length
Definition at line 311 of file ssl.h.
unsigned char _ssl_context::mac_dec[32] |
MAC (decryption)
Definition at line 323 of file ssl.h.
unsigned char _ssl_context::mac_enc[32] |
MAC (encryption)
Definition at line 322 of file ssl.h.
size_t _ssl_context::maclen |
MAC length
Definition at line 314 of file ssl.h.
int _ssl_context::major_ver |
equal to SSL_MAJOR_VERSION_3
Definition at line 227 of file ssl.h.
int _ssl_context::max_major_ver |
max. major version from client
Definition at line 230 of file ssl.h.
int _ssl_context::max_minor_ver |
max. minor version from client
Definition at line 231 of file ssl.h.
size_t _ssl_context::minlen |
min. ciphertext length
Definition at line 312 of file ssl.h.
int _ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 228 of file ssl.h.
int _ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 270 of file ssl.h.
unsigned char* _ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 275 of file ssl.h.
unsigned char* _ssl_context::out_hdr |
5-byte record header (out_ctr+8)
Definition at line 276 of file ssl.h.
size_t _ssl_context::out_left |
amount of data not yet written
Definition at line 281 of file ssl.h.
unsigned char* _ssl_context::out_msg |
the message contents (out_hdr+5)
Definition at line 277 of file ssl.h.
size_t _ssl_context::out_msglen |
record header: message length
Definition at line 280 of file ssl.h.
int _ssl_context::out_msgtype |
record header: message type
Definition at line 279 of file ssl.h.
own X.509 certificate
Definition at line 290 of file ssl.h.
void* _ssl_context::p_dbg |
context for the debug function
Definition at line 243 of file ssl.h.
void* _ssl_context::p_recv |
context for reading operations
Definition at line 244 of file ssl.h.
void* _ssl_context::p_rng |
context for the RNG function
Definition at line 242 of file ssl.h.
void* _ssl_context::p_send |
context for writing operations
Definition at line 245 of file ssl.h.
void* _ssl_context::p_vrfy |
context for verification
Definition at line 246 of file ssl.h.
peer X.509 cert chain
Definition at line 293 of file ssl.h.
const char* _ssl_context::peer_cn |
expected peer CN
Definition at line 294 of file ssl.h.
size_t _ssl_context::pmslen |
premaster length
Definition at line 310 of file ssl.h.
unsigned char _ssl_context::premaster[256] |
premaster secret
Definition at line 317 of file ssl.h.
unsigned char _ssl_context::randbytes[64] |
random bytes
Definition at line 316 of file ssl.h.
session resuming flag
Definition at line 251 of file ssl.h.
own RSA private key
Definition at line 286 of file ssl.h.
(server) get callback
Definition at line 254 of file ssl.h.
(server) set callback
Definition at line 255 of file ssl.h.
current session data
Definition at line 253 of file ssl.h.
SSL handshake: current state
Definition at line 225 of file ssl.h.
int _ssl_context::timeout |
sess. expiration time
Definition at line 252 of file ssl.h.
int _ssl_context::verify_result |
verification result
Definition at line 299 of file ssl.h.
The documentation for this struct was generated from the following file: