SymmetricKeyWrapProvider Class

Definition

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
SymmetricKeyWrapProvider

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