CryptographyModelFactory.DecryptParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DecryptParameters class for mocking purposes.
public static Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters DecryptParameters (Azure.Security.KeyVault.Keys.Cryptography.EncryptionAlgorithm algorithm, byte[] ciphertext, byte[] iv = default, byte[] authenticationTag = default, byte[] additionalAuthenticatedData = default);
static member DecryptParameters : Azure.Security.KeyVault.Keys.Cryptography.EncryptionAlgorithm * byte[] * byte[] * byte[] * byte[] -> Azure.Security.KeyVault.Keys.Cryptography.DecryptParameters
Public Shared Function DecryptParameters (algorithm As EncryptionAlgorithm, ciphertext As Byte(), Optional iv As Byte() = Nothing, Optional authenticationTag As Byte() = Nothing, Optional additionalAuthenticatedData As Byte() = Nothing) As DecryptParameters
Parameters
- algorithm
- EncryptionAlgorithm
Sets the Algorithm property.
- ciphertext
- Byte[]
Sets the Ciphertext property.
- authenticationTag
- Byte[]
Sets the AuthenticationTag property.
- additionalAuthenticatedData
- Byte[]
Sets the AdditionalAuthenticatedData property.
Returns
A new instance of the DecryptParameters class for mocking purposes.
Exceptions
ciphertext
is null.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET