class documentation

class SymmetricCryptoServiceServicer(object): (source)

View In Hierarchy

--- Data plane for KMS symmetric cryptography operations

Set of methods that perform symmetric encryption and decryption.

Method Decrypt Decrypts the given ciphertext with the specified key.
Method Encrypt Encrypts given plaintext with the specified key.
Method GenerateDataKey Generates a new symmetric data encryption key (not a KMS key) and returns the generated key as plaintext and as ciphertext encrypted with the specified symmetric KMS key.
def Decrypt(self, request, context): (source)

Decrypts the given ciphertext with the specified key.

def Encrypt(self, request, context): (source)

Encrypts given plaintext with the specified key.

def GenerateDataKey(self, request, context): (source)

Generates a new symmetric data encryption key (not a KMS key) and returns the generated key as plaintext and as ciphertext encrypted with the specified symmetric KMS key.