struct

ECS::LogEntry::Tls::Server

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

certificate(new_value : String)

A chainable setter for certificate

Source
certificate

tls.server.certificate

PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of server.certificate_chain since this value also exists in that list.

Level: Extended Type: Keyword Example:

MII...
Source
certificate=(certificate : String | Nil)

tls.server.certificate

PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of server.certificate_chain since this value also exists in that list.

Level: Extended Type: Keyword Example:

MII...
Source
certificate_chain(new_value : String)

A chainable setter for certificate_chain

Source
certificate_chain

tls.server.certificate_chain

Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of server.certificate since that value should be the first certificate in the chain.

Level: Extended Type: Keyword Example:

["MII...", "MII..."]
Source
certificate_chain=(certificate_chain : String | Nil)

tls.server.certificate_chain

Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of server.certificate since that value should be the first certificate in the chain.

Level: Extended Type: Keyword Example:

["MII...", "MII..."]
Source
hash(value : Hash)

A chainable setter for hash

Source
hash

Generates an UInt64 hash value for this object.

This method must have the property that a == b implies a.hash == b.hash.

The hash value is used along with == by the Hash class to determine if two objects reference the same hash key.

Subclasses must not override this method. Instead, they must define hash(hasher), though usually the macro def_hash can be used to generate this method.

Source
hash

Initialize a new Hash, yield it to the block

Source
hash=(hash : Hash | Nil)
Source
issuer(new_value : String)

A chainable setter for issuer

Source
issuer

tls.server.issuer

Subject of the issuer of the x.509 certificate presented by the server.

Level: Extended Type: Keyword Example:

CN=MyDomain Root CA, OU=Infrastructure Team, DC=mydomain, DC=com
Source
issuer=(issuer : String | Nil)

tls.server.issuer

Subject of the issuer of the x.509 certificate presented by the server.

Level: Extended Type: Keyword Example:

CN=MyDomain Root CA, OU=Infrastructure Team, DC=mydomain, DC=com
Source
ja3s(new_value : String)

A chainable setter for ja3s

Source
ja3s

tls.server.ja3s

A hash that identifies servers based on how they perform an SSL/TLS handshake.

Level: Extended Type: Keyword Example:

394441ab65754e2207b1e1b457b3641d
Source
ja3s=(ja3s : String | Nil)

tls.server.ja3s

A hash that identifies servers based on how they perform an SSL/TLS handshake.

Level: Extended Type: Keyword Example:

394441ab65754e2207b1e1b457b3641d
Source
not_after(new_value : Time)

A chainable setter for not_after

Source
not_after

tls.server.not_after

Timestamp indicating when server certificate is no longer considered valid.

Level: Extended Type: Date Example:

2021-01-01T00:00:00.000Z
Source
not_after=(not_after : Time | Nil)

tls.server.not_after

Timestamp indicating when server certificate is no longer considered valid.

Level: Extended Type: Date Example:

2021-01-01T00:00:00.000Z
Source
not_before(new_value : Time)

A chainable setter for not_before

Source
not_before

tls.server.not_before

Timestamp indicating when server certificate is first considered valid.

Level: Extended Type: Date Example:

1970-01-01T00:00:00.000Z
Source
not_before=(not_before : Time | Nil)

tls.server.not_before

Timestamp indicating when server certificate is first considered valid.

Level: Extended Type: Date Example:

1970-01-01T00:00:00.000Z
Source
subject(new_value : String)

A chainable setter for subject

Source
subject

tls.server.subject

Subject of the x.509 certificate presented by the server.

Level: Extended Type: Keyword Example:

CN=www.mydomain.com, OU=Infrastructure Team, DC=mydomain, DC=com
Source
subject=(subject : String | Nil)

tls.server.subject

Subject of the x.509 certificate presented by the server.

Level: Extended Type: Keyword Example:

CN=www.mydomain.com, OU=Infrastructure Team, DC=mydomain, DC=com
Source
x509(value : X509)

A chainable setter for x509

Source
x509
Source
x509

Initialize a new X509, yield it to the block

Source
x509=(x509 : X509 | Nil)
Source

Nested types