Uses of Class
org.drasyl.identity.Identity
Packages that use Identity
Package
Description
netty
Channel
for the drasyl overlay
network.A virtual
Channel
that helps wrapping a series of handlers to unit test
the handlers or use them in non-I/O context.Contains classes necessary for encrypted protocol communication.
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Describes
DrasylNode
s as finite state machines.Contains events that inform about various states of the
DrasylNode
(started, stopped, etc.) or overlay network events (messages, peer discovery, etc.)Contains classes necessary for encrypted peer/application communication.
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with
user-defined settings.
Handles the
Identity
creation of the DrasylNode
.The groups client plugin.
-
Uses of Identity in org.drasyl.channel
Methods in org.drasyl.channel that return Identity -
Uses of Identity in org.drasyl.channel.embedded
Methods in org.drasyl.channel.embedded that return Identity -
Uses of Identity in org.drasyl.handler.remote.crypto
Constructors in org.drasyl.handler.remote.crypto with parameters of type IdentityModifierConstructorDescriptionProtocolArmHandler
(Identity myIdentity, int maxSessionsCount) ProtocolArmHandler
(Identity myIdentity, Crypto crypto, int maxSessionsCount, Duration expireAfter) -
Uses of Identity in org.drasyl.identity
Methods in org.drasyl.identity that return IdentityModifier and TypeMethodDescriptionstatic Identity
Identity.generateIdentity()
Generates a new random identity.static Identity
static Identity
static Identity
Identity.of
(int proofOfWork, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) static Identity
Identity.of
(ProofOfWork proofOfWork, String identityPublicKey, String identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair) static Identity
Identity.of
(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) -
Uses of Identity in org.drasyl.node
Fields in org.drasyl.node declared as IdentityMethods in org.drasyl.node that return IdentityModifier and TypeMethodDescriptionstatic Identity
DrasylNode.generateIdentity
(DrasylConfig config) Generates an identity or uses the already generated identity from the givenconfig
.DrasylConfig.getIdentity()
DrasylNode.identity()
Returns theIdentity
of this node.static Identity
static Identity
IdentityFile.readFrom
(InputStream in) static Identity
static Identity
Methods in org.drasyl.node with parameters of type IdentityModifier and TypeMethodDescriptionShortcut for callingDrasylConfig.Builder.identityProofOfWork(ProofOfWork)
, andDrasylConfig.Builder.identitySecretKey(IdentitySecretKey)
.static void
static void
IdentityFile.writeTo
(OutputStream out, Identity identity) static void
static void
Constructors in org.drasyl.node with parameters of type IdentityModifierConstructorDescriptionprotected
DrasylNode
(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture, List<SocketAddress> sntpServers) protected
EventTypeDrasylNode
(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture, List<SocketAddress> sntpServers) -
Uses of Identity in org.drasyl.node.behaviour
Constructors in org.drasyl.node.behaviour with parameters of type IdentityModifierConstructorDescriptionprotected
BehavioralDrasylNode
(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture, io.netty.channel.Channel channel, Behavior behavior, List<SocketAddress> sntpServers) protected
BehavioralDrasylNode
(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture, List<SocketAddress> sntpServers) -
Uses of Identity in org.drasyl.node.event
Methods in org.drasyl.node.event that return IdentityModifier and TypeMethodDescriptionabstract Identity
Node.getIdentity()
Returns the node's identity.Methods in org.drasyl.node.event with parameters of type Identity -
Uses of Identity in org.drasyl.node.handler.crypto
Constructors in org.drasyl.node.handler.crypto with parameters of type IdentityModifierConstructorDescriptionprotected
AbstractArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) LongTimeArmHandler
(Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) LongTimeArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) PFSArmHandler
(Crypto crypto, Duration expireAfter, Duration retryInterval, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
PFSArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session, LongSupplier expireProvider, Duration retryInterval, PFSArmHandler.State state) -
Uses of Identity in org.drasyl.node.handler.plugin
Methods in org.drasyl.node.handler.plugin that return IdentityMethods in org.drasyl.node.handler.plugin with parameters of type IdentityModifier and TypeMethodDescriptionstatic PluginEnvironment
PluginEnvironment.of
(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline) Constructors in org.drasyl.node.handler.plugin with parameters of type IdentityModifierConstructorDescriptionPluginsChildHandler
(DrasylConfig config, Identity identity) PluginsServerHandler
(DrasylConfig config, Identity identity) -
Uses of Identity in org.drasyl.node.identity
Methods in org.drasyl.node.identity that return IdentityModifier and TypeMethodDescriptionstatic Identity
IdentityManager.readIdentityFile
(Path path) Reads the identity fromcode
.Methods in org.drasyl.node.identity with parameters of type IdentityModifier and TypeMethodDescriptionstatic void
IdentityManager.writeIdentityFile
(Path path, Identity identity) Writes the identityidentity
to the filepath
. -
Uses of Identity in org.drasyl.node.plugin.groups.client
Constructors in org.drasyl.node.plugin.groups.client with parameters of type Identity -
Uses of Identity in org.drasyl.performance
Fields in org.drasyl.performance declared as Identity