EncryptResult Class
The result of an encrypt operation.
Constructor
EncryptResult(key_id: str | None, algorithm: EncryptionAlgorithm, ciphertext: bytes, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
key_id
Required
|
The encryption key's Key Vault identifier |
|
algorithm
Required
|
The encryption algorithm used |
|
ciphertext
Required
|
The encrypted bytes |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
iv
|
Initialization vector for symmetric algorithms |
|
authentication_tag
|
The tag to authenticate when performing decryption with an authenticated algorithm |
|
additional_authenticated_data
|
Additional data to authenticate but not encrypt/decrypt when using an authenticated algorithm |