Uses of Class
org.drasyl.identity.IdentityPublicKey
Package
Description
netty
Channel
for the drasyl overlay
network.Classes for crypto-related operations.
Handlers used to communicate with remote nodes.
Discovery/Routing of peers on the internet.
The protocol used for communication with remote peers.
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Contains classes necessary for encrypted peer/application communication.
The groups client plugin.
Event
s that are emitted when this plugin is enabled.Messages that are used to communicate with other nodes using the groups plugin.
Classes used to model the internal state of the manager (e.g.
Contains a backend (e.g.
Adapter to connect the groups manager with a JDBC-compliant database.
-
Uses of IdentityPublicKey in org.drasyl.channel
Modifier and TypeFieldDescriptionstatic final Map<IdentityPublicKey,
InetSocketAddress> RelayOnlyDrasylServerChannelInitializer.SUPER_PEERS
protected final Map<IdentityPublicKey,
InetSocketAddress> RelayOnlyDrasylServerChannelInitializer.superPeers
ModifierConstructorDescriptionRelayOnlyDrasylServerChannelInitializer
(Identity identity, io.netty.channel.nio.NioEventLoopGroup 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.nio.NioEventLoopGroup 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.nio.NioEventLoopGroup 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.nio.NioEventLoopGroup 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.nio.NioEventLoopGroup 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.nio.NioEventLoopGroup udpServerGroup, InetSocketAddress bindAddress, int networkId, Map<IdentityPublicKey, InetSocketAddress> superPeers, boolean protocolArmEnabled, int pingIntervalMillis, int pingTimeoutMillis, int maxTimeOffsetMillis, int maxPeers, int pingCommunicationTimeoutMillis) -
Uses of IdentityPublicKey in org.drasyl.crypto
Modifier and TypeMethodDescriptionCrypto.generateLongTimeKeyPair()
Generates a new ed25519 key pair for signing and on-demand encryption.Modifier and TypeMethodDescriptionCrypto.convertIdentityKeyToKeyAgreementKey
(IdentityPublicKey publicKey) Converts the given ed25519 long timepublicKey
into a curve25519 key for (on-demand) key agreement.boolean
Crypto.verifySignature
(byte[] signature, byte[] message, IdentityPublicKey publicKey) Verifies thatsignature
is valid for themessage
.Modifier and TypeMethodDescriptionCrypto.convertLongTimeKeyPairToKeyAgreementKeyPair
(KeyPair<IdentityPublicKey, IdentitySecretKey> keyPair) Converts the given ed25519 long timekeyPair
into a curve25519 key pair for (on-demand) key agreement. -
Uses of IdentityPublicKey in org.drasyl.handler.remote
ModifierConstructorDescriptionApplicationMessageToPayloadCodec
(int networkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork) LocalNetworkDiscovery
(int networkId, long pingIntervalMillis, long pingTimeoutMillis, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, InetSocketAddress recipient) -
Uses of IdentityPublicKey in org.drasyl.handler.remote.internet
Modifier and TypeFieldDescriptionprotected final IdentityPublicKey
InternetDiscoveryChildrenHandler.myPublicKey
protected final IdentityPublicKey
InternetDiscoverySuperPeerHandler.myPublicKey
Modifier and TypeFieldDescriptionprotected final Map<IdentityPublicKey,
org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler.SuperPeer> InternetDiscoveryChildrenHandler.superPeers
ModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, LongSupplier currentTime, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoverySuperPeerHandler
(int myNetworkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, HopCount hopLimit) TraversingInternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses, long pingCommunicationTimeoutMillis, long maxPeers) TraversingInternetDiscoverySuperPeerHandler
(int myNetworkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, HopCount hopLimit, long uniteMinIntervalMillis) ModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, LongSupplier currentTime, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) TraversingInternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, IdentitySecretKey mySecretKey, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses, long pingCommunicationTimeoutMillis, long maxPeers) -
Uses of IdentityPublicKey in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionstatic AcknowledgementMessage
AcknowledgementMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long time) static ApplicationMessage
ApplicationMessage.of
(int networkId, IdentityPublicKey recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf payload) static HelloMessage
HelloMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork) Creates a newHelloMessage
.static HelloMessage
HelloMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long time, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> privateInetAddresses) Creates a newHelloMessage
.static HelloMessage
HelloMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> privateInetAddresses) Creates a newHelloMessage
.static HelloMessage
HelloMessage.of
(int networkId, IdentityPublicKey sender, ProofOfWork proofOfWork) Creates a new multicastHelloMessage
(sent byLocalNetworkDiscovery
}.static UniteMessage
UniteMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, DrasylAddress address, Set<InetSocketAddress> inetAddresses) -
Uses of IdentityPublicKey in org.drasyl.identity
Modifier and TypeMethodDescriptionIdentitySecretKey.derivePublicKey()
Derives theIdentityPublicKey
from this secret key.Identity.getIdentityPublicKey()
IdentityPublicKey.intern()
static IdentityPublicKey
IdentityPublicKey.of
(byte[] bytes) Converts a byte[] into aIdentityPublicKey
.static IdentityPublicKey
Converts aString
into aIdentityPublicKey
.static IdentityPublicKey
IdentityPublicKey.of
(ImmutableByteArray bytes) Modifier and TypeMethodDescriptionabstract KeyPair<IdentityPublicKey,
IdentitySecretKey> Identity.getIdentityKeyPair()
Modifier and TypeMethodDescriptionstatic Identity
Identity.of
(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) Modifier and TypeMethodDescriptionstatic Identity
Identity.of
(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) 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 IdentityPublicKey in org.drasyl.node
Modifier and TypeMethodDescriptionstatic IdentityPublicKey
DrasylConfig.getIdentityPublicKey
(com.typesafe.config.Config config, String path) Gets theIdentityPublicKey
at the given path.abstract IdentityPublicKey
PeerEndpoint.getIdentityPublicKey()
Returns theIdentityPublicKey
of thisEndpoint
.Modifier and TypeMethodDescriptionstatic PeerEndpoint
PeerEndpoint.of
(String host, int port, IdentityPublicKey publicKey) Converts the givenhost
,port
, andpublicKey
into anEndpoint
.static PeerEndpoint
PeerEndpoint.of
(String host, int port, IdentityPublicKey publicKey, Integer networkId) Converts the givenhost
,port
,publicKey
, andnetworkId
into anEndpoint
. -
Uses of IdentityPublicKey in org.drasyl.node.handler.crypto
Modifier and TypeFieldDescriptionprotected final IdentityPublicKey
AbstractArmHandler.peerIdentity
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 IdentityPublicKey in org.drasyl.node.plugin.groups.client
-
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client.event
Modifier and TypeMethodDescriptionstatic GroupMemberJoinedEvent
GroupMemberJoinedEvent.of
(IdentityPublicKey member, Group group) static GroupMemberLeftEvent
GroupMemberLeftEvent.of
(IdentityPublicKey member, Group group) Modifier and TypeMethodDescriptionstatic GroupJoinedEvent
GroupJoinedEvent.of
(Group group, Set<IdentityPublicKey> members, Runnable leaveRun) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client.message
Modifier and TypeMethodDescriptionabstract IdentityPublicKey
MemberJoinedMessage.getMember()
abstract IdentityPublicKey
MemberLeftMessage.getMember()
Modifier and TypeMethodDescriptionabstract Set<IdentityPublicKey>
GroupWelcomeMessage.getMembers()
Modifier and TypeMethodDescriptionstatic MemberJoinedMessage
MemberJoinedMessage.of
(IdentityPublicKey member, Group group) static MemberLeftMessage
MemberLeftMessage.of
(IdentityPublicKey member, Group group) Modifier and TypeMethodDescriptionstatic GroupWelcomeMessage
GroupWelcomeMessage.of
(Group group, Set<IdentityPublicKey> members) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.manager.data
Modifier and TypeMethodDescriptionGroup.getUri
(IdentityPublicKey manager) static Member
Member.of
(IdentityPublicKey publicKey) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.manager.database
Modifier and TypeMethodDescriptionboolean
DatabaseAdapter.removeGroupMember
(IdentityPublicKey member, String groupName) Removes themember
from the givengroup
. -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.manager.database.jdbc
Modifier and TypeMethodDescriptionboolean
JDBCDatabaseAdapter.removeGroupMember
(IdentityPublicKey member, String groupName)