confluent-kafka-dotnet
Show / Hide Table of Contents

Class Dek

Inheritance
object
Dek
RegisteredDek
Implements
IEquatable<Dek>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Encryption
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
[DataContract]
public class Dek : IEquatable<Dek>

Properties

Algorithm

The DEK algorithm.

Declaration
[DataMember(Name = "algorithm")]
public DekFormat Algorithm { get; set; }
Property Value
TypeDescription
DekFormat

Deleted

Whether the DEK is deleted.

Declaration
[DataMember(Name = "deleted")]
public bool Deleted { get; set; }
Property Value
TypeDescription
bool

EncryptedKeyMaterial

The encrypted key material.

Declaration
[DataMember(Name = "encryptedKeyMaterial")]
public string EncryptedKeyMaterial { get; init; }
Property Value
TypeDescription
string

Subject

The subject the DEK is registered under.

Declaration
[DataMember(Name = "subject")]
public string Subject { get; set; }
Property Value
TypeDescription
string

Version

The DEK version.

Declaration
[DataMember(Name = "version")]
public int? Version { get; set; }
Property Value
TypeDescription
int?

Methods

Equals(Dek)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(Dek other)
Parameters
TypeNameDescription
Dekother

An object to compare with this object.

Returns
TypeDescription
bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
objectobj

The object to compare with the current object.

Returns
TypeDescription
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
TypeDescription
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IEquatable<T>
In this article