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

Definition

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

public static Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters A128GcmParameters (byte[] ciphertext, byte[] iv, byte[] authenticationTag, byte[] additionalAuthenticatedData = default);
static member A128GcmParameters : byte[] * byte[] * byte[] * byte[] -> Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters
Public Shared Function A128GcmParameters (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 A128Gcm encryption algorithm.

Exceptions

ciphertext, iv, or authenticationTag is null.

Applies to