Uses of Class
org.drasyl.identity.CompressedPublicKey
-
Packages that use CompressedPublicKey Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.event Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.org.drasyl.identity Contains classes to manage theIdentity
of the drasyl node.org.drasyl.monitoring Monitors various states or events in the drasyl node.org.drasyl.peer Package contains classes that are used for communicating with other peers.org.drasyl.peer.connection Provides classes to manage connections to other peers.org.drasyl.peer.connection.direct Establishes direct connections to other peers.org.drasyl.peer.connection.handler netty handlers for peer connections.org.drasyl.peer.connection.intravm Automatic discovery of other running drasyl nodes in the same JVM.org.drasyl.peer.connection.localhost Uses the file system to discover other drasyl nodes running on the local computer.org.drasyl.peer.connection.message Contains all message types that drasyl uses to configure the overlay network and transfer application messages.org.drasyl.peer.connection.pipeline org.drasyl.peer.connection.server.handler netty handlers dedicated for the server.org.drasyl.pipeline Link between application and drasyl overlay network.org.drasyl.pipeline.codec Package contains classes that are used for encoding/decoding objects. -
-
Uses of CompressedPublicKey in org.drasyl
Methods in org.drasyl that return CompressedPublicKey Modifier and Type Method Description CompressedPublicKey
DrasylConfig. getIdentityPublicKey()
static CompressedPublicKey
DrasylConfig. getPublicKey(com.typesafe.config.Config config, String path)
Gets theCompressedPublicKey
at the given path.Methods in org.drasyl with parameters of type CompressedPublicKey Modifier and Type Method Description DrasylConfig.Builder
DrasylConfig.Builder. identityPublicKey(CompressedPublicKey identityPublicKey)
CompletableFuture<Void>
DrasylNode. send(CompressedPublicKey recipient, Object payload)
Sends the content ofpayload
to the identityrecipient
. -
Uses of CompressedPublicKey in org.drasyl.event
Methods in org.drasyl.event that return CompressedPublicKey Modifier and Type Method Description CompressedPublicKey
Peer. getPublicKey()
Returns the peer's public key.CompressedPublicKey
MessageEvent. getSender()
Returns the message's sender.Methods in org.drasyl.event with parameters of type CompressedPublicKey Modifier and Type Method Description static Peer
Peer. of(CompressedPublicKey publicKey)
Constructors in org.drasyl.event with parameters of type CompressedPublicKey Constructor Description MessageEvent(CompressedPublicKey sender, Object payload)
Creates a newMessageEvent
-
Uses of CompressedPublicKey in org.drasyl.identity
Methods in org.drasyl.identity that return CompressedPublicKey Modifier and Type Method Description CompressedPublicKey
CompressedKeyPair. getPublicKey()
CompressedPublicKey
Identity. getPublicKey()
CompressedPublicKey
IdentityManager. getPublicKey()
static CompressedPublicKey
CompressedPublicKey. of(String compressedKey)
Converts aString
into aCompressedPublicKey
.static CompressedPublicKey
CompressedPublicKey. of(PublicKey key)
Converts aPublicKey
into aCompressedPublicKey
.Methods in org.drasyl.identity with parameters of type CompressedPublicKey Modifier and Type Method Description static ProofOfWork
ProofOfWork. generateProofOfWork(CompressedPublicKey publicKey, short difficulty)
static short
ProofOfWork. getDifficulty(ProofOfWork proofOfWork, CompressedPublicKey publicKey)
boolean
ProofOfWork. isValid(CompressedPublicKey publicKey, short difficulty)
static CompressedKeyPair
CompressedKeyPair. of(CompressedPublicKey publicKey, CompressedPrivateKey privateKey)
static Identity
Identity. of(ProofOfWork proofOfWork, CompressedPublicKey publicKey, CompressedPrivateKey privateKey)
-
Uses of CompressedPublicKey in org.drasyl.monitoring
Constructors in org.drasyl.monitoring with parameters of type CompressedPublicKey Constructor Description Monitoring(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, Pipeline pipeline)
-
Uses of CompressedPublicKey in org.drasyl.peer
Methods in org.drasyl.peer that return CompressedPublicKey Modifier and Type Method Description CompressedPublicKey
Endpoint. getPublicKey()
Returns theCompressedPublicKey
of thisEndpoint
.CompressedPublicKey
PeersManager. getSuperPeerKey()
Methods in org.drasyl.peer that return types with arguments of type CompressedPublicKey Modifier and Type Method Description Map<CompressedPublicKey,PeerInformation>
PeersManager. getChildren()
Set<CompressedPublicKey>
PeersManager. getChildrenKeys()
Map<CompressedPublicKey,PeerInformation>
PeersManager. getPeers()
Triple<CompressedPublicKey,PeerInformation,Set<Path>>
PeersManager. getSuperPeer()
-
Uses of CompressedPublicKey in org.drasyl.peer.connection
Methods in org.drasyl.peer.connection with parameters of type CompressedPublicKey Modifier and Type Method Description boolean
PeerChannelGroup. add(CompressedPublicKey publicKey, io.netty.channel.Channel channel)
io.netty.channel.Channel
PeerChannelGroup. find(CompressedPublicKey publicKey)
Searches the channel for given public key.io.netty.util.concurrent.Future<Void>
PeerChannelGroup. writeAndFlush(CompressedPublicKey publicKey, Object message)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.direct
Methods in org.drasyl.peer.connection.direct with parameters of type CompressedPublicKey Modifier and Type Method Description void
DirectConnectionDemandsCache. add(CompressedPublicKey publicKey)
AddspublicKey
to the cache.boolean
RequestPeerInformationCache. add(CompressedPublicKey publicKey)
AddspublicKey
to the cache if it is not already cached.boolean
DirectConnectionDemandsCache. contains(CompressedPublicKey publicKey)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.handler
Fields in org.drasyl.peer.connection.handler with type parameters of type CompressedPublicKey Modifier and Type Field Description static io.netty.util.AttributeKey<CompressedPublicKey>
ThreeWayHandshakeClientHandler. ATTRIBUTE_PUBLIC_KEY
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.intravm
Constructors in org.drasyl.peer.connection.intravm with parameters of type CompressedPublicKey Constructor Description IntraVmDiscovery(CompressedPublicKey publicKey, PeersManager peersManager, Pipeline pipeline)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type CompressedPublicKey Constructor Description LocalHostDiscovery(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.message
Fields in org.drasyl.peer.connection.message declared as CompressedPublicKey Modifier and Type Field Description protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. recipient
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
protected CompressedPublicKey
AbstractMessage. sender
Methods in org.drasyl.peer.connection.message that return CompressedPublicKey Modifier and Type Method Description CompressedPublicKey
Message. getRecipient()
Returns this message's recipient.CompressedPublicKey
Message. getSender()
Returns this message's sender.Constructors in org.drasyl.peer.connection.message with parameters of type CompressedPublicKey Constructor Description ApplicationMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, byte[] payload)
Creates a new message.ApplicationMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Map<String,String> headers, byte[] payload)
Creates a new message.ApplicationMessage(MessageId id, int networkId, String userAgent, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload)
ApplicationMessage(MessageId id, int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload)
ErrorMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, ErrorMessage.Error error, MessageId correspondingId)
Creates a new error message.IdentityMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId)
JoinMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, long joinTime)
Creates a new join message.PingMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient)
PongMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId)
QuitMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, QuitMessage.CloseReason reason)
SignedMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Message payload)
SuccessMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId)
Creates an immutable code object.WelcomeMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId)
Creates new welcome message.WhoisMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.pipeline
Methods in org.drasyl.peer.connection.pipeline with parameters of type CompressedPublicKey Modifier and Type Method Description protected void
DirectConnectionMessageSinkHandler. matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future)
protected void
LoopbackMessageSinkHandler. matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future)
protected void
SuperPeerMessageSinkHandler. matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future)
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.server.handler
Methods in org.drasyl.peer.connection.server.handler with parameters of type CompressedPublicKey Modifier and Type Method Description static io.netty.buffer.ByteBuf
ServerHttpHandler. getContent(int networkId, CompressedPublicKey publicKey)
Constructors in org.drasyl.peer.connection.server.handler with parameters of type CompressedPublicKey Constructor Description ServerHttpHandler(int networkId, CompressedPublicKey publicKey, PeersManager peersManager)
-
Uses of CompressedPublicKey in org.drasyl.pipeline
Methods in org.drasyl.pipeline that return types with arguments of type CompressedPublicKey Modifier and Type Method Description io.reactivex.rxjava3.core.Observable<Pair<CompressedPublicKey,Object>>
EmbeddedPipeline. inboundMessages()
-
Uses of CompressedPublicKey in org.drasyl.pipeline.codec
Methods in org.drasyl.pipeline.codec with parameters of type CompressedPublicKey Modifier and Type Method Description protected void
ApplicationMessage2ObjectHolderHandler. matchedRead(HandlerContext ctx, CompressedPublicKey sender, ApplicationMessage msg, CompletableFuture<Void> future)
protected void
ObjectHolder2ApplicationMessageHandler. matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, ObjectHolder msg, CompletableFuture<Void> future)
-