confluent-kafka-dotnet
Show / Hide Table of Contents

Class RegisteredDek

Inheritance
object
Dek
RegisteredDek
Implements
IEquatable<Dek>
IEquatable<RegisteredDek>
Inherited Members
Dek.Subject
Dek.Version
Dek.Algorithm
Dek.EncryptedKeyMaterial
Dek.Deleted
Dek.Equals(Dek)
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 RegisteredDek : Dek, IEquatable<Dek>, IEquatable<RegisteredDek>

Properties

EncryptedKeyMaterialBytes

The encrypted key material bytes.

Declaration
public byte[] EncryptedKeyMaterialBytes { get; }
Property Value
Type Description
byte[]

KekName

The KEK name for the DEK.

Declaration
[DataMember(Name = "kekName")]
public string KekName { get; set; }
Property Value
Type Description
string

KeyMaterial

The key material.

Declaration
[DataMember(Name = "keyMaterial")]
public string KeyMaterial { get; init; }
Property Value
Type Description
string

KeyMaterialBytes

The key material bytes.

Declaration
public byte[] KeyMaterialBytes { get; }
Property Value
Type Description
byte[]

Timestamp

The timestamp of the DEK.

Declaration
[DataMember(Name = "ts")]
public long Timestamp { get; set; }
Property Value
Type Description
long

Methods

Equals(RegisteredDek)

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

Declaration
public bool Equals(RegisteredDek other)
Parameters
Type Name Description
RegisteredDek other

An object to compare with this object.

Returns
Type Description
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
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

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

Overrides
Dek.Equals(object)

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
Dek.GetHashCode()

SetKeyMaterial(byte[])

Declaration
public void SetKeyMaterial(byte[] keyMaterialBytes)
Parameters
Type Name Description
byte[] keyMaterialBytes

Implements

IEquatable<T>
IEquatable<T>
In this article