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
TypeDescription
byte[]

KekName

The KEK name for the DEK.

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

KeyMaterial

The key material.

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

KeyMaterialBytes

The key material bytes.

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

Timestamp

The timestamp of the DEK.

Declaration
[DataMember(Name = "ts")]
public long Timestamp { get; set; }
Property Value
TypeDescription
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
TypeNameDescription
RegisteredDekother

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
Dek.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
Dek.GetHashCode()

SetKeyMaterial(byte[])

Declaration
public void SetKeyMaterial(byte[] keyMaterialBytes)
Parameters
TypeNameDescription
byte[]keyMaterialBytes

Implements

IEquatable<T>
IEquatable<T>
In this article