Package org.jgroups.protocols
Class Encrypt.Decrypter
- java.lang.Object
-
- org.jgroups.protocols.Encrypt.Decrypter
-
- All Implemented Interfaces:
java.util.function.BiConsumer<Message,MessageBatch>
protected class Encrypt.Decrypter extends java.lang.Object implements java.util.function.BiConsumer<Message,MessageBatch>
Decrypts all messages in a batch, replacing encrypted messages in-place with their decrypted versions
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.crypto.Cipher
cipher
-
Constructor Summary
Constructors Constructor Description Decrypter(javax.crypto.Cipher cipher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Message msg, MessageBatch batch)
-
-
-
Method Detail
-
accept
public void accept(Message msg, MessageBatch batch)
- Specified by:
accept
in interfacejava.util.function.BiConsumer<Message,MessageBatch>
-
-