confluent-kafka-dotnet
Show / Hide Table of Contents

Class Cryptor

Inheritance
object
Cryptor
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Encryption
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public class Cryptor

Constructors

Cryptor(DekFormat)

Declaration
public Cryptor(DekFormat dekFormat)
Parameters
Type Name Description
DekFormat dekFormat

Properties

DekFormat

Declaration
public DekFormat DekFormat { get; }
Property Value
Type Description
DekFormat

IsDeterministic

Declaration
public bool IsDeterministic { get; }
Property Value
Type Description
bool

Methods

Decrypt(byte[], byte[])

Declaration
public byte[] Decrypt(byte[] key, byte[] ciphertext)
Parameters
Type Name Description
byte[] key
byte[] ciphertext
Returns
Type Description
byte[]

DecryptWithAesSiv(byte[], byte[])

Declaration
public byte[] DecryptWithAesSiv(byte[] key, byte[] ciphertext)
Parameters
Type Name Description
byte[] key
byte[] ciphertext
Returns
Type Description
byte[]

Encrypt(byte[], byte[])

Declaration
public byte[] Encrypt(byte[] key, byte[] plaintext)
Parameters
Type Name Description
byte[] key
byte[] plaintext
Returns
Type Description
byte[]

GenerateKey()

Declaration
public byte[] GenerateKey()
Returns
Type Description
byte[]

KeySize()

Declaration
public int KeySize()
Returns
Type Description
int
In this article