SymmetricSecurityKey Class

 

Represents the abstract base class for all keys that are generated using symmetric algorithms.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)


public ref class SymmetricSecurityKey abstract : SecurityKey

NameDescription
System_CAPS_protmethodSymmetricSecurityKey()

Initializes a new instance of the SymmetricSecurityKey class.

NameDescription
System_CAPS_pubpropertyKeySize

When overridden in a derived class, gets the size, in bits, of the key.(Inherited from SecurityKey.)

NameDescription
System_CAPS_pubmethodDecryptKey(String^, array<Byte>^)

When overridden in a derived class, decrypts the specified encrypted key.(Inherited from SecurityKey.)

System_CAPS_pubmethodEncryptKey(String^, array<Byte>^)

When overridden in a derived class, encrypts the specified key.(Inherited from SecurityKey.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGenerateDerivedKey(String^, array<Byte>^, array<Byte>^, Int32, Int32)

When overridden in a derived class, generates a derived key using the specified cryptographic algorithm and parameters for the current key.

System_CAPS_pubmethodGetDecryptionTransform(String^, array<Byte>^)

When overridden in a derived class, gets a transform that decrypts cipher text using the specified cryptographic algorithm.

System_CAPS_pubmethodGetEncryptionTransform(String^, array<Byte>^)

When overridden in a derived class, gets a transform that encrypts XML using the specified cryptographic algorithm.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetIVSize(String^)

When overridden in a derived class, gets the size, in bits, of the initialization vector (IV) that is required for the specified cryptographic algorithm.

System_CAPS_pubmethodGetKeyedHashAlgorithm(String^)

When overridden in a derived class, gets an instance of the specified keyed hash algorithm.

System_CAPS_pubmethodGetSymmetricAlgorithm(String^)

When overridden in a derived class, gets an instance of the specified symmetric algorithm.

System_CAPS_pubmethodGetSymmetricKey()

When overridden in a derived class, gets the bytes that represent the symmetric key.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsAsymmetricAlgorithm(String^)

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses asymmetric keys. (Inherited from SecurityKey.)

System_CAPS_pubmethodIsSupportedAlgorithm(String^)

When overridden in a derived class, gets a value that indicates whether the specified algorithm is supported by this class. (Inherited from SecurityKey.)

System_CAPS_pubmethodIsSymmetricAlgorithm(String^)

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses symmetric keys.(Inherited from SecurityKey.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Typically, this class is used by the infrastructure to transform XML using a symmetric key.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: