Uses of Class
org.drasyl.util.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
Modifier and TypeMethodDescriptionabstract ImmutableByteArray
SessionPair.getRx()
abstract ImmutableByteArray
SessionPair.getTx()
Modifier and TypeMethodDescriptionstatic SessionPair
SessionPair.of
(ImmutableByteArray rx, ImmutableByteArray tx) -
Uses of ImmutableByteArray in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionabstract ImmutableByteArray
HelloMessage.getSignature()
Nonce.toImmutableByteArray()
Modifier 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
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.node.handler.serialization
Modifier and TypeMethodDescriptionstatic SerializedPayload
SerializedPayload.of
(String type, ImmutableByteArray payload) -
Uses of ImmutableByteArray in org.drasyl.util
Modifier and TypeMethodDescriptionstatic ImmutableByteArray
ImmutableByteArray.of
(byte[] array) Copy the givenarray
and stores it as immutable object.