EncryptResult Class

The result of an encrypt operation.

Inheritance
builtins.object
EncryptResult

Constructor

EncryptResult(key_id: Optional[str], algorithm: EncryptionAlgorithm, ciphertext: bytes, **kwargs: Any)

Parameters

key_id
str
Required

The encryption key's Key Vault identifier

algorithm
EncryptionAlgorithm
Required

The encryption algorithm used

ciphertext
bytes
Required

The encrypted bytes

iv
bytes

Initialization vector for symmetric algorithms

authentication_tag
bytes

The tag to authenticate when performing decryption with an authenticated algorithm

additional_authenticated_data
bytes

Additional data to authenticate but not encrypt/decrypt when using an authenticated algorithm