Table of Contents

Class FieldEncryptedEventArgs

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Provides data for the FieldEncrypted event.

public sealed class FieldEncryptedEventArgs : EventArgs
Inheritance
FieldEncryptedEventArgs
Inherited Members

Remarks

Initializes a new instance of the FieldEncryptedEventArgs class.

Constructors

FieldEncryptedEventArgs(string, ElasticSearchDataClassification, string, string, DateTimeOffset)

Provides data for the FieldEncrypted event.

public FieldEncryptedEventArgs(string fieldName, ElasticSearchDataClassification classification, string algorithm, string keyVersion, DateTimeOffset encryptedAt)

Parameters

fieldName string

The name of the field that was encrypted.

classification ElasticSearchDataClassification

The data classification level of the field.

algorithm string

The encryption algorithm used.

keyVersion string

The version of the encryption key used.

encryptedAt DateTimeOffset

The timestamp when the field was encrypted.

Remarks

Initializes a new instance of the FieldEncryptedEventArgs class.

Properties

Algorithm

Gets the encryption algorithm used.

public string Algorithm { get; }

Property Value

string

The name of the encryption algorithm.

Classification

Gets the data classification level of the field.

public ElasticSearchDataClassification Classification { get; }

Property Value

ElasticSearchDataClassification

The sensitivity classification of the encrypted field.

EncryptedAt

Gets the timestamp when the field was encrypted.

public DateTimeOffset EncryptedAt { get; }

Property Value

DateTimeOffset

The UTC timestamp of the encryption operation.

FieldName

Gets the name of the field that was encrypted.

public string FieldName { get; }

Property Value

string

The field name that underwent encryption.

KeyVersion

Gets the version of the encryption key used.

public string KeyVersion { get; }

Property Value

string

The key version identifier.