Click or drag to resize
weroSoft AG, Software
EncryptedDataStore Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Represents the secured information store.
Inheritance Hierarchy
SystemObject
  WeroSoft.SecurityEncryptedDataStore

Namespace:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public sealed class EncryptedDataStore : IDisposable
Remarks
This class allows controlling a set of data objects internally in a secure environment during runtime. The data is hold internally in encrypted way.

The EncryptedDataStore type exposes the following members.

Constructors
  NameDescription
Public methodEncryptedDataStore
Initializes a new instance of the type EncryptedDataStore.
Top
Properties
  NameDescription
Public propertyBinder
Gets or sets the binder to be used on materializing the data during decryption.
Public propertyModified
Gets a value indicating whether the store was modified or not.
Top
Methods
  NameDescription
Public methodClear
Clears content within the store.
Public methodCreateNode
Creates a data objects and saves it in the data store.
Public methodDispose
Implements disposing the object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCount
Gets the total count of nodes within the store dependent of the provider which is responsible for the data.
Public methodGetDataProvider(String, String)
Gets an initialized instance of the default data provider.
Public methodGetDataProvider(Type, String, String)
Gets an initialized instance of the data provider given by the type in the first parameter.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNodes
Gets a collection of nodes which are subsidiary of a particular node.
Public methodGetProperty(IEncryptedDataProvider, Guid, Guid, Object)
Gets the content of a defined property.
Public methodGetPropertyT(IEncryptedDataProvider, Guid, Guid, T)
Gets the content of a defined property.
Public methodGetTotalCount
Gets the total count of nodes within the store independent of the provider which is responsible for the data.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes the secure store.
Public methodMove
Moves a node to a new parent.
Public methodMoveContent
Moves a node to a new parent.
Public methodOpen
Opens and decrypt the data from a file.
Public methodRemove
Removes a defined node from the store.
Public methodSave
Encrypts and saves the data to a file.
Public methodSetProperty
Sets the particular property.
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 MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String)Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.)
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