Click or drag to resize
weroSoft AG, Software
Encryption Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Provides concrete functionality for encryption.
Inheritance Hierarchy

Namespace:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 2.5
Syntax
C#
public sealed class Encryption : CryptoServiceBase

The Encryption type exposes the following members.

Constructors
  NameDescription
Public methodEncryption(CryptoProviderType, CryptoKeyMode)
Initializes a new instance of the type Encryption.
Public methodEncryption(CryptoProviderType, Stream, CryptoKeyMode)
Initializes a new instance of the type Encryption.
Top
Properties
  NameDescription
Public propertyCryptoProviderType
Gets the cryptographic service provider actually used.
(Inherited from CryptoServiceBase.)
Public propertyIsSymmetric
Gets a value indicating whether the cryptography is working symmetrically or asymmetrically.
(Inherited from CryptoServiceBase.)
Public propertyKeyMode
Gets the key mode actually used.
(Inherited from CryptoServiceBase.)
Public propertyUsedKeySize
Gets the key size in Bit actually used.
(Inherited from CryptoServiceBase.)
Top
Methods
  NameDescription
Public methodDispose
Disposes the object.
(Inherited from CryptoServiceBase.)
Public methodEncrypt(String)
Encrypt a string.
Public methodEncrypt(String, ListCertificate)
Encrypt a string.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCryptoStream
Gets the configured cryptographic stream.
(Inherited from CryptoServiceBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize(String)
Initializes the decryption.
(Overrides CryptoServiceBaseInitialize(String).)
Public methodInitialize(String, CryptoKeyStore) (Overrides CryptoServiceBaseInitialize(String, CryptoKeyStore).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodClone(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodCloneT(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodConvert (Defined by DataConverterExtensions.)
Public Extension MethodDynamicCast
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.)
Public Extension MethodExtractSystemParametersFromTrigger
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.)
Public Extension MethodGetFieldValue(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetFieldValueT(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValueT(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodInject(Type, Object)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInject(Type, Object, Boolean)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInjectField
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Type, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInvoke(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodInvokeTResult(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodSetFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetPropertyValue
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodTryInjectProperty
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.)
Top
See Also