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

CryptographyModelFactory.DecryptResult Method

Definition

Initializes a new instance of the DecryptResult class for mocking purposes.

public static Azure.Security.KeyVault.Keys.Cryptography.DecryptResult DecryptResult(string keyId = default, byte[] plaintext = default, Azure.Security.KeyVault.Keys.Cryptography.EncryptionAlgorithm algorithm = default);
static member DecryptResult : string * byte[] * Azure.Security.KeyVault.Keys.Cryptography.EncryptionAlgorithm -> Azure.Security.KeyVault.Keys.Cryptography.DecryptResult
Public Shared Function DecryptResult (Optional keyId As String = Nothing, Optional plaintext As Byte() = Nothing, Optional algorithm As EncryptionAlgorithm = Nothing) As DecryptResult

Parameters

keyId
String

Sets the KeyId property.

plaintext
Byte[]

Sets the Plaintext property.

algorithm
EncryptionAlgorithm

Sets the Algorithm property.

Returns

A new instance of the DecryptResult class for mocking purposes.

Applies to