Uses of Class
org.drasyl.util.ImmutableByteArray
Packages that use ImmutableByteArray
Package
Description
Libsodium wrappers for the crypto operations of drasyl
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.
Serialization of java objects to byte arrays and vice versa.
Utility classes used across multiple packages.
-
Uses of ImmutableByteArray in org.drasyl.crypto.sodium
Methods in org.drasyl.crypto.sodium that return ImmutableByteArrayModifier and TypeMethodDescriptionabstract ImmutableByteArray
SessionPair.getRx()
abstract ImmutableByteArray
SessionPair.getTx()
Methods in org.drasyl.crypto.sodium with parameters of type ImmutableByteArrayModifier and TypeMethodDescriptionstatic SessionPair
SessionPair.of
(ImmutableByteArray rx, ImmutableByteArray tx) -
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 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> endpoints) 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.node.handler.serialization
Methods in org.drasyl.node.handler.serialization that return ImmutableByteArrayMethods in org.drasyl.node.handler.serialization with parameters of type ImmutableByteArrayModifier and TypeMethodDescriptionstatic SerializedPayload
SerializedPayload.of
(String type, ImmutableByteArray payload) -
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.