struct

ECS::LogEntry::Tls::Server::X509

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

alternative_names(new_value : String)

A chainable setter for alternative_names

Source
alternative_names

tls.server.x509.alternative_names

List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.

Level: Extended Type: Keyword Example:

*.elastic.co
Source
alternative_names=(alternative_names : String | Nil)

tls.server.x509.alternative_names

List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.

Level: Extended Type: Keyword Example:

*.elastic.co
Source
issuer(value : Issuer)

A chainable setter for issuer

Source
issuer
Source
issuer

Initialize a new Issuer, yield it to the block

Source
issuer=(issuer : Issuer | Nil)
Source
not_after(new_value : Time)

A chainable setter for not_after

Source
not_after

tls.server.x509.not_after

Time at which the certificate is no longer considered valid.

Level: Extended Type: Date Example:

2020-07-16 03:15:39+00:00
Source
not_after=(not_after : Time | Nil)

tls.server.x509.not_after

Time at which the certificate is no longer considered valid.

Level: Extended Type: Date Example:

2020-07-16 03:15:39+00:00
Source
not_before(new_value : Time)

A chainable setter for not_before

Source
not_before

tls.server.x509.not_before

Time at which the certificate is first considered valid.

Level: Extended Type: Date Example:

2019-08-16 01:40:25+00:00
Source
not_before=(not_before : Time | Nil)

tls.server.x509.not_before

Time at which the certificate is first considered valid.

Level: Extended Type: Date Example:

2019-08-16 01:40:25+00:00
Source
public_key_algorithm(new_value : String)

A chainable setter for public_key_algorithm

Source
public_key_algorithm

tls.server.x509.public_key_algorithm

Algorithm used to generate the public key.

Level: Extended Type: Keyword Example:

RSA
Source
public_key_algorithm=(public_key_algorithm : String | Nil)

tls.server.x509.public_key_algorithm

Algorithm used to generate the public key.

Level: Extended Type: Keyword Example:

RSA
Source
public_key_curve(new_value : String)

A chainable setter for public_key_curve

Source
public_key_curve

tls.server.x509.public_key_curve

The curve used by the elliptic curve public key algorithm. This is algorithm specific.

Level: Extended Type: Keyword Example:

nistp521
Source
public_key_curve=(public_key_curve : String | Nil)

tls.server.x509.public_key_curve

The curve used by the elliptic curve public key algorithm. This is algorithm specific.

Level: Extended Type: Keyword Example:

nistp521
Source
public_key_exponent(new_value : UInt64)

A chainable setter for public_key_exponent

Source
public_key_exponent

tls.server.x509.public_key_exponent

Exponent used to derive the public key. This is algorithm specific.

Level: Extended Type: Long Example:

65537
Source
public_key_exponent=(public_key_exponent : UInt64 | Nil)

tls.server.x509.public_key_exponent

Exponent used to derive the public key. This is algorithm specific.

Level: Extended Type: Long Example:

65537
Source
public_key_size(new_value : UInt64)

A chainable setter for public_key_size

Source
public_key_size

tls.server.x509.public_key_size

The size of the public key space in bits.

Level: Extended Type: Long Example:

2048
Source
public_key_size=(public_key_size : UInt64 | Nil)

tls.server.x509.public_key_size

The size of the public key space in bits.

Level: Extended Type: Long Example:

2048
Source
serial_number(new_value : String)

A chainable setter for serial_number

Source
serial_number

tls.server.x509.serial_number

Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.

Level: Extended Type: Keyword Example:

55FBB9C7DEBF09809D12CCAA
Source
serial_number=(serial_number : String | Nil)

tls.server.x509.serial_number

Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.

Level: Extended Type: Keyword Example:

55FBB9C7DEBF09809D12CCAA
Source
signature_algorithm(new_value : String)

A chainable setter for signature_algorithm

Source
signature_algorithm

tls.server.x509.signature_algorithm

Identifier for certificate signature algorithm. Recommend using names found in Go Lang Crypto library (See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353).

Level: Extended Type: Keyword Example:

SHA256-RSA
Source
signature_algorithm=(signature_algorithm : String | Nil)

tls.server.x509.signature_algorithm

Identifier for certificate signature algorithm. Recommend using names found in Go Lang Crypto library (See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353).

Level: Extended Type: Keyword Example:

SHA256-RSA
Source
subject(value : Subject)

A chainable setter for subject

Source
subject
Source
subject

Initialize a new Subject, yield it to the block

Source
subject=(subject : Subject | Nil)
Source
version_number(new_value : String)

A chainable setter for version_number

Source
version_number

tls.server.x509.version_number

Version of x509 format.

Level: Extended Type: Keyword Example:

3
Source
version_number=(version_number : String | Nil)

tls.server.x509.version_number

Version of x509 format.

Level: Extended Type: Keyword Example:

3
Source

Nested types