Share via


SecurityKeyElement Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Provides delayed resolution of security keys by resolving the SecurityKeyIdentifierClause or SecurityKeyIdentifier only when cryptographic functions are needed. This allows a key clause or identifier that is never used by an application to be serialized and deserialzied on and off the wire without issue.

The following tables list the members exposed by the SecurityKeyElement type.

Public Constructors

  Name Description
  SecurityKeyElement Overloaded. Initializes a new instance of the SecurityKeyElement class.

Top

Public Properties

  Name Description
public property KeySize Overridden. Gets the key size in bits.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method DecryptKey Overridden. Decrypts a key using the specified algorithm.
public method EncryptKey Overridden. Encrypts a key using the specified algorithm.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method IsAsymmetricAlgorithm Overridden. Answers question: is the algorithm Asymmetric.
public method IsSupportedAlgorithm Overridden. Answers question: is the algorithm is supported by this key.
public method IsSymmetricAlgorithm Overridden. Answers question: is the algorithm Symmetric.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

SecurityKeyElement Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.