CryptographyModelFactory.SecureWrapResult 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 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
- encryptedKey
- Byte[]
Sets the EncryptedKey property.
- algorithm
- SecureKeyWrapAlgorithm
Sets the Algorithm property.
Returns
A new instance of the SecureWrapResult class for mocking purposes.