Click or drag to resize

CryptographyBase Class

The base class of Cryptography algorithms
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.CryptographyCryptographyBase
    More...

Namespace:  Hummingbird.TestFramework.Cryptography
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public abstract class CryptographyBase

The CryptographyBase type exposes the following members.

Constructors
  NameDescription
Protected methodCryptographyBase
Initializes a new instance of the CryptographyBase class
Top
Properties
  NameDescription
Public propertyCanDecrypt
Gets or sets a value indicating whether this instance can decrypt.
Public propertyHasIV
Gets or sets a value indicating whether this instance has an Initial Vector.
Public propertyHasKey
Gets or sets a value indicating whether this instance has key. Hash method does not have a key.
Public propertyHasOptions
Gets or sets a value indicating whether this instance has options including CipherMode and PaddingMode
Public propertyUseCertificate
Gets or sets a value indicating whether this algorithm need a certificate to do Encryption or Decryption (RSA algorithm for example).
Top
Methods
  NameDescription
Public methodDecrypt
Decrypts the specified key.
Public methodEncrypt
Encrypts the specified data by providing encryption key and other data.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodStatic memberSymmetricDecrypt
This is an internal encrypt method used to decrypt all Symmetric algorithms
Protected methodStatic memberSymmetricEncrypt
This is an internal encrypt method used to encrypt all Symmetric algorithms
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also
Inheritance Hierarchy