Uses of Class
org.drasyl.identity.Identity
Packages that use Identity
Package
Description
netty
Channel for the drasyl overlay
network.Contains classes necessary for encrypted protocol communication.
Contains classes to manage the
Identity of the drasyl node.Contains
DrasylNode.Describes
DrasylNodes 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.)ChannelHandlers 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
Fields in org.drasyl.channel declared as IdentityModifier and TypeFieldDescriptionprotected final IdentityRelayOnlyDrasylServerChannelInitializer.identityConstructors in org.drasyl.channel with parameters of type IdentityModifierConstructorDescriptionRelayOnlyDrasylServerChannelInitializer(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.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 IdentityIdentity.generateIdentity()Generates a new random identity.static Identitystatic Identitystatic IdentityIdentity.of(int proofOfWork, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) static IdentityIdentity.of(ProofOfWork proofOfWork, String identityPublicKey, String identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair) static IdentityIdentity.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 IdentityDrasylNode.generateIdentity(DrasylConfig config) Generates an identity or uses the already generated identity from the givenconfig.DrasylConfig.getIdentity()DrasylNode.identity()Returns theIdentityof this node.static Identitystatic IdentityIdentityFile.readFrom(InputStream in) static Identitystatic IdentityMethods in org.drasyl.node with parameters of type IdentityModifier and TypeMethodDescriptionShortcut for callingDrasylConfig.Builder.identityProofOfWork(ProofOfWork), andDrasylConfig.Builder.identitySecretKey(IdentitySecretKey).static voidstatic voidIdentityFile.writeTo(OutputStream out, Identity identity) static voidstatic voidConstructors in org.drasyl.node with parameters of type IdentityModifierConstructorDescriptionprotectedDrasylNode(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture) -
Uses of Identity in org.drasyl.node.behaviour
Constructors in org.drasyl.node.behaviour with parameters of type IdentityModifierConstructorDescriptionprotectedBehavioralDrasylNode(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture) protectedBehavioralDrasylNode(Identity identity, io.netty.bootstrap.ServerBootstrap bootstrap, io.netty.channel.ChannelFuture channelFuture, io.netty.channel.Channel channel, Behavior behavior) -
Uses of Identity in org.drasyl.node.channel
Constructors in org.drasyl.node.channel with parameters of type IdentityModifierConstructorDescriptionDrasylNodeServerChannelInitializer(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.EventLoopGroup udpServerGroup) -
Uses of Identity in org.drasyl.node.event
Methods in org.drasyl.node.event that return IdentityModifier and TypeMethodDescriptionabstract IdentityNode.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
Constructors in org.drasyl.node.handler with parameters of type Identity -
Uses of Identity in org.drasyl.node.handler.crypto
Fields in org.drasyl.node.handler.crypto declared as IdentityConstructors in org.drasyl.node.handler.crypto with parameters of type IdentityModifierConstructorDescriptionprotectedAbstractArmHandler(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protectedAbstractArmHandler(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) protectedLongTimeArmHandler(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session) PFSArmHandler(Crypto crypto, Duration expireAfter, Duration retryInterval, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protectedPFSArmHandler(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 PluginEnvironmentPluginEnvironment.of(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline) Constructors in org.drasyl.node.handler.plugin with parameters of type Identity -
Uses of Identity in org.drasyl.node.identity
Methods in org.drasyl.node.identity that return IdentityModifier and TypeMethodDescriptionstatic IdentityIdentityManager.readIdentityFile(Path path) Reads the identity fromcode.Methods in org.drasyl.node.identity with parameters of type IdentityModifier and TypeMethodDescriptionstatic voidIdentityManager.writeIdentityFile(Path path, Identity identity) Writes the identityidentityto 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