Class SystemLogReadProtector
Namespace: Casewhere.Runtime.DataProtection
Assembly: Casewhere.Runtime.dll
public class SystemLogReadProtector : ISystemLogReadProtector
Inheritance
object ← SystemLogReadProtector
Implements
ISystemLogReadProtector
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<SystemLogReadProtector>(SystemLogReadProtector)
Constructors
SystemLogReadProtector(ISystemLogRuleRepository, ICachingService)
public SystemLogReadProtector(ISystemLogRuleRepository systemRuleRepository, ICachingService cachingService)
Parameters
systemRuleRepository ISystemLogRuleRepository
cachingService ICachingService
Fields
_cachingService
protected readonly ICachingService _cachingService
Field Value
ICachingService
Methods
LoadRules()
public bool LoadRules()
Returns
TryProtect(string, out string)
public bool TryProtect(string message, out string protectedMessage)
Parameters
message string
protectedMessage string
Returns
TryProtectWithKey(string, string, out string)
public bool TryProtectWithKey(string key, string message, out string protectedMessage)
Parameters
key string
message string
protectedMessage string