Uses of Class
org.drasyl.util.ImmutableByteArray
Package
Description
The protocol used for communication with remote peers.
Contains classes to manage the
Identity
of the drasyl node.Contains classes necessary for encrypted peer/application communication.
Utility classes used across multiple packages.
-
Uses of ImmutableByteArray in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionabstract ImmutableByteArray
HelloMessage.getSignature()
Nonce.toImmutableByteArray()
Modifier and TypeMethodDescriptionstatic boolean
Nonce.isValidNonce
(ImmutableByteArray bytes) Checks ifbytes
is a valid value.static HelloMessage
HelloMessage.of
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time, long childrenTime, ImmutableByteArray signature, Set<InetSocketAddress> privateInetAddresses) Creates a newHelloMessage
.static Nonce
Nonce.of
(ImmutableByteArray bytes) -
Uses of ImmutableByteArray in org.drasyl.identity
Modifier and TypeMethodDescriptionstatic IdentityPublicKey
IdentityPublicKey.of
(ImmutableByteArray bytes) static IdentitySecretKey
IdentitySecretKey.of
(ImmutableByteArray bytes) static KeyAgreementPublicKey
KeyAgreementPublicKey.of
(ImmutableByteArray bytes) static KeyAgreementSecretKey
KeyAgreementSecretKey.of
(ImmutableByteArray bytes) -
Uses of ImmutableByteArray in org.drasyl.node.handler.crypto
-
Uses of ImmutableByteArray in org.drasyl.util
Modifier and TypeMethodDescriptionstatic ImmutableByteArray
ImmutableByteArray.of
(byte[] array) Copy the givenarray
and stores it as immutable object.