SymmetricAlgorithm Members
Collapse the table of content
Expand the table of content

SymmetricAlgorithm Members

SymmetricAlgorithm overview

Public Constructors

public constructorSymmetricAlgorithm Constructor Initializes a new instance of SymmetricAlgorithm.

Public Properties

public propertyBlockSize Gets or sets the block size of the cryptographic operation in bits.
public propertyFeedbackSize Gets or sets the feedback size of the cryptographic operation in bits.
public propertyIV Gets or sets the initialization vector (IV) for the symmetric algorithm.
public propertyKey Gets or sets the secret key for the symmetric algorithm.
public propertyKeySize Gets or sets the size of the secret key used by the symmetric algorithm in bits.
public propertyLegalBlockSizes Gets the block sizes that are supported by the symmetric algorithm.
public propertyLegalKeySizes Gets the key sizes that are supported by the symmetric algorithm.
public propertyMode Gets or sets the mode for operation of the symmetric algorithm.
public propertyPadding Gets or sets the padding mode used in the symmetric algorithm.

Public Methods

public methodClear Releases all resources used by the SymmetricAlgorithm.
public methodstatic (Shared in Visual Basic)Create Overloaded. Creates an instance of a cryptographic object used to perform the symmetric algorithm.
public methodCreateDecryptor Overloaded. Creates a symmetric decryptor object.
public methodCreateEncryptor Overloaded. Creates a symmetric encryptor object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGenerateIV When overridden in a derived class, generates a random initialization vector (IV) to be used for the algorithm.
public methodGenerateKey When overridden in a derived class, generates a random Key to be used for the algorithm.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodValidKeySize Determines whether the specified key size is valid for the current algorithm.

Protected Fields

protected fieldBlockSizeValue Represents the block size of the cryptographic operation in bits.
protected fieldFeedbackSizeValue Represents the feedback size of the cryptographic operation in bits.
protected fieldIVValue Represents the initialization vector (IV) for the symmetric algorithm.
protected fieldKeySizeValue Represents the size of the secret key used by the symmetric algorithm in bits.
protected fieldKeyValue Represents the secret key for the symmetric algorithm.
protected fieldLegalBlockSizesValue Specifies the block sizes that are supported by the symmetric algorithm.
protected fieldLegalKeySizesValue Specifies the key sizes that are supported by the symmetric algorithm.
protected fieldModeValue Represents the cipher mode used in the symmetric algorithm.
protected fieldPaddingValue Represents the padding mode used in the symmetric algorithm.

Protected Methods

protected methodDispose Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the unmanaged resources used by the SymmetricAlgorithm.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SymmetricAlgorithm Class | System.Security.Cryptography Namespace

Show:
© 2016 Microsoft