Click or drag to resize
weroSoft AG, Software
SimpleCryptoProvider Klasse
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Implements the encryption and decryption for different standard types.
Vererbungshierarchie
SystemObject
  WeroSoft.SecuritySimpleCryptoProvider

Namensraum:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 2.1 Development Main
Syntax
C#
public sealed class SimpleCryptoProvider : IValueDecryption, 
	IValueEncryption
Anmerkungen
If you want decrypt a string which was encrypted with an instance of this provider, use this provider to decrypt. Otherwise do not decrypt a string which was encrypted by another cryptographic mechanism.

Der SimpleCryptoProvider Typ exponiert die folgenden Member.

Konstruktoren
  NameBeschreibung
Public MethodeSimpleCryptoProvider
Initialize a new instance of type ServerClientValueCrypto.
Zurück nach oben
Eigenschaften
  NameBeschreibung
Public EigenschaftGetDecryption
Gets the function to get a decryption instance.
Public EigenschaftGetEncryption
Gets the function to get a encryption instance.
Zurück nach oben
Methoden
  NameBeschreibung
Public MethodeStatic MemberCheckTypeIsSupported
Check if a type is supported or not. Throws a NotSupportedException if not supported.
Public MethodeDecrypt(String, ListCertificate)
Decrypt a value of type System.String.
Public MethodeDecryptT(String)
Decrypt a encrypted value.
Public MethodeDecryptBool
Decrypt a value of type System.Boolean.
Public MethodeDecryptByte
Decrypt a value of type System.Byte.
Public MethodeDecryptChar
Decrypt a value of type System.Char.
Public MethodeDecryptDateTime
Decrypt a value of type System.DateTime.
Public MethodeDecryptDecimal
Decrypt a value of type System.Decimal.
Public MethodeDecryptDouble
Decrypt a value of type System.Double.
Public MethodeDecryptEnumT
Decrypt a value of an enumeration type.
Public MethodeDecryptGuid
Decrypt a value of type System.Guid.
Public MethodeDecryptInt16
Decrypt a value of type System.Int16.
Public MethodeDecryptInt32
Decrypt a value of type System.Int32.
Public MethodeDecryptInt64
Decrypt a value of type System.Int64.
Public MethodeDecryptSingle
Decrypt a value of type System.Single.
Public MethodeDecryptString
Decrypt a value of type System.String.
Public MethodeDecryptTimeSpan
Decrypt a value of type System.TimeSpan.
Public MethodeDecryptUInt16
Decrypt a value of type System.UInt16.
Public MethodeDecryptUInt32
Decrypt a value of type System.UInt32.
Public MethodeDecryptUInt64
Decrypt a value of type System.UInt64.
Public MethodeEncrypt(Boolean)
Encrypt a value of type System.Boolean.
Public MethodeEncrypt(Byte)
Encrypt a value of type System.Byte.
Public MethodeEncrypt(Char)
Encrypt a value of type System.Char.
Public MethodeEncrypt(DateTime)
Encrypt a value of type System.DateTime.
Public MethodeEncrypt(Decimal)
Encrypt a value of type System.Decimal.
Public MethodeEncrypt(Double)
Encrypt a value of type System.Double.
Public MethodeEncrypt(Enum)
Encrypt a value of an enumeration type.
Public MethodeEncrypt(Guid)
Encrypt a value of type System.Guid.
Public MethodeEncrypt(Int16)
Encrypt a value of type System.Int16.
Public MethodeEncrypt(Int32)
Encrypt a value of type System.Int32.
Public MethodeEncrypt(Int64)
Encrypt a value of type System.Int64.
Public MethodeEncrypt(Single)
Encrypt a value of type System.Single.
Public MethodeEncrypt(String)
Encrypt a value of type System.String.
Public MethodeEncrypt(TimeSpan)
Encrypt a value of type System.TimeSpan.
Public MethodeEncrypt(UInt16)
Encrypt a value of type System.UInt16.
Public MethodeEncrypt(UInt32)
Encrypt a value of type System.UInt32.
Public MethodeEncrypt(UInt64)
Encrypt a value of type System.UInt64.
Public MethodeEncrypt(String, ListCertificate)
Encrypt a value of type System.String.
Public MethodeEncryptT(T)
Encrypt a value generic.
Public MethodeEquals
Determines whether the specified object is equal to the current object.
(Vererbt von Object.)
Public MethodeGetHashCode
Serves as the default hash function.
(Vererbt von Object.)
Public MethodeStatic MemberGetSupportedTypeFullNames
Get supported type full names.
Public MethodeStatic MemberGetSupportedTypeNames
Get supported type names.
Public MethodeStatic MemberGetSupportedTypes
Get supported types.
Public MethodeGetType
Gets the Type of the current instance.
(Vererbt von Object.)
Public MethodeToString
Returns a string that represents the current object.
(Vererbt von Object.)
Public MethodeStatic MemberTryCheckTypeIsSupported
Check if a type is supported or not.
Zurück nach oben
Erweiterungsmethoden
  NameBeschreibung
Public ErweiterungsmethodeClone(CloneWorkingMode, IEnumerableType)Überladen.
Clones an object by serialization.
(Definiert von RuntimeExtensions.)
Public ErweiterungsmethodeCloneT(CloneWorkingMode, IEnumerableType)Überladen.
Clones an object by serialization.
(Definiert von RuntimeExtensions.)
Public ErweiterungsmethodeConvert (Definiert von DataConverterExtensions.)
Public ErweiterungsmethodeDynamicCast
Dynamically casts a reference to another type.
(Definiert von TypeManagerHelper.)
Public ErweiterungsmethodeExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Definiert von TriggerExtensions.)
Public ErweiterungsmethodeGetFieldValue(String)Überladen.
Gets the data object held by a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetFieldValueT(String)Überladen.
Gets the data object held by a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetPropertyValue(String)Überladen.
Gets the data object held by a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetPropertyValueT(String)Überladen.
Gets the data object held by a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeInject(Type, Object)Überladen.
Injects all fields or properties which are marked with the defined attribute type name.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInject(Type, Object, Boolean)Überladen.
Injects all fields or properties which are marked with the defined attribute type name.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectField
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectProperty(String, Object)Überladen.
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectProperty(String, Type, Object)Überladen.
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInvoke(String, Object)Überladen.
Invokes a method on an object by reflection.
(Definiert von UnitTest.)
Public ErweiterungsmethodeInvokeTResult(String, Object)Überladen.
Invokes a method on an object by reflection.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetFieldValue
Sets the data object on a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetPropertyValue
Sets the data object on a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeTryInjectProperty
Tries to Inject a value to a property within a data object.
(Definiert von DataInjection.)
Zurück nach oben
Siehe auch