Package org.drasyl.node.event
Class LongTimeEncryptionEvent
- java.lang.Object
-
- org.drasyl.node.event.LongTimeEncryptionEvent
-
public abstract class LongTimeEncryptionEvent extends Object implements PeerEvent
This event signals, that currently all messages from and to the#peer
are only encrypted with a long time key. The default case is long time key encryption.For more secure communication, the application have to wait until the
PerfectForwardSecrecyEncryptionEvent
is fired.
-
-
Constructor Summary
Constructors Constructor Description LongTimeEncryptionEvent()
-
-
-
Method Detail
-
of
public static LongTimeEncryptionEvent of(Peer peer)
- Parameters:
peer
- the affected peer- Throws:
NullPointerException
- ifpeer
isnull
-
-