CryptoServiceBase Class |
Namespace: WeroSoft.Security
public abstract class CryptoServiceBase : IDisposable
The CryptoServiceBase type exposes the following members.
Name | Description | |
---|---|---|
CryptoServiceBase |
Initializes a new instance of the type CryptoServiceBase.
|
Name | Description | |
---|---|---|
AsymmetricCryptoProvider |
Gets the asymmetric cryptographic provider actually used.
| |
CryptoProviderType |
Gets the cryptographic service provider actually used.
| |
Disposed |
Gets a value indicates whether the class has already been disposed or not.
| |
IsSymmetric |
Gets a value indicating whether the cryptography is working symmetrically or asymmetrically.
| |
KeyMode |
Gets the key mode actually used.
| |
SymmetricCryptoProvider |
Gets the symmetric cryptographic provider actually used.
| |
Transformer |
Gets the transformer actually used.
| |
UsedKeySize |
Gets the key size in Bit actually used.
| |
WorkingCryptoStream |
Gets the cryptographic stream actually used.
| |
WorkingIOStream |
Gets the working output stream actually used.
| |
WorkingStream |
Gets the working stream actually used.
|
Name | Description | |
---|---|---|
CreateKey(CryptoProviderType, CryptoKeyMode, String) |
Creates a key which is used for asymmetric working cryptographic algorithm.
| |
CreateKey(CryptoProviderType, CryptoKeyMode, CryptoKeyStore, String) |
Creates a key which is used for asymmetric working cryptographic algorithm.
| |
CreateKey(String, Byte, Int32, Byte, Int32) |
Creates a key which is used for symmetric algorithm.
| |
DeleteKey(String, CryptoProviderType) |
Deletes an asymmetric key from the key container.
| |
DeleteKey(String, CryptoKeyStore, CryptoProviderType) |
Deletes an asymmetric key from the key container.
| |
Dispose |
Disposes the object.
| |
Dispose(Boolean) |
Disposes the object in the hierarchy of classes.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExportKey(String, String, Boolean) |
Exports an RSA key as encrypted string.
| |
ExportKey(String, CryptoKeyStore, String, Boolean) |
Exports an RSA key as encrypted string.
| |
ExportKey(String, String, String, Boolean, CryptoProviderType) |
Exports an asymmetric key to a file.
| |
ExportKey(String, CryptoKeyStore, String, String, Boolean, CryptoProviderType) |
Exports an asymmetric key to a file.
| |
ExportPublicKey(String, CryptoProviderType) |
Exports the public key part in a XML formatted string.
| |
ExportPublicKey(String, CryptoKeyStore, CryptoProviderType) |
Exports the public key part in a XML formatted string.
| |
Finalize |
Finalizes the object if it was not properly disposed before.
(Overrides ObjectFinalize.) | |
GenerateCode |
Creates a secure code for accessing the store.
| |
GetCryptoStream |
Gets the configured cryptographic stream.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKey(String, CryptoProviderType) |
Gets the key from key store.
| |
GetKey(String, CryptoKeyStore, CryptoProviderType) |
Gets the key from key store.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImportKey(String, String, String, CryptoProviderType) |
Imports an asymmetric key file to the cryptographic key container.
| |
ImportKey(String, String, CryptoKeyStore, String, CryptoProviderType) |
Imports an asymmetric key file to the cryptographic key container.
| |
ImportKeyFromString(String, String, String, CryptoProviderType) |
Imports a key from a encrypted string.
| |
ImportKeyFromString(String, String, CryptoKeyStore, String, CryptoProviderType) |
Imports a key from a encrypted string.
| |
Initialize(String) | ||
Initialize(String, CryptoKeyStore) | ||
InitializeCryptography | ||
InitializeInternal |
Initializes the base elements of the cryptographic object.
| |
IsKeyExisting(String) |
Gets a value indicating whether a key is existing or not.
| |
IsKeyExisting(String, CryptoKeyStore) |
Gets a value indicating whether a key is existing or not.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SecureHash |
Hashes plan text and create a base 64 representation of it.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
InitVector |
Gets or sets the initiation vector.
| |
Key |
Gets or sets the key.
|
Name | Description | |
---|---|---|
Clone(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
CloneT(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
Convert | (Defined by DataConverterExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String) | Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.) | |
DynamicCast |
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.) | |
ExtractSystemParametersFromTrigger |
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.) | |
GetFieldValue(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetFieldValueT(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetPropertyValue(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
GetPropertyValueT(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
Inject(Type, Object) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
Inject(Type, Object, Boolean) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
InjectField |
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Type, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
Invoke(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
InvokeTResult(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
SetFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
SetPropertyValue |
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.) | |
SetReadOnlyFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
TryInjectProperty |
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.) |