Uses of Class
org.drasyl.util.ImmutableByteArray
Packages that use 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
Methods in org.drasyl.handler.remote.protocol that return ImmutableByteArrayModifier and TypeMethodDescriptionabstract ImmutableByteArray
HelloMessage.getSignature()
Nonce.toImmutableByteArray()
Methods in org.drasyl.handler.remote.protocol with parameters of type ImmutableByteArrayModifier 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
Methods in org.drasyl.identity that return ImmutableByteArrayMethods in org.drasyl.identity with parameters of type ImmutableByteArrayModifier 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
Methods in org.drasyl.node.handler.crypto that return ImmutableByteArrayMethods in org.drasyl.node.handler.crypto with parameters of type ImmutableByteArray -
Uses of ImmutableByteArray in org.drasyl.util
Methods in org.drasyl.util that return ImmutableByteArrayModifier and TypeMethodDescriptionstatic ImmutableByteArray
ImmutableByteArray.of
(byte[] array) Copy the givenarray
and stores it as immutable object.