CryptographyModelFactory.SecureWrapResult Method

Definition

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

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

Parameters

keyId
String

Sets the KeyId property.

encryptedKey
Byte[]

Sets the EncryptedKey property.

algorithm
SecureKeyWrapAlgorithm

Sets the Algorithm property.

Returns

A new instance of the SecureWrapResult class for mocking purposes.

Applies to