Class RegisteredDek
Inherited Members
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 |
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
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
SetKeyMaterial(byte[])
Declaration
public void SetKeyMaterial(byte[] keyMaterialBytes)
Parameters
Type | Name | Description |
---|---|---|
byte[] | keyMaterialBytes |