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

DecryptParameters.A256GcmParameters(Byte[], Byte[], Byte[], Byte[]) Method

Definition

Creates an instance of the DecryptParameters class for the A256Gcm encryption algorithm.

public static Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters A256GcmParameters(byte[] ciphertext, byte[] iv, byte[] authenticationTag, byte[] additionalAuthenticatedData = default);
static member A256GcmParameters : byte[] * byte[] * byte[] * byte[] -> Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters
Public Shared Function A256GcmParameters (ciphertext As Byte(), iv As Byte(), authenticationTag As Byte(), Optional additionalAuthenticatedData As Byte() = Nothing) As DecryptParameters

Parameters

ciphertext
Byte[]

The ciphertext to decrypt.

iv
Byte[]

The initialization vector (or nonce) generated during encryption.

authenticationTag
Byte[]

The authentication tag generated during encryption.

additionalAuthenticatedData
Byte[]

Optional data that is authenticated but not encrypted.

Returns

An instance of the DecryptParameters class for the A256Gcm encryption algorithm.

Exceptions

ciphertext, iv, or authenticationTag is null.

Applies to