struct

ECS::LogEntry::File::CodeSignature

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

exists(new_value : Bool)

A chainable setter for exists

Source
exists

file.code_signature.exists

Boolean to capture if a signature is present.

Level: Core Type: Boolean Example:

true
Source
exists=(exists : Bool | Nil)

file.code_signature.exists

Boolean to capture if a signature is present.

Level: Core Type: Boolean Example:

true
Source
status(new_value : String)

A chainable setter for status

Source
status

file.code_signature.status

Additional information about the certificate status.

This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.

Level: Extended Type: Keyword Example:

ERROR_UNTRUSTED_ROOT
Source
status=(status : String | Nil)

file.code_signature.status

Additional information about the certificate status.

This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.

Level: Extended Type: Keyword Example:

ERROR_UNTRUSTED_ROOT
Source
subject_name(new_value : String)

A chainable setter for subject_name

Source
subject_name

file.code_signature.subject_name

Subject name of the code signer

Level: Core Type: Keyword Example:

Microsoft Corporation
Source
subject_name=(subject_name : String | Nil)

file.code_signature.subject_name

Subject name of the code signer

Level: Core Type: Keyword Example:

Microsoft Corporation
Source
trusted(new_value : Bool)

A chainable setter for trusted

Source
trusted

file.code_signature.trusted

Stores the trust status of the certificate chain.

Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.

Level: Extended Type: Boolean Example:

true
Source
trusted=(trusted : Bool | Nil)

file.code_signature.trusted

Stores the trust status of the certificate chain.

Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.

Level: Extended Type: Boolean Example:

true
Source
valid(new_value : Bool)

A chainable setter for valid

Source
valid

file.code_signature.valid

Boolean to capture if the digital signature is verified against the binary content.

Leave unpopulated if a certificate was unchecked.

Level: Extended Type: Boolean Example:

true
Source
valid=(valid : Bool | Nil)

file.code_signature.valid

Boolean to capture if the digital signature is verified against the binary content.

Leave unpopulated if a certificate was unchecked.

Level: Extended Type: Boolean Example:

true
Source