Uses of Class
org.drasyl.identity.IdentityPublicKey
Packages that use 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
Fields in org.drasyl.channel with type parameters of type IdentityPublicKeyModifier and TypeFieldDescriptionstatic final Map<IdentityPublicKey,
InetSocketAddress> RelayOnlyDrasylServerChannelInitializer.SUPER_PEERS
protected final Map<IdentityPublicKey,
InetSocketAddress> RelayOnlyDrasylServerChannelInitializer.superPeers
Constructor parameters in org.drasyl.channel with type arguments of type IdentityPublicKeyModifierConstructorDescriptionRelayOnlyDrasylServerChannelInitializer
(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, 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 IdentityPublicKey in org.drasyl.crypto
Methods in org.drasyl.crypto that return types with arguments of type IdentityPublicKeyModifier and TypeMethodDescriptionCrypto.generateLongTimeKeyPair()
Generates a new ed25519 key pair for signing and on-demand encryption.Methods in org.drasyl.crypto with parameters of type IdentityPublicKeyModifier 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
.Method parameters in org.drasyl.crypto with type arguments of type IdentityPublicKeyModifier 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
Constructors in org.drasyl.handler.remote with parameters of type IdentityPublicKeyModifierConstructorDescriptionApplicationMessageToPayloadCodec
(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
Fields in org.drasyl.handler.remote.internet declared as IdentityPublicKeyModifier and TypeFieldDescriptionprotected final IdentityPublicKey
InternetDiscoveryChildrenHandler.myPublicKey
protected final IdentityPublicKey
InternetDiscoverySuperPeerHandler.myPublicKey
Fields in org.drasyl.handler.remote.internet with type parameters of type IdentityPublicKeyModifier and TypeFieldDescriptionprotected final Map<IdentityPublicKey,
InternetDiscoveryChildrenHandler.SuperPeer> InternetDiscoveryChildrenHandler.superPeers
Constructors in org.drasyl.handler.remote.internet with parameters of type IdentityPublicKeyModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(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) Constructor parameters in org.drasyl.handler.remote.internet with type arguments of type IdentityPublicKeyModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(int myNetworkId, Identity myIdentity, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoveryChildrenHandler
(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
Methods in org.drasyl.handler.remote.protocol with parameters of type IdentityPublicKeyModifier 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> endpoints) Creates a newHelloMessage
.static HelloMessage
HelloMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> endpoints) 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> endpoints) -
Uses of IdentityPublicKey in org.drasyl.identity
Fields in org.drasyl.identity declared as IdentityPublicKeyMethods in org.drasyl.identity that return IdentityPublicKeyModifier 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) Methods in org.drasyl.identity that return types with arguments of type IdentityPublicKeyModifier and TypeMethodDescriptionabstract KeyPair<IdentityPublicKey,
IdentitySecretKey> Identity.getIdentityKeyPair()
Methods in org.drasyl.identity with parameters of type IdentityPublicKeyModifier and TypeMethodDescriptionstatic Identity
Identity.of
(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) Method parameters in org.drasyl.identity with type arguments of type IdentityPublicKeyModifier 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
Methods in org.drasyl.node that return IdentityPublicKeyModifier 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
.Methods in org.drasyl.node with parameters of type IdentityPublicKeyModifier 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
Fields in org.drasyl.node.handler.crypto declared as IdentityPublicKeyModifier and TypeFieldDescriptionprotected final IdentityPublicKey
AbstractArmHandler.peerIdentity
Constructors in org.drasyl.node.handler.crypto with parameters of type IdentityPublicKeyModifierConstructorDescriptionprotected
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
Methods in org.drasyl.node.plugin.groups.client that return IdentityPublicKeyMethods in org.drasyl.node.plugin.groups.client with parameters of type IdentityPublicKey -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client.event
Methods in org.drasyl.node.plugin.groups.client.event that return types with arguments of type IdentityPublicKeyMethods in org.drasyl.node.plugin.groups.client.event with parameters of type IdentityPublicKeyModifier and TypeMethodDescriptionstatic GroupMemberJoinedEvent
GroupMemberJoinedEvent.of
(IdentityPublicKey member, Group group) static GroupMemberLeftEvent
GroupMemberLeftEvent.of
(IdentityPublicKey member, Group group) Method parameters in org.drasyl.node.plugin.groups.client.event with type arguments of type IdentityPublicKeyModifier and TypeMethodDescriptionstatic GroupJoinedEvent
GroupJoinedEvent.of
(Group group, Set<IdentityPublicKey> members, Runnable leaveRun) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client.message
Methods in org.drasyl.node.plugin.groups.client.message that return IdentityPublicKeyModifier and TypeMethodDescriptionabstract IdentityPublicKey
MemberJoinedMessage.getMember()
abstract IdentityPublicKey
MemberLeftMessage.getMember()
Methods in org.drasyl.node.plugin.groups.client.message that return types with arguments of type IdentityPublicKeyModifier and TypeMethodDescriptionabstract Set<IdentityPublicKey>
GroupWelcomeMessage.getMembers()
Methods in org.drasyl.node.plugin.groups.client.message with parameters of type IdentityPublicKeyModifier and TypeMethodDescriptionstatic MemberJoinedMessage
MemberJoinedMessage.of
(IdentityPublicKey member, Group group) static MemberLeftMessage
MemberLeftMessage.of
(IdentityPublicKey member, Group group) Method parameters in org.drasyl.node.plugin.groups.client.message with type arguments of type IdentityPublicKeyModifier and TypeMethodDescriptionstatic GroupWelcomeMessage
GroupWelcomeMessage.of
(Group group, Set<IdentityPublicKey> members) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.manager.data
Methods in org.drasyl.node.plugin.groups.manager.data that return IdentityPublicKeyMethods in org.drasyl.node.plugin.groups.manager.data with parameters of type IdentityPublicKeyModifier and TypeMethodDescriptionGroup.getUri
(IdentityPublicKey manager) static Member
Member.of
(IdentityPublicKey publicKey) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.manager.database
Methods in org.drasyl.node.plugin.groups.manager.database with parameters of type IdentityPublicKeyModifier 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
Methods in org.drasyl.node.plugin.groups.manager.database.jdbc with parameters of type IdentityPublicKeyModifier and TypeMethodDescriptionboolean
JdbcDatabaseAdapter.removeGroupMember
(IdentityPublicKey member, String groupName)