RsaKeyWrapProvider 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 RSA Wrap key and Unwrap key services.
public class RsaKeyWrapProvider : Microsoft.IdentityModel.Tokens.KeyWrapProvider
type RsaKeyWrapProvider = class
inherit KeyWrapProvider
Public Class RsaKeyWrapProvider
Inherits KeyWrapProvider
- Inheritance
Constructors
RsaKeyWrapProvider(SecurityKey, String, Boolean) |
Initializes a new instance of RsaKeyWrapProvider used for wrapping and un-wrappping keys. These keys are usually symmetric session keys that are wrapped using the recipients public 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. |
IsSupportedAlgorithm(SecurityKey, String) |
Checks if an algorithm is supported. |
UnwrapKey(Byte[]) |
Unwrap a key using RSA decryption. |
WrapKey(Byte[]) |
Wrap a key using RSA encryption. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für