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