Class FieldDecryptedEventArgs
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Provides data for the FieldDecrypted event.
public sealed class FieldDecryptedEventArgs : EventArgs
- Inheritance
-
FieldDecryptedEventArgs
- Inherited Members
Remarks
Initializes a new instance of the FieldDecryptedEventArgs class.
Constructors
FieldDecryptedEventArgs(string, ElasticSearchDataClassification, string, string, DateTimeOffset)
Provides data for the FieldDecrypted event.
public FieldDecryptedEventArgs(string fieldName, ElasticSearchDataClassification classification, string algorithm, string keyVersion, DateTimeOffset decryptedAt)
Parameters
fieldNamestringThe name of the field that was decrypted.
classificationElasticSearchDataClassificationThe data classification level of the field.
algorithmstringThe encryption algorithm that was used.
keyVersionstringThe version of the encryption key that was used.
decryptedAtDateTimeOffsetThe timestamp when the field was decrypted.
Remarks
Initializes a new instance of the FieldDecryptedEventArgs class.
Properties
Algorithm
Gets the encryption algorithm that was 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 decrypted field.
DecryptedAt
Gets the timestamp when the field was decrypted.
public DateTimeOffset DecryptedAt { get; }
Property Value
- DateTimeOffset
The UTC timestamp of the decryption operation.
FieldName
Gets the name of the field that was decrypted.
public string FieldName { get; }
Property Value
- string
The field name that underwent decryption.
KeyVersion
Gets the version of the encryption key that was used.
public string KeyVersion { get; }
Property Value
- string
The key version identifier.