Add a method to get stream context in handshake mode

This commit is contained in:
ameba23
2021-08-27 09:54:50 +02:00
parent a425a33209
commit 1ffa8ee024

View File

@@ -116,4 +116,8 @@ public interface KeyManager {
@Nullable
StreamContext getStreamContext(TransportId t, byte[] tag)
throws DbException;
@Nullable
StreamContext getStreamContextInHandshakeMode(ContactId c, TransportId t)
throws DbException;
}