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.
Provides hints for correct JSON (de)serialization.
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
ModifierConstructorDescriptionDrasylChannel
(DrasylServerChannel parent, IdentityPublicKey remoteAddress) -
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, Duration pingInterval, Duration pingTimeout, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork) LocalNetworkDiscovery
(Map<DrasylAddress, org.drasyl.handler.remote.LocalNetworkDiscovery.Peer> peers, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, Duration pingInterval, Duration pingTimeout, int networkId, io.netty.util.concurrent.Future<?> scheduledPingFuture) ModifierConstructorDescriptionStaticRoutesHandler
(Map<IdentityPublicKey, InetSocketAddress> staticRoutes) -
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, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, 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, 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, ProofOfWork myProofOfWork, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) InternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, LongSupplier currentTime, long initialPingDelayMillis, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, Map<IdentityPublicKey, InetSocketAddress> superPeerAddresses) TraversingInternetDiscoveryChildrenHandler
(int myNetworkId, IdentityPublicKey myPublicKey, 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 DiscoveryMessage
DiscoveryMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long childrenTime) Creates a newDiscoveryMessage
message.static DiscoveryMessage
DiscoveryMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long time, long childrenTime) Creates a newDiscoveryMessage
message.static DiscoveryMessage
DiscoveryMessage.of
(int networkId, IdentityPublicKey sender, ProofOfWork proofOfWork) Creates a new multicastDiscoveryMessage
message (sent byLocalNetworkDiscovery
}.static UniteMessage
UniteMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, DrasylAddress address, InetSocketAddress inetAddress) -
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 byte
ProofOfWork.getDifficulty
(ProofOfWork proofOfWork, IdentityPublicKey publicKey) static 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 TypeMethodDescriptionabstract IdentityPublicKey
DrasylConfig.getIdentityPublicKey()
static 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 TypeMethodDescriptionabstract com.google.common.collect.ImmutableMap<IdentityPublicKey,
InetSocketAddress> DrasylConfig.getRemoteStaticRoutes()
static Map<IdentityPublicKey,
InetSocketAddress> DrasylConfig.getStaticRoutes
(com.typesafe.config.Config config, String path) Modifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.identityPublicKey
(IdentityPublicKey identityPublicKey) static 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
.Modifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.remoteStaticRoutes
(Map<IdentityPublicKey, InetSocketAddress> remoteStaticRoutes) -
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.identity.serialization
Modifier and TypeMethodDescriptionstatic Identity
IdentityMixin.of
(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) -
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client
-
Uses of IdentityPublicKey in org.drasyl.node.plugin.groups.client.event
Modifier and TypeFieldDescriptionprotected final IdentityPublicKey
GroupMemberActionEvent.member
protected final IdentityPublicKey
GroupMemberActionEvent.member
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 TypeFieldDescriptionprotected final IdentityPublicKey
MemberActionMessage.member
protected final IdentityPublicKey
MemberActionMessage.member
ModifierConstructorDescriptionMemberJoinedMessage
(IdentityPublicKey member, Group group) MemberLeftMessage
(IdentityPublicKey member, Group group) -
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)