This documentation is archived and is not being maintained.
InMemorySymmetricSecurityKey Class
Visual Studio 2010
Represents keys that are generated using symmetric algorithms and are only stored in the local computer's random access memory.
System::Object
System.IdentityModel.Tokens::SecurityKey
System.IdentityModel.Tokens::SymmetricSecurityKey
System.IdentityModel.Tokens::InMemorySymmetricSecurityKey
System.IdentityModel.Tokens::SecurityKey
System.IdentityModel.Tokens::SymmetricSecurityKey
System.IdentityModel.Tokens::InMemorySymmetricSecurityKey
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The InMemorySymmetricSecurityKey type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | InMemorySymmetricSecurityKey(array<Byte>) | Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key. |
![]() | InMemorySymmetricSecurityKey(array<Byte>, Boolean) | Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key and a value that indicates whether the binary data must be cloned. |
| Name | Description | |
|---|---|---|
![]() | DecryptKey | Decrypts the specified encrypted key. (Overrides SecurityKey::DecryptKey(String, array<Byte>).) |
![]() | EncryptKey | Encrypts the specified key. (Overrides SecurityKey::EncryptKey(String, array<Byte>).) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateDerivedKey | Generates a derived key using the specified cryptographic algorithm and parameters for the current key. (Overrides SymmetricSecurityKey::GenerateDerivedKey(String, array<Byte>, array<Byte>, Int32, Int32).) |
![]() | GetDecryptionTransform | Gets a transform that decrypts cipher text using the specified cryptographic algorithm. (Overrides SymmetricSecurityKey::GetDecryptionTransform(String, array<Byte>).) |
![]() | GetEncryptionTransform | Gets a transform that encrypts XML using the specified cryptographic algorithm. (Overrides SymmetricSecurityKey::GetEncryptionTransform(String, array<Byte>).) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetIVSize | Gets the size, in bits, of the initialization vector (IV) that is required for the specified cryptographic algorithm. (Overrides SymmetricSecurityKey::GetIVSize(String).) |
![]() | GetKeyedHashAlgorithm | Gets an instance of the specified keyed hash algorithm. (Overrides SymmetricSecurityKey::GetKeyedHashAlgorithm(String).) |
![]() | GetSymmetricAlgorithm | Gets an instance of the specified symmetric algorithm. (Overrides SymmetricSecurityKey::GetSymmetricAlgorithm(String).) |
![]() | GetSymmetricKey | Gets the bytes that represent the symmetric key. (Overrides SymmetricSecurityKey::GetSymmetricKey().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsAsymmetricAlgorithm | Gets a value that indicates whether the specified algorithm uses asymmetric keys. (Overrides SecurityKey::IsAsymmetricAlgorithm(String).) |
![]() | IsSupportedAlgorithm | Gets a value that indicates whether the specified algorithm is supported by this class. (Overrides SecurityKey::IsSupportedAlgorithm(String).) |
![]() | IsSymmetricAlgorithm | Gets a value that indicates whether the specified algorithm uses symmetric keys. (Overrides SecurityKey::IsSymmetricAlgorithm(String).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
