Constant Field Values
Contents
org.drasyl.*
-
org.drasyl.crypto.Crypto Modifier and Type Constant Field Value public static final short
PK_CURVE_25519_KEY_LENGTH
32
public static final short
PK_LONG_TIME_KEY_LENGTH
32
public static final short
SK_CURVE_25519_KEY_LENGTH
32
public static final short
SK_LONG_TIME_KEY_LENGTH
64
-
org.drasyl.crypto.loader.LibraryLoader Modifier and Type Constant Field Value public static final String
BUNDLED_ONLY
"bundled_only"
public static final String
PREFER_BUNDLED
"pref_bundled"
public static final String
PREFER_SYSTEM
"pref_system"
public static final String
SYSTEM_ONLY
"system_only"
-
org.drasyl.crypto.loader.NativeLoader Modifier and Type Constant Field Value public static final String
NATIVE_FOLDER_PATH_PREFIX
"nativeloader"
-
org.drasyl.crypto.sodium.DrasylSodiumWrapper Modifier and Type Constant Field Value public static final short
CURVE25519_PUBLICKEYBYTES
32
public static final short
CURVE25519_SECRETKEYBYTES
32
public static final short
ED25519_BYTES
64
public static final short
ED25519_PUBLICKEYBYTES
32
public static final short
ED25519_SECRETKEYBYTES
64
public static final short
SESSIONKEYBYTES
32
public static final short
SHA256_BYTES
32
public static final short
SIGN_BYTES
64
public static final short
XCHACHA20POLY1305_IETF_ABYTES
16
public static final short
XCHACHA20POLY1305_IETF_NPUBBYTES
24
-
org.drasyl.handler.arq.gobackn.GoBackNArqCodec Modifier and Type Constant Field Value public static final int
MAGIC_NUMBER_ACK
360023955
public static final int
MAGIC_NUMBER_DATA
360023952
public static final int
MAGIC_NUMBER_FIRST_DATA
360023953
public static final int
MAGIC_NUMBER_LAST_DATA
360023956
public static final int
MAGIC_NUMBER_RST
360023954
public static final int
MIN_MESSAGE_LENGTH
8
-
org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec Modifier and Type Constant Field Value public static final int
MAGIC_NUMBER_ACK
523370709
public static final int
MAGIC_NUMBER_DATA
523370708
public static final int
MIN_MESSAGE_LENGTH
5
-
org.drasyl.handler.remote.LocalHostDiscovery Modifier and Type Constant Field Value public static final String
FILE_SUFFIX
".txt"
-
org.drasyl.handler.remote.protocol.AcknowledgementMessage Modifier and Type Constant Field Value public static final int
LENGTH
8
-
org.drasyl.handler.remote.protocol.ArmedProtocolMessage Modifier and Type Constant Field Value public static final int
ARMED_HEADER_LENGTH
16
-
org.drasyl.handler.remote.protocol.HelloMessage Modifier and Type Constant Field Value public static final int
SIGNED_LENGTH
80
public static final int
UNSIGNED_LENGTH
16
-
org.drasyl.handler.remote.protocol.HopCount Modifier and Type Constant Field Value public static final byte
MAX_HOP_COUNT
7
public static final byte
MIN_HOP_COUNT
0
-
org.drasyl.handler.remote.protocol.Nonce Modifier and Type Constant Field Value public static final int
NONCE_LENGTH
24
-
org.drasyl.handler.remote.protocol.PrivateHeader Modifier and Type Constant Field Value public static final int
ARMED_LENGTH
19
public static final int
LENGTH
3
-
org.drasyl.handler.remote.protocol.PublicHeader Modifier and Type Constant Field Value public static final int
LENGTH
97
-
org.drasyl.handler.remote.protocol.RemoteMessage Modifier and Type Constant Field Value public static final int
MAGIC_NUMBER
507465729
-
org.drasyl.handler.remote.protocol.UniteMessage Modifier and Type Constant Field Value public static final int
LENGTH
50
-
org.drasyl.handler.stream.MessageChunkEncoder Modifier and Type Constant Field Value public static final int
MAGIC_NUMBER_CONTENT
-143591473
public static final int
MAGIC_NUMBER_LAST
-143591472
public static final int
MIN_MESSAGE_LENGTH
6
-
org.drasyl.identity.IdentityPublicKey Modifier and Type Constant Field Value public static final short
KEY_LENGTH_AS_BYTES
32
public static final short
KEY_LENGTH_AS_STRING
64
-
org.drasyl.identity.IdentitySecretKey Modifier and Type Constant Field Value public static final short
KEY_LENGTH_AS_BYTES
64
public static final short
KEY_LENGTH_AS_STRING
128
-
org.drasyl.identity.KeyAgreementPublicKey Modifier and Type Constant Field Value public static final short
KEY_LENGTH_AS_BYTES
32
public static final short
KEY_LENGTH_AS_STRING
64
-
org.drasyl.identity.KeyAgreementSecretKey Modifier and Type Constant Field Value public static final short
KEY_LENGTH_AS_BYTES
32
public static final short
KEY_LENGTH_AS_STRING
64
-
org.drasyl.util.Ansi Modifier and Type Constant Field Value public static final String
RESET
"\u001b[0m"
-
org.drasyl.util.Preconditions Modifier and Type Constant Field Value public static final String
MUST_BE_NON_NEGATIVE
"must be non-negative"
public static final String
MUST_BE_POSITIVE
"must be positive"
public static final String
MUST_BE_POWER_OF_TWO
"must be power of two"
-
org.drasyl.util.WebSocketUtil Modifier and Type Constant Field Value public static final int
WS_PORT
80
public static final int
WSS_PORT
443
-
org.drasyl.util.network.NetworkUtil Modifier and Type Constant Field Value public static final int
MAX_PORT_NUMBER
65535
public static final int
MIN_PORT_NUMBER
0
-
org.drasyl.util.protocol.NatPmpUtil Modifier and Type Constant Field Value public static final int
EXTERNAL_ADDRESS_REQUEST_OP
0
public static final int
EXTERNAL_ADDRESS_RESPONSE_OP
128
public static final int
LIFETIME_LENGTH
4
public static final int
MAPPING_TCP_REQUEST_OP
2
public static final int
MAPPING_TCP_RESPONSE_OP
130
public static final int
MAPPING_UDP_REQUEST_OP
1
public static final int
MAPPING_UDP_RESPONSE_OP
129
public static final int
NAT_PMP_PORT
5351
public static final int
NAT_PMP_VERSION
0
public static final int
RESERVED_LENGTH
2
-
org.drasyl.util.protocol.PcpPortUtil Modifier and Type Constant Field Value public static final int
EPOCH_TIME_LENGTH
4
public static final int
EXTERNAL_SUGGESTED_ADDRESS_LENGTH
16
public static final int
LIFETIME_LENGTH
4
public static final int
MAP_OPCODE
1
public static final int
MAPPING_NONCE_LENGTH
12
public static final int
PCP_PORT
5351
public static final int
PCP_VERSION
2
public static final int
PROTO_TCP
6
public static final int
PROTO_UDP
17
public static final int
REQUEST_RESERVED1_LENGTH
2
public static final int
REQUEST_RESERVED2_LENGTH
3
public static final int
RESPONSE_RESERVED1_LENGTH
1
public static final int
RESPONSE_RESERVED2_LENGTH
12
public static final int
RESPONSE_RESERVED3_LENGTH
3