CryptographyModelFactory.WrapResult(String, Byte[], KeyWrapAlgorithm) 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 WrapResult class for mocking purposes.
public static Azure.Security.KeyVault.Keys.Cryptography.WrapResult WrapResult (string keyId = default, byte[] key = default, Azure.Security.KeyVault.Keys.Cryptography.KeyWrapAlgorithm algorithm = default);
static member WrapResult : string * byte[] * Azure.Security.KeyVault.Keys.Cryptography.KeyWrapAlgorithm -> Azure.Security.KeyVault.Keys.Cryptography.WrapResult
Public Shared Function WrapResult (Optional keyId As String = Nothing, Optional key As Byte() = Nothing, Optional algorithm As KeyWrapAlgorithm = Nothing) As WrapResult
Parameters
- key
- Byte[]
Sets the EncryptedKey property.
- algorithm
- KeyWrapAlgorithm
Sets the Algorithm property.
Returns
A new instance of the WrapResult class for mocking purposes.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET