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
fieldNamestringThe name of the field that was encrypted.
classificationElasticSearchDataClassificationThe data classification level of the field.
algorithmstringThe encryption algorithm used.
keyVersionstringThe version of the encryption key used.
encryptedAtDateTimeOffsetThe 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.