Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libdigidoc/openssl/ssl/tls1.h
#include <openssl/buffer.h>

Ir al código fuente de este archivo.

'defines'

#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES   0
#define TLS1_VERSION   0x0301
#define TLS1_VERSION_MAJOR   0x03
#define TLS1_VERSION_MINOR   0x01
#define TLS1_AD_DECRYPTION_FAILED   21
#define TLS1_AD_RECORD_OVERFLOW   22
#define TLS1_AD_UNKNOWN_CA   48
#define TLS1_AD_ACCESS_DENIED   49
#define TLS1_AD_DECODE_ERROR   50
#define TLS1_AD_DECRYPT_ERROR   51
#define TLS1_AD_EXPORT_RESTRICTION   60
#define TLS1_AD_PROTOCOL_VERSION   70
#define TLS1_AD_INSUFFICIENT_SECURITY   71
#define TLS1_AD_INTERNAL_ERROR   80
#define TLS1_AD_USER_CANCELLED   90
#define TLS1_AD_NO_RENEGOTIATION   100
#define TLS1_AD_UNSUPPORTED_EXTENSION   110
#define TLS1_AD_CERTIFICATE_UNOBTAINABLE   111
#define TLS1_AD_UNRECOGNIZED_NAME   112
#define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE   113
#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE   114
#define TLS1_AD_UNKNOWN_PSK_IDENTITY   115
#define TLSEXT_TYPE_server_name   0
#define TLSEXT_TYPE_max_fragment_length   1
#define TLSEXT_TYPE_client_certificate_url   2
#define TLSEXT_TYPE_trusted_ca_keys   3
#define TLSEXT_TYPE_truncated_hmac   4
#define TLSEXT_TYPE_status_request   5
#define TLSEXT_TYPE_elliptic_curves   10
#define TLSEXT_TYPE_ec_point_formats   11
#define TLSEXT_TYPE_session_ticket   35
#define TLSEXT_TYPE_renegotiate   0xff01
#define TLSEXT_NAMETYPE_host_name   0
#define TLSEXT_STATUSTYPE_ocsp   1
#define TLSEXT_MAXLEN_host_name   255
#define SSL_set_tlsext_host_name(s, name)   SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)
#define SSL_set_tlsext_debug_callback(ssl, cb)   SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
#define SSL_set_tlsext_debug_arg(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)
#define SSL_set_tlsext_status_type(ssl, type)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)
#define SSL_get_tlsext_status_exts(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
#define SSL_set_tlsext_status_exts(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
#define SSL_get_tlsext_status_ids(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
#define SSL_set_tlsext_status_ids(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
#define SSL_get_tlsext_status_ocsp_resp(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP,0, (void *)arg)
#define SSL_set_tlsext_status_ocsp_resp(ssl, arg, arglen)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP,arglen, (void *)arg)
#define SSL_CTX_set_tlsext_servername_callback(ctx, cb)   SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
#define SSL_TLSEXT_ERR_OK   0
#define SSL_TLSEXT_ERR_ALERT_WARNING   1
#define SSL_TLSEXT_ERR_ALERT_FATAL   2
#define SSL_TLSEXT_ERR_NOACK   3
#define SSL_CTX_set_tlsext_servername_arg(ctx, arg)   SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0, (void *)arg)
#define SSL_CTX_get_tlsext_ticket_keys(ctx, keys, keylen)   SSL_CTX_ctrl((ctx),SSL_CTRL_GET_TLSEXT_TICKET_KEYS,(keylen),(keys))
#define SSL_CTX_set_tlsext_ticket_keys(ctx, keys, keylen)   SSL_CTX_ctrl((ctx),SSL_CTRL_SET_TLSEXT_TICKET_KEYS,(keylen),(keys))
#define SSL_CTX_set_tlsext_status_cb(ssl, cb)   SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
#define SSL_CTX_set_tlsext_status_arg(ssl, arg)   SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg)
#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb)   SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_MD5   0x03000060
#define TLS1_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   0x03000061
#define TLS1_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA   0x03000062
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   0x03000063
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_SHA   0x03000064
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   0x03000065
#define TLS1_CK_DHE_DSS_WITH_RC4_128_SHA   0x03000066
#define TLS1_CK_RSA_WITH_AES_128_SHA   0x0300002F
#define TLS1_CK_DH_DSS_WITH_AES_128_SHA   0x03000030
#define TLS1_CK_DH_RSA_WITH_AES_128_SHA   0x03000031
#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA   0x03000032
#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA   0x03000033
#define TLS1_CK_ADH_WITH_AES_128_SHA   0x03000034
#define TLS1_CK_RSA_WITH_AES_256_SHA   0x03000035
#define TLS1_CK_DH_DSS_WITH_AES_256_SHA   0x03000036
#define TLS1_CK_DH_RSA_WITH_AES_256_SHA   0x03000037
#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA   0x03000038
#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA   0x03000039
#define TLS1_CK_ADH_WITH_AES_256_SHA   0x0300003A
#define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000041
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000042
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000043
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000044
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000045
#define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA   0x03000046
#define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000084
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000085
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000086
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000087
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000088
#define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA   0x03000089
#define TLS1_CK_RSA_WITH_SEED_SHA   0x03000096
#define TLS1_CK_DH_DSS_WITH_SEED_SHA   0x03000097
#define TLS1_CK_DH_RSA_WITH_SEED_SHA   0x03000098
#define TLS1_CK_DHE_DSS_WITH_SEED_SHA   0x03000099
#define TLS1_CK_DHE_RSA_WITH_SEED_SHA   0x0300009A
#define TLS1_CK_ADH_WITH_SEED_SHA   0x0300009B
#define TLS1_CK_ECDH_ECDSA_WITH_NULL_SHA   0x0300C001
#define TLS1_CK_ECDH_ECDSA_WITH_RC4_128_SHA   0x0300C002
#define TLS1_CK_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C003
#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0x0300C004
#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0x0300C005
#define TLS1_CK_ECDHE_ECDSA_WITH_NULL_SHA   0x0300C006
#define TLS1_CK_ECDHE_ECDSA_WITH_RC4_128_SHA   0x0300C007
#define TLS1_CK_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C008
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0x0300C009
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0x0300C00A
#define TLS1_CK_ECDH_RSA_WITH_NULL_SHA   0x0300C00B
#define TLS1_CK_ECDH_RSA_WITH_RC4_128_SHA   0x0300C00C
#define TLS1_CK_ECDH_RSA_WITH_DES_192_CBC3_SHA   0x0300C00D
#define TLS1_CK_ECDH_RSA_WITH_AES_128_CBC_SHA   0x0300C00E
#define TLS1_CK_ECDH_RSA_WITH_AES_256_CBC_SHA   0x0300C00F
#define TLS1_CK_ECDHE_RSA_WITH_NULL_SHA   0x0300C010
#define TLS1_CK_ECDHE_RSA_WITH_RC4_128_SHA   0x0300C011
#define TLS1_CK_ECDHE_RSA_WITH_DES_192_CBC3_SHA   0x0300C012
#define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA   0x0300C013
#define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA   0x0300C014
#define TLS1_CK_ECDH_anon_WITH_NULL_SHA   0x0300C015
#define TLS1_CK_ECDH_anon_WITH_RC4_128_SHA   0x0300C016
#define TLS1_CK_ECDH_anon_WITH_DES_192_CBC3_SHA   0x0300C017
#define TLS1_CK_ECDH_anon_WITH_AES_128_CBC_SHA   0x0300C018
#define TLS1_CK_ECDH_anon_WITH_AES_256_CBC_SHA   0x0300C019
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_MD5   "EXP1024-RC4-MD5"
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   "EXP1024-RC2-CBC-MD5"
#define TLS1_TXT_RSA_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DES-CBC-SHA"
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DHE-DSS-DES-CBC-SHA"
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-RC4-SHA"
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-DHE-DSS-RC4-SHA"
#define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA   "DHE-DSS-RC4-SHA"
#define TLS1_TXT_RSA_WITH_AES_128_SHA   "AES128-SHA"
#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA   "DH-DSS-AES128-SHA"
#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA   "DH-RSA-AES128-SHA"
#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA   "DHE-DSS-AES128-SHA"
#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA   "DHE-RSA-AES128-SHA"
#define TLS1_TXT_ADH_WITH_AES_128_SHA   "ADH-AES128-SHA"
#define TLS1_TXT_RSA_WITH_AES_256_SHA   "AES256-SHA"
#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA   "DH-DSS-AES256-SHA"
#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA   "DH-RSA-AES256-SHA"
#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA   "DHE-DSS-AES256-SHA"
#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA   "DHE-RSA-AES256-SHA"
#define TLS1_TXT_ADH_WITH_AES_256_SHA   "ADH-AES256-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA   "ECDH-ECDSA-NULL-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA   "ECDH-ECDSA-RC4-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   "ECDH-ECDSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA   "ECDH-ECDSA-AES128-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA   "ECDH-ECDSA-AES256-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA   "ECDHE-ECDSA-NULL-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA   "ECDHE-ECDSA-RC4-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   "ECDHE-ECDSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   "ECDHE-ECDSA-AES128-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   "ECDHE-ECDSA-AES256-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_NULL_SHA   "ECDH-RSA-NULL-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA   "ECDH-RSA-RC4-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA   "ECDH-RSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA   "ECDH-RSA-AES128-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA   "ECDH-RSA-AES256-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_NULL_SHA   "ECDHE-RSA-NULL-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA   "ECDHE-RSA-RC4-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA   "ECDHE-RSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA   "ECDHE-RSA-AES128-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA   "ECDHE-RSA-AES256-SHA"
#define TLS1_TXT_ECDH_anon_WITH_NULL_SHA   "AECDH-NULL-SHA"
#define TLS1_TXT_ECDH_anon_WITH_RC4_128_SHA   "AECDH-RC4-SHA"
#define TLS1_TXT_ECDH_anon_WITH_DES_192_CBC3_SHA   "AECDH-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_anon_WITH_AES_128_CBC_SHA   "AECDH-AES128-SHA"
#define TLS1_TXT_ECDH_anon_WITH_AES_256_CBC_SHA   "AECDH-AES256-SHA"
#define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA   "CAMELLIA128-SHA"
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   "DH-DSS-CAMELLIA128-SHA"
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   "DH-RSA-CAMELLIA128-SHA"
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   "DHE-DSS-CAMELLIA128-SHA"
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   "DHE-RSA-CAMELLIA128-SHA"
#define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA   "ADH-CAMELLIA128-SHA"
#define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA   "CAMELLIA256-SHA"
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   "DH-DSS-CAMELLIA256-SHA"
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   "DH-RSA-CAMELLIA256-SHA"
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   "DHE-DSS-CAMELLIA256-SHA"
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   "DHE-RSA-CAMELLIA256-SHA"
#define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA   "ADH-CAMELLIA256-SHA"
#define TLS1_TXT_RSA_WITH_SEED_SHA   "SEED-SHA"
#define TLS1_TXT_DH_DSS_WITH_SEED_SHA   "DH-DSS-SEED-SHA"
#define TLS1_TXT_DH_RSA_WITH_SEED_SHA   "DH-RSA-SEED-SHA"
#define TLS1_TXT_DHE_DSS_WITH_SEED_SHA   "DHE-DSS-SEED-SHA"
#define TLS1_TXT_DHE_RSA_WITH_SEED_SHA   "DHE-RSA-SEED-SHA"
#define TLS1_TXT_ADH_WITH_SEED_SHA   "ADH-SEED-SHA"
#define TLS_CT_RSA_SIGN   1
#define TLS_CT_DSS_SIGN   2
#define TLS_CT_RSA_FIXED_DH   3
#define TLS_CT_DSS_FIXED_DH   4
#define TLS_CT_ECDSA_SIGN   64
#define TLS_CT_RSA_FIXED_ECDH   65
#define TLS_CT_ECDSA_FIXED_ECDH   66
#define TLS_CT_NUMBER   7
#define TLS1_FINISH_MAC_LENGTH   12
#define TLS_MD_MAX_CONST_SIZE   20
#define TLS_MD_CLIENT_FINISH_CONST   "client finished"
#define TLS_MD_CLIENT_FINISH_CONST_SIZE   15
#define TLS_MD_SERVER_FINISH_CONST   "server finished"
#define TLS_MD_SERVER_FINISH_CONST_SIZE   15
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
#define TLS_MD_KEY_EXPANSION_CONST   "key expansion"
#define TLS_MD_KEY_EXPANSION_CONST_SIZE   13
#define TLS_MD_CLIENT_WRITE_KEY_CONST   "client write key"
#define TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE   16
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
#define TLS_MD_IV_BLOCK_CONST   "IV block"
#define TLS_MD_IV_BLOCK_CONST_SIZE   8
#define TLS_MD_MASTER_SECRET_CONST   "master secret"
#define TLS_MD_MASTER_SECRET_CONST_SIZE   13

Funciones

const char * SSL_get_servername (const SSL *s, const int type)
int SSL_get_servername_type (const SSL *s)

Documentación de los 'defines'

#define SSL_CTX_get_tlsext_ticket_keys (   ctx,
  keys,
  keylen 
)    SSL_CTX_ctrl((ctx),SSL_CTRL_GET_TLSEXT_TICKET_KEYS,(keylen),(keys))
#define SSL_CTX_set_tlsext_servername_arg (   ctx,
  arg 
)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0, (void *)arg)
#define SSL_CTX_set_tlsext_servername_callback (   ctx,
  cb 
)    SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
#define SSL_CTX_set_tlsext_status_arg (   ssl,
  arg 
)    SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg)
#define SSL_CTX_set_tlsext_status_cb (   ssl,
  cb 
)    SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
#define SSL_CTX_set_tlsext_ticket_key_cb (   ssl,
  cb 
)    SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
#define SSL_CTX_set_tlsext_ticket_keys (   ctx,
  keys,
  keylen 
)    SSL_CTX_ctrl((ctx),SSL_CTRL_SET_TLSEXT_TICKET_KEYS,(keylen),(keys))
#define SSL_get_tlsext_status_exts (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
#define SSL_get_tlsext_status_ids (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
#define SSL_get_tlsext_status_ocsp_resp (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP,0, (void *)arg)
#define SSL_set_tlsext_debug_arg (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)
#define SSL_set_tlsext_debug_callback (   ssl,
  cb 
)    SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
#define SSL_set_tlsext_host_name (   s,
  name 
)    SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)
#define SSL_set_tlsext_status_exts (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
#define SSL_set_tlsext_status_ids (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
#define SSL_set_tlsext_status_ocsp_resp (   ssl,
  arg,
  arglen 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP,arglen, (void *)arg)
#define SSL_set_tlsext_status_type (   ssl,
  type 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)
#define SSL_TLSEXT_ERR_ALERT_FATAL   2
#define SSL_TLSEXT_ERR_ALERT_WARNING   1
#define SSL_TLSEXT_ERR_NOACK   3
#define SSL_TLSEXT_ERR_OK   0
#define TLS1_AD_ACCESS_DENIED   49
#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE   114
#define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE   113
#define TLS1_AD_CERTIFICATE_UNOBTAINABLE   111
#define TLS1_AD_DECODE_ERROR   50
#define TLS1_AD_DECRYPT_ERROR   51
#define TLS1_AD_DECRYPTION_FAILED   21
#define TLS1_AD_EXPORT_RESTRICTION   60
#define TLS1_AD_INSUFFICIENT_SECURITY   71
#define TLS1_AD_INTERNAL_ERROR   80
#define TLS1_AD_NO_RENEGOTIATION   100
#define TLS1_AD_PROTOCOL_VERSION   70
#define TLS1_AD_RECORD_OVERFLOW   22
#define TLS1_AD_UNKNOWN_CA   48
#define TLS1_AD_UNKNOWN_PSK_IDENTITY   115
#define TLS1_AD_UNRECOGNIZED_NAME   112
#define TLS1_AD_UNSUPPORTED_EXTENSION   110
#define TLS1_AD_USER_CANCELLED   90
#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES   0
#define TLS1_CK_ADH_WITH_AES_128_SHA   0x03000034
#define TLS1_CK_ADH_WITH_AES_256_SHA   0x0300003A
#define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA   0x03000046
#define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA   0x03000089
#define TLS1_CK_ADH_WITH_SEED_SHA   0x0300009B
#define TLS1_CK_DH_DSS_WITH_AES_128_SHA   0x03000030
#define TLS1_CK_DH_DSS_WITH_AES_256_SHA   0x03000036
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000042
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000085
#define TLS1_CK_DH_DSS_WITH_SEED_SHA   0x03000097
#define TLS1_CK_DH_RSA_WITH_AES_128_SHA   0x03000031
#define TLS1_CK_DH_RSA_WITH_AES_256_SHA   0x03000037
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000043
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000086
#define TLS1_CK_DH_RSA_WITH_SEED_SHA   0x03000098
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   0x03000063
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   0x03000065
#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA   0x03000032
#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA   0x03000038
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000044
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000087
#define TLS1_CK_DHE_DSS_WITH_RC4_128_SHA   0x03000066
#define TLS1_CK_DHE_DSS_WITH_SEED_SHA   0x03000099
#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA   0x03000033
#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA   0x03000039
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000045
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000088
#define TLS1_CK_DHE_RSA_WITH_SEED_SHA   0x0300009A
#define TLS1_CK_ECDH_anon_WITH_AES_128_CBC_SHA   0x0300C018
#define TLS1_CK_ECDH_anon_WITH_AES_256_CBC_SHA   0x0300C019
#define TLS1_CK_ECDH_anon_WITH_DES_192_CBC3_SHA   0x0300C017
#define TLS1_CK_ECDH_anon_WITH_NULL_SHA   0x0300C015
#define TLS1_CK_ECDH_anon_WITH_RC4_128_SHA   0x0300C016
#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0x0300C004
#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0x0300C005
#define TLS1_CK_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C003
#define TLS1_CK_ECDH_ECDSA_WITH_NULL_SHA   0x0300C001
#define TLS1_CK_ECDH_ECDSA_WITH_RC4_128_SHA   0x0300C002
#define TLS1_CK_ECDH_RSA_WITH_AES_128_CBC_SHA   0x0300C00E
#define TLS1_CK_ECDH_RSA_WITH_AES_256_CBC_SHA   0x0300C00F
#define TLS1_CK_ECDH_RSA_WITH_DES_192_CBC3_SHA   0x0300C00D
#define TLS1_CK_ECDH_RSA_WITH_NULL_SHA   0x0300C00B
#define TLS1_CK_ECDH_RSA_WITH_RC4_128_SHA   0x0300C00C
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0x0300C009
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0x0300C00A
#define TLS1_CK_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C008
#define TLS1_CK_ECDHE_ECDSA_WITH_NULL_SHA   0x0300C006
#define TLS1_CK_ECDHE_ECDSA_WITH_RC4_128_SHA   0x0300C007
#define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA   0x0300C013
#define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA   0x0300C014
#define TLS1_CK_ECDHE_RSA_WITH_DES_192_CBC3_SHA   0x0300C012
#define TLS1_CK_ECDHE_RSA_WITH_NULL_SHA   0x0300C010
#define TLS1_CK_ECDHE_RSA_WITH_RC4_128_SHA   0x0300C011
#define TLS1_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA   0x03000062
#define TLS1_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   0x03000061
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_MD5   0x03000060
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_SHA   0x03000064
#define TLS1_CK_RSA_WITH_AES_128_SHA   0x0300002F
#define TLS1_CK_RSA_WITH_AES_256_SHA   0x03000035
#define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000041
#define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000084
#define TLS1_CK_RSA_WITH_SEED_SHA   0x03000096
#define TLS1_FINISH_MAC_LENGTH   12
#define TLS1_TXT_ADH_WITH_AES_128_SHA   "ADH-AES128-SHA"
#define TLS1_TXT_ADH_WITH_AES_256_SHA   "ADH-AES256-SHA"
#define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA   "ADH-CAMELLIA128-SHA"
#define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA   "ADH-CAMELLIA256-SHA"
#define TLS1_TXT_ADH_WITH_SEED_SHA   "ADH-SEED-SHA"
#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA   "DH-DSS-AES128-SHA"
#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA   "DH-DSS-AES256-SHA"
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   "DH-DSS-CAMELLIA128-SHA"
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   "DH-DSS-CAMELLIA256-SHA"
#define TLS1_TXT_DH_DSS_WITH_SEED_SHA   "DH-DSS-SEED-SHA"
#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA   "DH-RSA-AES128-SHA"
#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA   "DH-RSA-AES256-SHA"
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   "DH-RSA-CAMELLIA128-SHA"
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   "DH-RSA-CAMELLIA256-SHA"
#define TLS1_TXT_DH_RSA_WITH_SEED_SHA   "DH-RSA-SEED-SHA"
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DHE-DSS-DES-CBC-SHA"
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-DHE-DSS-RC4-SHA"
#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA   "DHE-DSS-AES128-SHA"
#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA   "DHE-DSS-AES256-SHA"
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   "DHE-DSS-CAMELLIA128-SHA"
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   "DHE-DSS-CAMELLIA256-SHA"
#define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA   "DHE-DSS-RC4-SHA"
#define TLS1_TXT_DHE_DSS_WITH_SEED_SHA   "DHE-DSS-SEED-SHA"
#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA   "DHE-RSA-AES128-SHA"
#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA   "DHE-RSA-AES256-SHA"
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   "DHE-RSA-CAMELLIA128-SHA"
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   "DHE-RSA-CAMELLIA256-SHA"
#define TLS1_TXT_DHE_RSA_WITH_SEED_SHA   "DHE-RSA-SEED-SHA"
#define TLS1_TXT_ECDH_anon_WITH_AES_128_CBC_SHA   "AECDH-AES128-SHA"
#define TLS1_TXT_ECDH_anon_WITH_AES_256_CBC_SHA   "AECDH-AES256-SHA"
#define TLS1_TXT_ECDH_anon_WITH_DES_192_CBC3_SHA   "AECDH-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_anon_WITH_NULL_SHA   "AECDH-NULL-SHA"
#define TLS1_TXT_ECDH_anon_WITH_RC4_128_SHA   "AECDH-RC4-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA   "ECDH-ECDSA-AES128-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA   "ECDH-ECDSA-AES256-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   "ECDH-ECDSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA   "ECDH-ECDSA-NULL-SHA"
#define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA   "ECDH-ECDSA-RC4-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA   "ECDH-RSA-AES128-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA   "ECDH-RSA-AES256-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA   "ECDH-RSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_NULL_SHA   "ECDH-RSA-NULL-SHA"
#define TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA   "ECDH-RSA-RC4-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   "ECDHE-ECDSA-AES128-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   "ECDHE-ECDSA-AES256-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   "ECDHE-ECDSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA   "ECDHE-ECDSA-NULL-SHA"
#define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA   "ECDHE-ECDSA-RC4-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA   "ECDHE-RSA-AES128-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA   "ECDHE-RSA-AES256-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA   "ECDHE-RSA-DES-CBC3-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_NULL_SHA   "ECDHE-RSA-NULL-SHA"
#define TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA   "ECDHE-RSA-RC4-SHA"
#define TLS1_TXT_RSA_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DES-CBC-SHA"
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   "EXP1024-RC2-CBC-MD5"
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_MD5   "EXP1024-RC4-MD5"
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-RC4-SHA"
#define TLS1_TXT_RSA_WITH_AES_128_SHA   "AES128-SHA"
#define TLS1_TXT_RSA_WITH_AES_256_SHA   "AES256-SHA"
#define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA   "CAMELLIA128-SHA"
#define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA   "CAMELLIA256-SHA"
#define TLS1_TXT_RSA_WITH_SEED_SHA   "SEED-SHA"
#define TLS1_VERSION   0x0301
#define TLS1_VERSION_MAJOR   0x03
#define TLS1_VERSION_MINOR   0x01
#define TLS_CT_DSS_FIXED_DH   4
#define TLS_CT_DSS_SIGN   2
#define TLS_CT_ECDSA_FIXED_ECDH   66
#define TLS_CT_ECDSA_SIGN   64
#define TLS_CT_NUMBER   7
#define TLS_CT_RSA_FIXED_DH   3
#define TLS_CT_RSA_FIXED_ECDH   65
#define TLS_CT_RSA_SIGN   1
#define TLS_MD_CLIENT_FINISH_CONST   "client finished"
#define TLS_MD_CLIENT_FINISH_CONST_SIZE   15
#define TLS_MD_CLIENT_WRITE_KEY_CONST   "client write key"
#define TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE   16
#define TLS_MD_IV_BLOCK_CONST   "IV block"
#define TLS_MD_IV_BLOCK_CONST_SIZE   8
#define TLS_MD_KEY_EXPANSION_CONST   "key expansion"
#define TLS_MD_KEY_EXPANSION_CONST_SIZE   13
#define TLS_MD_MASTER_SECRET_CONST   "master secret"
#define TLS_MD_MASTER_SECRET_CONST_SIZE   13
#define TLS_MD_MAX_CONST_SIZE   20
#define TLS_MD_SERVER_FINISH_CONST   "server finished"
#define TLS_MD_SERVER_FINISH_CONST_SIZE   15
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
#define TLSEXT_MAXLEN_host_name   255
#define TLSEXT_NAMETYPE_host_name   0
#define TLSEXT_STATUSTYPE_ocsp   1
#define TLSEXT_TYPE_client_certificate_url   2
#define TLSEXT_TYPE_ec_point_formats   11
#define TLSEXT_TYPE_elliptic_curves   10
#define TLSEXT_TYPE_max_fragment_length   1
#define TLSEXT_TYPE_renegotiate   0xff01
#define TLSEXT_TYPE_server_name   0
#define TLSEXT_TYPE_session_ticket   35
#define TLSEXT_TYPE_status_request   5
#define TLSEXT_TYPE_truncated_hmac   4
#define TLSEXT_TYPE_trusted_ca_keys   3

Documentación de las funciones

const char* SSL_get_servername ( const SSL s,
const int  type 
)

return a servername extension value if provided in Client Hello, or NULL. So far, only host_name types are defined (RFC 3546).

int SSL_get_servername_type ( const SSL s)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'