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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de