Public Attributes | List of all members
SSL_PROTOCOL_METHOD Struct Reference

#include <internal.h>

Public Attributes

bool(* add_change_cipher_spec )(SSL *ssl)
 
bool(* add_message )(SSL *ssl, bssl::Array< uint8_t > msg)
 
int(* dispatch_alert )(SSL *ssl)
 
bool(* finish_message )(const SSL *ssl, CBB *cbb, bssl::Array< uint8_t > *out_msg)
 
int(* flush_flight )(SSL *ssl)
 
bool(* get_message )(const SSL *ssl, SSLMessage *out)
 
bool(* has_unprocessed_handshake_data )(const SSL *ssl)
 
bool(* init_message )(const SSL *ssl, CBB *cbb, CBB *body, uint8_t type)
 
bool is_dtls
 
void(* next_message )(SSL *ssl)
 
void(* on_handshake_complete )(SSL *ssl)
 
ssl_open_record_t(* open_app_data )(SSL *ssl, Span< uint8_t > *out, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)
 
ssl_open_record_t(* open_change_cipher_spec )(SSL *ssl, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)
 
ssl_open_record_t(* open_handshake )(SSL *ssl, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)
 
bool(* set_read_state )(SSL *ssl, ssl_encryption_level_t level, UniquePtr< SSLAEADContext > aead_ctx, Span< const uint8_t > secret_for_quic)
 
bool(* set_write_state )(SSL *ssl, ssl_encryption_level_t level, UniquePtr< SSLAEADContext > aead_ctx, Span< const uint8_t > secret_for_quic)
 
void(* ssl_free )(SSL *ssl)
 
bool(* ssl_new )(SSL *ssl)
 
int(* write_app_data )(SSL *ssl, bool *out_needs_handshake, const uint8_t *buf, int len)
 

Detailed Description

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

Member Data Documentation

◆ add_change_cipher_spec

bool(* SSL_PROTOCOL_METHOD::add_change_cipher_spec) (SSL *ssl)

◆ add_message

bool(* SSL_PROTOCOL_METHOD::add_message) (SSL *ssl, bssl::Array< uint8_t > msg)

◆ dispatch_alert

int(* SSL_PROTOCOL_METHOD::dispatch_alert) (SSL *ssl)

◆ finish_message

bool(* SSL_PROTOCOL_METHOD::finish_message) (const SSL *ssl, CBB *cbb, bssl::Array< uint8_t > *out_msg)

◆ flush_flight

int(* SSL_PROTOCOL_METHOD::flush_flight) (SSL *ssl)

◆ get_message

bool(* SSL_PROTOCOL_METHOD::get_message) (const SSL *ssl, SSLMessage *out)

◆ has_unprocessed_handshake_data

bool(* SSL_PROTOCOL_METHOD::has_unprocessed_handshake_data) (const SSL *ssl)

◆ init_message

bool(* SSL_PROTOCOL_METHOD::init_message) (const SSL *ssl, CBB *cbb, CBB *body, uint8_t type)

◆ is_dtls

bool SSL_PROTOCOL_METHOD::is_dtls

◆ next_message

void(* SSL_PROTOCOL_METHOD::next_message) (SSL *ssl)

◆ on_handshake_complete

void(* SSL_PROTOCOL_METHOD::on_handshake_complete) (SSL *ssl)

◆ open_app_data

ssl_open_record_t(* SSL_PROTOCOL_METHOD::open_app_data) (SSL *ssl, Span< uint8_t > *out, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)

◆ open_change_cipher_spec

ssl_open_record_t(* SSL_PROTOCOL_METHOD::open_change_cipher_spec) (SSL *ssl, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)

◆ open_handshake

ssl_open_record_t(* SSL_PROTOCOL_METHOD::open_handshake) (SSL *ssl, size_t *out_consumed, uint8_t *out_alert, Span< uint8_t > in)

◆ set_read_state

bool(* SSL_PROTOCOL_METHOD::set_read_state) (SSL *ssl, ssl_encryption_level_t level, UniquePtr< SSLAEADContext > aead_ctx, Span< const uint8_t > secret_for_quic)

◆ set_write_state

bool(* SSL_PROTOCOL_METHOD::set_write_state) (SSL *ssl, ssl_encryption_level_t level, UniquePtr< SSLAEADContext > aead_ctx, Span< const uint8_t > secret_for_quic)

◆ ssl_free

void(* SSL_PROTOCOL_METHOD::ssl_free) (SSL *ssl)

◆ ssl_new

bool(* SSL_PROTOCOL_METHOD::ssl_new) (SSL *ssl)

◆ write_app_data

int(* SSL_PROTOCOL_METHOD::write_app_data) (SSL *ssl, bool *out_needs_handshake, const uint8_t *buf, int len)

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


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