KeyVaultKeyWrapProvider(SecurityKey, String) Constructor
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 KeyVaultKeyWrapProvider class.
public KeyVaultKeyWrapProvider (Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm);
new Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultKeyWrapProvider : Microsoft.IdentityModel.Tokens.SecurityKey * string -> Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultKeyWrapProvider
Public Sub New (key As SecurityKey, algorithm As String)
Parameters
- key
- SecurityKey
The SecurityKey that will be used for key wrap operations.
- algorithm
- String
The key wrap algorithm to apply.
Exceptions
if algorithm
is null or empty.
if key
is not a KeyVaultSecurityKey.