Table of Contents

Class SystemLogReadProtector

Namespace: Casewhere.Runtime.DataProtection
Assembly: Casewhere.Runtime.dll

public class SystemLogReadProtector : ISystemLogReadProtector

Inheritance

objectSystemLogReadProtector

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

bool

TryProtect(string, out string)

public bool TryProtect(string message, out string protectedMessage)

Parameters

message string

protectedMessage string

Returns

bool

TryProtectWithKey(string, string, out string)

public bool TryProtectWithKey(string key, string message, out string protectedMessage)

Parameters

key string

message string

protectedMessage string

Returns

bool