Uses of Class
org.drasyl.identity.IdentityPublicKey
Package
Description
netty
Channel
for the drasyl overlay
network.Classes for crypto-related operations.
The protocol used for communication with remote peers.
Contains the pipeline handlers for TCP fallback connections.
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> DrasylServerChannelConfig.DEFAULT_SUPER_PEERS
static final io.netty.channel.ChannelOption<Map<IdentityPublicKey,
InetSocketAddress>> DrasylServerChannelConfig.SUPER_PEERS
Modifier and TypeMethodDescriptionvoid
DrasylServerChannelConfig.setSuperPeers
(Map<IdentityPublicKey, InetSocketAddress> superPeers) -
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.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> 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.handler.remote.tcp
ModifierConstructorDescriptionTcpClientConnected
(IdentityPublicKey publicKey, InetSocketAddress connectAddress) -
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) static IdentityPublicKey
IdentityPublicKey.ofDirect
(byte[] bytes) Converts a byte[] into aIdentityPublicKey
.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, 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, 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)