struct

ECS::LogEntry::Tls

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cipher(new_value : String)

A chainable setter for cipher

Source
cipher

tls.cipher

String indicating the cipher used during the current connection.

Level: Extended Type: Keyword Example:

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
Source
cipher=(cipher : String | Nil)

tls.cipher

String indicating the cipher used during the current connection.

Level: Extended Type: Keyword Example:

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
Source
client(value : Client)

A chainable setter for client

Source
client
Source
client

Initialize a new Client, yield it to the block

Source
client=(client : Client | Nil)
Source
curve(new_value : String)

A chainable setter for curve

Source
curve

tls.curve

String indicating the curve used for the given cipher, when applicable.

Level: Extended Type: Keyword Example:

secp256r1
Source
curve=(curve : String | Nil)

tls.curve

String indicating the curve used for the given cipher, when applicable.

Level: Extended Type: Keyword Example:

secp256r1
Source
established(new_value : Bool)

A chainable setter for established

Source
established

tls.established

Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.

Level: Extended Type: Boolean

Source
established=(established : Bool | Nil)

tls.established

Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.

Level: Extended Type: Boolean

Source
next_protocol(new_value : String)

A chainable setter for next_protocol

Source
next_protocol

tls.next_protocol

String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.

Level: Extended Type: Keyword Example:

http/1.1
Source
next_protocol=(next_protocol : String | Nil)

tls.next_protocol

String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.

Level: Extended Type: Keyword Example:

http/1.1
Source
resumed(new_value : Bool)

A chainable setter for resumed

Source
resumed

tls.resumed

Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.

Level: Extended Type: Boolean

Source
resumed=(resumed : Bool | Nil)

tls.resumed

Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.

Level: Extended Type: Boolean

Source
server(value : Server)

A chainable setter for server

Source
server
Source
server

Initialize a new Server, yield it to the block

Source
server=(server : Server | Nil)
Source
version(new_value : String)

A chainable setter for version

Source
version

tls.version

Numeric part of the version parsed from the original string.

Level: Extended Type: Keyword Example:

1.2
Source
version=(version : String | Nil)

tls.version

Numeric part of the version parsed from the original string.

Level: Extended Type: Keyword Example:

1.2
Source
version_protocol(new_value : String)

A chainable setter for version_protocol

Source
version_protocol

tls.version_protocol

Normalized lowercase protocol name parsed from original string.

Level: Extended Type: Keyword Example:

tls
Source
version_protocol=(version_protocol : String | Nil)

tls.version_protocol

Normalized lowercase protocol name parsed from original string.

Level: Extended Type: Keyword Example:

tls
Source

Nested types