class

Beryl::TLS::Context

Inherits Reference < Object

The settings a connection is made with, shaped like OpenSSL::SSL::Context so the standard library and Amber can swap it in.

Instance methods

alpn_protocol=(protocol : String) : String

Sets one ALPN protocol, as OpenSSL::SSL::Context#alpn_protocol=.

Source
alpn_protocols=(list_of_protocols : Array(String)) : Array(String)

Alias of list_of_alpn_protocols=.

Source
limits
Source
limits=(limits : Limits)
Source
list_of_alpn_protocols

The ALPN protocol names (RFC 7301), in order of preference.

Source
list_of_alpn_protocols=(list_of_alpn_protocols : Array(String))

The ALPN protocol names (RFC 7301), in order of preference.

Source
list_of_cipher_suites

The cipher suites offered or accepted, in order of preference.

Source
list_of_cipher_suites=(list_of_cipher_suites : Array(CipherSuite))

The cipher suites offered or accepted, in order of preference.

Source
list_of_groups

The key exchange groups, in order of preference.

Source
list_of_groups=(list_of_groups : Array(NamedGroup))

The key exchange groups, in order of preference.

Source

Nested types