Messages and Validator for new Introduction Client

This commit is contained in:
Torsten Grote
2018-04-16 16:00:17 -03:00
parent 218b2f7ff9
commit 155c6a5613
17 changed files with 966 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
package org.briarproject.briar.api.introduction2;
import static org.briarproject.bramble.api.sync.SyncConstants.MAX_MESSAGE_BODY_LENGTH;
public interface IntroductionConstants {
/**
* The maximum length of the introducer's optional message to the
* introducees in UTF-8 bytes.
*/
int MAX_REQUEST_MESSAGE_LENGTH = MAX_MESSAGE_BODY_LENGTH - 1024;
}