Class GcpKmsClient
Assembly: Confluent.SchemaRegistry.Encryption.Gcp.dll
Syntax
public class GcpKmsClient : IKmsClient
Constructors
GcpKmsClient(string, GoogleCredential)
Declaration
public GcpKmsClient(string kekId, GoogleCredential credential)
Parameters
Properties
KekId
Declaration
public string KekId { get; }
Property Value
Methods
Decrypt(byte[])
Declaration
public Task<byte[]> Decrypt(byte[] ciphertext)
Parameters
Type |
Name |
Description |
byte[] |
ciphertext |
|
Returns
DoesSupport(string)
Declaration
public bool DoesSupport(string uri)
Parameters
Type |
Name |
Description |
string |
uri |
|
Returns
Encrypt(byte[])
Declaration
public Task<byte[]> Encrypt(byte[] plaintext)
Parameters
Type |
Name |
Description |
byte[] |
plaintext |
|
Returns
Implements