Share via


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

Definition

Creates an instance of the DecryptParameters class for the A128CbcPad encryption algorithm with PKCS#7 padding.

public static Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters A128CbcPadParameters (byte[] ciphertext, byte[] iv);
static member A128CbcPadParameters : byte[] * byte[] -> Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters
Public Shared Function A128CbcPadParameters (ciphertext As Byte(), iv As Byte()) As DecryptParameters

Parameters

ciphertext
Byte[]

The ciphertext to decrypt.

iv
Byte[]

The initialization vector used during encryption.

Returns

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

Exceptions

ciphertext or iv is null.

Applies to