CryptographyBase Class |
Namespace: Hummingbird.TestFramework.Cryptography
The CryptographyBase type exposes the following members.
Name | Description | |
---|---|---|
CryptographyBase | Initializes a new instance of the CryptographyBase class |
Name | Description | |
---|---|---|
CanDecrypt |
Gets or sets a value indicating whether this instance can decrypt.
| |
HasIV |
Gets or sets a value indicating whether this instance has an Initial Vector.
| |
HasKey |
Gets or sets a value indicating whether this instance has key. Hash method does not have a key.
| |
HasOptions |
Gets or sets a value indicating whether this instance has options including CipherMode and PaddingMode | |
UseCertificate |
Gets or sets a value indicating whether this algorithm need a certificate to do Encryption or Decryption (RSA algorithm for example).
|
Name | Description | |
---|---|---|
Decrypt |
Decrypts the specified key.
| |
Encrypt |
Encrypts the specified data by providing encryption key and other data.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SymmetricDecrypt |
This is an internal encrypt method used to decrypt all Symmetric algorithms
| |
SymmetricEncrypt |
This is an internal encrypt method used to encrypt all Symmetric algorithms
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |