SymmetricSecurityKey SymmetricSecurityKey SymmetricSecurityKey SymmetricSecurityKey Class

Definition

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

public ref class SymmetricSecurityKey abstract : System::IdentityModel::Tokens::SecurityKey
public abstract class SymmetricSecurityKey : System.IdentityModel.Tokens.SecurityKey
type SymmetricSecurityKey = class
    inherit SecurityKey
Public MustInherit Class SymmetricSecurityKey
Inherits SecurityKey
Inheritance
SymmetricSecurityKeySymmetricSecurityKeySymmetricSecurityKeySymmetricSecurityKey
Derived

Remarks

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

Constructors

SymmetricSecurityKey() SymmetricSecurityKey() SymmetricSecurityKey() SymmetricSecurityKey()

Initializes a new instance of the SymmetricSecurityKey class.

Methods

DecryptKey(String, Byte[]) DecryptKey(String, Byte[]) DecryptKey(String, Byte[]) DecryptKey(String, Byte[])

When overridden in a derived class, decrypts the specified encrypted key.

(Inherited from SecurityKey)
EncryptKey(String, Byte[]) EncryptKey(String, Byte[]) EncryptKey(String, Byte[]) EncryptKey(String, Byte[])

When overridden in a derived class, encrypts the specified key.

(Inherited from SecurityKey)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateDerivedKey(String, Byte[], Byte[], Int32, Int32) GenerateDerivedKey(String, Byte[], Byte[], Int32, Int32) GenerateDerivedKey(String, Byte[], Byte[], Int32, Int32) GenerateDerivedKey(String, Byte[], Byte[], Int32, Int32)

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

GetDecryptionTransform(String, Byte[]) GetDecryptionTransform(String, Byte[]) GetDecryptionTransform(String, Byte[]) GetDecryptionTransform(String, Byte[])

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

GetEncryptionTransform(String, Byte[]) GetEncryptionTransform(String, Byte[]) GetEncryptionTransform(String, Byte[]) GetEncryptionTransform(String, Byte[])

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIVSize(String) GetIVSize(String) GetIVSize(String) GetIVSize(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.

GetKeyedHashAlgorithm(String) GetKeyedHashAlgorithm(String) GetKeyedHashAlgorithm(String) GetKeyedHashAlgorithm(String)

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

GetSymmetricAlgorithm(String) GetSymmetricAlgorithm(String) GetSymmetricAlgorithm(String) GetSymmetricAlgorithm(String)

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

GetSymmetricKey() GetSymmetricKey() GetSymmetricKey() GetSymmetricKey()

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsAsymmetricAlgorithm(String) IsAsymmetricAlgorithm(String) IsAsymmetricAlgorithm(String) IsAsymmetricAlgorithm(String)

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses asymmetric keys.

(Inherited from SecurityKey)
IsSupportedAlgorithm(String) IsSupportedAlgorithm(String) IsSupportedAlgorithm(String) IsSupportedAlgorithm(String)

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

(Inherited from SecurityKey)
IsSymmetricAlgorithm(String) IsSymmetricAlgorithm(String) IsSymmetricAlgorithm(String) IsSymmetricAlgorithm(String)

When overridden in a derived class, gets a value that indicates whether the specified algorithm uses symmetric keys.

(Inherited from SecurityKey)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Properties

KeySize KeySize KeySize KeySize

When overridden in a derived class, gets the size, in bits, of the key.

(Inherited from SecurityKey)

Applies to