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 key 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 wrap key and unwrap key. |
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) |
Disposes of internal components. |
GetSymmetricAlgorithm(SecurityKey, String) |
Returns the SymmetricAlgorithm. |
IsSupportedAlgorithm(SecurityKey, String) |
Answers if an algorithm is supported |
UnwrapKey(Byte[]) |
Unwrap a key using Symmetric decryption. |
WrapKey(Byte[]) |
Wrap a key using Symmetric encryption. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for