Exemplo n.º 1
0
 public DecryptRegistration(EncryptionInspector inspector, IEncryptionService encryptionService)
     : base("InvokeDecryption", typeof(DecryptBehavior), "Invokes the decryption logic", b => new DecryptBehavior(inspector, encryptionService))
 {
     InsertBefore("MutateIncomingMessages");
 }
Exemplo n.º 2
0
 public DecryptBehavior(EncryptionInspector messageInspector, IEncryptionService encryptionService)
 {
     this.messageInspector  = messageInspector;
     this.encryptionService = encryptionService;
 }
Exemplo n.º 3
0
 public EncryptRegistration(EncryptionInspector inspector, IEncryptionService encryptionService)
     : base("InvokeEncryption", typeof(EncryptBehavior), "Invokes the encryption logic", b => new EncryptBehavior(inspector, encryptionService))
 {
     InsertAfter("MutateOutgoingMessages");
 }