public AesProtectorKeyRing(ProtectorOptions options) { _locker = new object(); _keyRings = new Dictionary <string, XDocument>(); _dirInfo = new DirectoryInfo(options.KeyPath); ReadKeys(_dirInfo); }
public AesProtector(ProtectorOptions options) { _locker = new object(); _protectors = new Dictionary <string, SecurityUtil.AesProtector>(); _dirInfo = new DirectoryInfo(options.KeyPath); }