class

Beryl::TLS::HandshakeOutcome

Inherits Reference < Object

What a finished handshake hands to the connection: the suite, the application traffic secrets, and what was negotiated.

Constructors

new(cipher_suite : Beryl::TLS::CipherSuite, client_application_traffic_secret : Slice(UInt8), server_application_traffic_secret : Slice(UInt8), exporter_master_secret : Slice(UInt8), resumption_master_secret : Slice(UInt8), alpn_protocol : Nil | String, server_name : Nil | String, list_of_peer_certificates : Array(Beryl::Certificates::Certificate), resumed : Bool, peer_record_size_limit : Int32 | Nil, group : Beryl::TLS::NamedGroup | Nil)
Source

Instance methods

alpn_protocol
Source
cipher_suite
Source
client_application_traffic_secret
Source
exporter_master_secret
Source
group

The negotiated group, or nil.

Source
list_of_peer_certificates
Source
peer_record_size_limit

The peer's record_size_limit, or nil when it sent none.

Source
resumed?
Source
resumption_master_secret

The resumption master secret, for the tickets a server sends or a client receives. A server socket wipes it once its handshake (and the tickets sent with it) ends.

Source
server_application_traffic_secret
Source
server_name

The server name the client asked for (SNI).

Source