共用方式為


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