SymmetricKeyWrapProvider Class
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.
Provides Wrap and Unwrap key services.
public class SymmetricKeyWrapProvider : Microsoft.IdentityModel.Tokens.KeyWrapProvider
type SymmetricKeyWrapProvider = class
inherit KeyWrapProvider
Public Class SymmetricKeyWrapProvider
Inherits KeyWrapProvider
- Inheritance
Constructors
SymmetricKeyWrapProvider(SecurityKey, String) |
Initializes a new instance of the KeyWrapProvider class used for wrapping and unwrapping keys. |
Properties
Algorithm |
Gets the KeyWrap algorithm that is being used. |
Context |
Gets or sets a user context for a KeyWrapProvider. |
Key |
Gets the SecurityKey that is being used. |
Methods
Dispose() |
Calls Dispose(Boolean) and SuppressFinalize(Object). (Inherited from KeyWrapProvider) |
Dispose(Boolean) |
Releases the resources used by the current instance. |
GetSymmetricAlgorithm(SecurityKey, String) |
Returns the SymmetricAlgorithm. |
IsSupportedAlgorithm(SecurityKey, String) |
Determines whether the specified algorithm is supported. |
UnwrapKey(Byte[]) |
Unwraps a key using symmetric decryption. |
WrapKey(Byte[]) |
Wraps a key using symmetric encryption. |