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 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