Class Dek
Implements
Inherited Members
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
Type | Description |
---|---|
DekFormat |
Deleted
Whether the DEK is deleted.
Declaration
[DataMember(Name = "deleted")]
public bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool |
EncryptedKeyMaterial
The encrypted key material.
Declaration
[DataMember(Name = "encryptedKeyMaterial")]
public string EncryptedKeyMaterial { get; init; }
Property Value
Type | Description |
---|---|
string |
Subject
The subject the DEK is registered under.
Declaration
[DataMember(Name = "subject")]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
The DEK version.
Declaration
[DataMember(Name = "version")]
public int? Version { get; set; }
Property Value
Type | Description |
---|---|
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
Type | Name | Description |
---|---|---|
Dek | 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. |