Bearbeiten

Freigeben über


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
SymmetricSecurityKey
Derived

Remarks

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

Constructors

SymmetricSecurityKey()

Initializes a new instance of the SymmetricSecurityKey class.

Properties

KeySize

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

(Inherited from SecurityKey)

Methods

DecryptKey(String, Byte[])

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

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

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

(Inherited from SecurityKey)
Equals(Object)

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

(Inherited from Object)
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[])

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

GetEncryptionTransform(String, Byte[])

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

GetHashCode()

Serves as the default hash function.

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

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

GetSymmetricAlgorithm(String)

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

GetSymmetricKey()

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

GetType()

Gets the Type of the current instance.

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

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)

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

(Inherited from SecurityKey)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to