예제 #1
0
 public SecurityTokenProtector(ISecurityTokenKeyRing keyRing)
 {
     KeyRing = keyRing.NotNull(nameof(keyRing));
 }
예제 #2
0
 public PrivacyDataProtector(ISecurityTokenKeyRing keyRing, ISecurityTokenProtector protector)
 {
     _keyRing   = keyRing.NotNull(nameof(keyRing));
     _encryptor = protector.NotNull(nameof(keyRing));
 }