Sdílet prostřednictvím


CryptographyModelFactory.UnwrapResult Method

Definition

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

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

Parameters

keyId
String

Sets the KeyId property.

key
Byte[]

Sets the Key property.

algorithm
KeyWrapAlgorithm

Sets the Algorithm property.

Returns

A new instance of the UnwrapResult class for mocking purposes.

Applies to