Compartir a través de


SymmetricKeyWrapProvider Class

Definition

Provides Wrap 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 wrapping and unwrapping keys.

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.

GetSymmetricAlgorithm(SecurityKey, String)

Returns the SymmetricAlgorithm.

IsSupportedAlgorithm(SecurityKey, String)

Determines whether the specified algorithm is supported.

UnwrapKey(Byte[])

Unwraps a key using symmetric decryption.

WrapKey(Byte[])

Wraps a key using symmetric encryption.

Applies to