Share via


RsaKeyWrapProvider Class

Definition

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
RsaKeyWrapProvider

Constructors

RsaKeyWrapProvider(SecurityKey, String, Boolean)

Initializes a new instance of the RsaKeyWrapProvider class used for wrapping and unwrapping keys. These keys are usually symmetric session keys that are wrapped using the recipient's 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)

Releases the resources used by the current instance.

IsSupportedAlgorithm(SecurityKey, String)

Checks if the specified algorithm is supported.

UnwrapKey(Byte[])

Unwraps a key using RSA decryption.

WrapKey(Byte[])

Wraps a key using RSA encryption.

Applies to