你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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 |