Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SSL3_STATE Struct Reference

#include <internal.h>

Public Member Functions

 SSL3_STATE ()
 
 ~SSL3_STATE ()
 

Public Attributes

UniquePtr< SSLAEADContextaead_read_ctx
 
UniquePtr< SSLAEADContextaead_write_ctx
 
bool alert_dispatch: 1
 
Array< uint8_talpn_selected
 
uint8_t channel_id [64] = {0}
 
bool channel_id_valid: 1
 
uint8_t client_random [SSL3_RANDOM_SIZE] = {0}
 
bool delegated_credential_used: 1
 
bool early_data_accepted: 1
 
enum ssl_early_data_reason_t early_data_reason = ssl_early_data_unknown
 
uint16_t early_data_skipped = 0
 
ssl_ech_status_t ech_status = ssl_ech_none
 
uint8_t empty_record_count = 0
 
UniquePtr< SSL_SESSIONestablished_session
 
uint8_t exporter_secret [SSL_MAX_MD_SIZE] = {0}
 
uint8_t exporter_secret_len = 0
 
bool has_message: 1
 
bool have_version: 1
 
UniquePtr< char > hostname
 
UniquePtr< SSL_HANDSHAKEhs
 
UniquePtr< BUF_MEMhs_buf
 
bool initial_handshake_complete: 1
 
bool is_v2_hello: 1
 
uint8_t key_update_count = 0
 
bool key_update_pending: 1
 
Array< uint8_tnext_proto_negotiated
 
Array< uint8_tpeer_quic_transport_params
 
Span< uint8_tpending_app_data
 
UniquePtr< BUF_MEMpending_flight
 
uint32_t pending_flight_offset = 0
 
UniquePtr< BUF_MEMpending_hs_data
 
uint8_t previous_client_finished [12] = {0}
 
uint8_t previous_client_finished_len = 0
 
uint8_t previous_server_finished [12] = {0}
 
uint8_t previous_server_finished_len = 0
 
SSLBuffer read_buffer
 
UniquePtr< ERR_SAVE_STATEread_error
 
enum ssl_encryption_level_t read_level = ssl_encryption_initial
 
uint8_t read_sequence [8] = {0}
 
enum ssl_shutdown_t read_shutdown = ssl_shutdown_none
 
uint8_t read_traffic_secret [SSL_MAX_MD_SIZE] = {0}
 
uint8_t read_traffic_secret_len = 0
 
bool renegotiate_pending: 1
 
int rwstate = SSL_ERROR_NONE
 
uint8_t send_alert [2] = {0}
 
bool send_connection_binding: 1
 
uint8_t server_random [SSL3_RANDOM_SIZE] = {0}
 
bool session_reused: 1
 
bool skip_early_data: 1
 
const SRTP_PROTECTION_PROFILEsrtp_profile = nullptr
 
int32_t ticket_age_skew = 0
 
int total_renegotiations = 0
 
bool used_hello_retry_request: 1
 
bool v2_hello_done: 1
 
uint8_t warning_alert_count = 0
 
unsigned int wnum = 0
 
const uint8_twpend_buf = nullptr
 
bool wpend_pending: 1
 
int wpend_ret = 0
 
int wpend_tot = 0
 
int wpend_type = 0
 
SSLBuffer write_buffer
 
enum ssl_encryption_level_t write_level = ssl_encryption_initial
 
uint8_t write_sequence [8] = {0}
 
enum ssl_shutdown_t write_shutdown = ssl_shutdown_none
 
uint8_t write_traffic_secret [SSL_MAX_MD_SIZE] = {0}
 
uint8_t write_traffic_secret_len = 0
 

Static Public Attributes

static constexpr bool kAllowUniquePtr = true
 

Detailed Description

Definition at line 2619 of file third_party/boringssl-with-bazel/src/ssl/internal.h.

Constructor & Destructor Documentation

◆ SSL3_STATE()

BSSL_NAMESPACE_BEGIN SSL3_STATE::SSL3_STATE ( )

Definition at line 166 of file s3_lib.cc.

◆ ~SSL3_STATE()

SSL3_STATE::~SSL3_STATE ( )

Definition at line 184 of file s3_lib.cc.

Member Data Documentation

◆ aead_read_ctx

UniquePtr<SSLAEADContext> SSL3_STATE::aead_read_ctx

◆ aead_write_ctx

UniquePtr<SSLAEADContext> SSL3_STATE::aead_write_ctx

◆ alert_dispatch

bool SSL3_STATE::alert_dispatch

◆ alpn_selected

Array<uint8_t> SSL3_STATE::alpn_selected

◆ channel_id

uint8_t SSL3_STATE::channel_id[64] = {0}

◆ channel_id_valid

bool SSL3_STATE::channel_id_valid

◆ client_random

uint8_t SSL3_STATE::client_random[SSL3_RANDOM_SIZE] = {0}

◆ delegated_credential_used

bool SSL3_STATE::delegated_credential_used

◆ early_data_accepted

bool SSL3_STATE::early_data_accepted

◆ early_data_reason

enum ssl_early_data_reason_t SSL3_STATE::early_data_reason = ssl_early_data_unknown

◆ early_data_skipped

uint16_t SSL3_STATE::early_data_skipped = 0

◆ ech_status

ssl_ech_status_t SSL3_STATE::ech_status = ssl_ech_none

◆ empty_record_count

uint8_t SSL3_STATE::empty_record_count = 0

◆ established_session

UniquePtr<SSL_SESSION> SSL3_STATE::established_session

◆ exporter_secret

uint8_t SSL3_STATE::exporter_secret[SSL_MAX_MD_SIZE] = {0}

◆ exporter_secret_len

uint8_t SSL3_STATE::exporter_secret_len = 0

◆ has_message

bool SSL3_STATE::has_message

◆ have_version

bool SSL3_STATE::have_version

◆ hostname

UniquePtr<char> SSL3_STATE::hostname

◆ hs

UniquePtr<SSL_HANDSHAKE> SSL3_STATE::hs

◆ hs_buf

UniquePtr<BUF_MEM> SSL3_STATE::hs_buf

◆ initial_handshake_complete

bool SSL3_STATE::initial_handshake_complete

◆ is_v2_hello

bool SSL3_STATE::is_v2_hello

◆ kAllowUniquePtr

constexpr bool SSL3_STATE::kAllowUniquePtr = true
staticconstexpr

◆ key_update_count

uint8_t SSL3_STATE::key_update_count = 0

◆ key_update_pending

bool SSL3_STATE::key_update_pending

◆ next_proto_negotiated

Array<uint8_t> SSL3_STATE::next_proto_negotiated

◆ peer_quic_transport_params

Array<uint8_t> SSL3_STATE::peer_quic_transport_params

◆ pending_app_data

Span<uint8_t> SSL3_STATE::pending_app_data

◆ pending_flight

UniquePtr<BUF_MEM> SSL3_STATE::pending_flight

◆ pending_flight_offset

uint32_t SSL3_STATE::pending_flight_offset = 0

◆ pending_hs_data

UniquePtr<BUF_MEM> SSL3_STATE::pending_hs_data

◆ previous_client_finished

uint8_t SSL3_STATE::previous_client_finished[12] = {0}

◆ previous_client_finished_len

uint8_t SSL3_STATE::previous_client_finished_len = 0

◆ previous_server_finished

uint8_t SSL3_STATE::previous_server_finished[12] = {0}

◆ previous_server_finished_len

uint8_t SSL3_STATE::previous_server_finished_len = 0

◆ read_buffer

SSLBuffer SSL3_STATE::read_buffer

◆ read_error

UniquePtr<ERR_SAVE_STATE> SSL3_STATE::read_error

◆ read_level

enum ssl_encryption_level_t SSL3_STATE::read_level = ssl_encryption_initial

◆ read_sequence

uint8_t SSL3_STATE::read_sequence[8] = {0}

◆ read_shutdown

enum ssl_shutdown_t SSL3_STATE::read_shutdown = ssl_shutdown_none

◆ read_traffic_secret

uint8_t SSL3_STATE::read_traffic_secret[SSL_MAX_MD_SIZE] = {0}

◆ read_traffic_secret_len

uint8_t SSL3_STATE::read_traffic_secret_len = 0

◆ renegotiate_pending

bool SSL3_STATE::renegotiate_pending

◆ rwstate

int SSL3_STATE::rwstate = SSL_ERROR_NONE

◆ send_alert

uint8_t SSL3_STATE::send_alert[2] = {0}

◆ send_connection_binding

bool SSL3_STATE::send_connection_binding

◆ server_random

uint8_t SSL3_STATE::server_random[SSL3_RANDOM_SIZE] = {0}

◆ session_reused

bool SSL3_STATE::session_reused

◆ skip_early_data

bool SSL3_STATE::skip_early_data

◆ srtp_profile

const SRTP_PROTECTION_PROFILE* SSL3_STATE::srtp_profile = nullptr

◆ ticket_age_skew

int32_t SSL3_STATE::ticket_age_skew = 0

◆ total_renegotiations

int SSL3_STATE::total_renegotiations = 0

◆ used_hello_retry_request

bool SSL3_STATE::used_hello_retry_request

◆ v2_hello_done

bool SSL3_STATE::v2_hello_done

◆ warning_alert_count

uint8_t SSL3_STATE::warning_alert_count = 0

◆ wnum

unsigned int SSL3_STATE::wnum = 0

◆ wpend_buf

const uint8_t* SSL3_STATE::wpend_buf = nullptr

◆ wpend_pending

bool SSL3_STATE::wpend_pending

◆ wpend_ret

int SSL3_STATE::wpend_ret = 0

◆ wpend_tot

int SSL3_STATE::wpend_tot = 0

◆ wpend_type

int SSL3_STATE::wpend_type = 0

◆ write_buffer

SSLBuffer SSL3_STATE::write_buffer

◆ write_level

enum ssl_encryption_level_t SSL3_STATE::write_level = ssl_encryption_initial

◆ write_sequence

uint8_t SSL3_STATE::write_sequence[8] = {0}

◆ write_shutdown

enum ssl_shutdown_t SSL3_STATE::write_shutdown = ssl_shutdown_none

◆ write_traffic_secret

uint8_t SSL3_STATE::write_traffic_secret[SSL_MAX_MD_SIZE] = {0}

◆ write_traffic_secret_len

uint8_t SSL3_STATE::write_traffic_secret_len = 0

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:48