Uses of Class
org.drasyl.identity.Identity
Package
Description
netty
Channel
for the drasyl overlay
network.Handlers used to communicate with remote nodes.
Contains classes necessary for encrypted protocol communication.
Discovery/Routing of peers on the internet.
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.)ChannelHandler
s used by the DrasylNode
.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
Modifier and TypeFieldDescriptionprotected final Identity
RelayOnlyDrasylServerChannelInitializer.identity
ModifierConstructorDescriptionRelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup) Creates a new channel initializer with default values forbindPort
,networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming.RelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, int bindPort) Creates a new channel initializer with default values fornetworkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming.RelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress) Creates a new channel initializer with default values fornetworkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming.RelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers) Creates a new channel initializer with default values forpingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming.RelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers, boolean protocolArmEnabled) Creates a new channel initializer with default values forpingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
, andmaxPeers
.RelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers, boolean protocolArmEnabled, int pingIntervalMillis, int pingTimeoutMillis, int maxTimeOffsetMillis, int maxPeers) TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup) Creates a new channel initializer with default values forbindPort
,networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming.TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, int bindPort) Creates a new channel initializer with default values fornetworkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming.TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress) Creates a new channel initializer with default values fornetworkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming.TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers) Creates a new channel initializer with default values forpingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming.TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers, boolean protocolArmEnabled) Creates a new channel initializer with default values forpingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, andpingCommunicationTimeoutMillis
.TraversingDrasylServerChannelInitializer
(Identity identity, io.netty.channel.EventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers, boolean protocolArmEnabled, int pingIntervalMillis, int pingTimeoutMillis, int maxTimeOffsetMillis, int maxPeers, int pingCommunicationTimeoutMillis) -
Uses of Identity in org.drasyl.handler.remote
ModifierConstructorDescriptionApplicationMessageToPayloadCodec
(int networkId, Identity myIdentity) -
Uses of Identity in org.drasyl.handler.remote.crypto
ModifierConstructorDescriptionProtocolArmHandler
(Identity myIdentity, int maxSessionsCount) ProtocolArmHandler
(Identity myIdentity, Crypto crypto, int maxSessionsCount, Duration expireAfter) -
Uses of Identity in org.drasyl.handler.remote.internet
ModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(int myNetworkId, Identity myIdentity, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) -
Uses of Identity in org.drasyl.identity
Modifier 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
Modifier 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
Modifier 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
ModifierConstructorDescriptionprotected
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
ModifierConstructorDescriptionprotected
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.channel
ModifierConstructorDescriptionDrasylNodeServerChannelInitializer
(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.EventLoopGroup udpServerGroup) -
Uses of Identity in org.drasyl.node.event
Modifier and TypeMethodDescriptionabstract Identity
Node.getIdentity()
Returns the node's identity. -
Uses of Identity in org.drasyl.node.handler
-
Uses of Identity in org.drasyl.node.handler.crypto
ModifierConstructorDescriptionprotected
AbstractArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
AbstractArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session) LongTimeArmHandler
(Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) LongTimeArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
LongTimeArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session) 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
Modifier and TypeMethodDescriptionstatic PluginEnvironment
PluginEnvironment.of
(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline) -
Uses of Identity in org.drasyl.node.identity
Modifier and TypeMethodDescriptionstatic Identity
IdentityManager.readIdentityFile
(Path path) Reads the identity fromcode
.Modifier 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