Uses of Class
org.drasyl.identity.IdentitySecretKey
Packages that use IdentitySecretKey
Package
Description
Classes for crypto-related operations.
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
.-
Uses of IdentitySecretKey in org.drasyl.crypto
Methods in org.drasyl.crypto that return types with arguments of type IdentitySecretKeyModifier and TypeMethodDescriptionCrypto.generateLongTimeKeyPair()
Generates a new ed25519 key pair for signing and on-demand encryption.Methods in org.drasyl.crypto with parameters of type IdentitySecretKeyModifier and TypeMethodDescriptionbyte[]
Crypto.sign
(byte[] message, IdentitySecretKey secretKey) Creates a signature for the givenmessage
with the givensecretKey
in detached mode (signature is not appended to message, rather it is standalone).Method parameters in org.drasyl.crypto with type arguments of type IdentitySecretKeyModifier 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 IdentitySecretKey in org.drasyl.handler.remote.internet
Constructors in org.drasyl.handler.remote.internet with parameters of type IdentitySecretKeyModifierConstructorDescriptionInternetDiscoveryChildrenHandler
(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 IdentitySecretKey in org.drasyl.handler.remote.protocol
Methods in org.drasyl.handler.remote.protocol with parameters of type IdentitySecretKeyModifier and TypeMethodDescriptionstatic 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
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> endpoints) Creates newHelloMessage
. -
Uses of IdentitySecretKey in org.drasyl.identity
Methods in org.drasyl.identity that return IdentitySecretKeyModifier and TypeMethodDescriptionIdentity.getIdentitySecretKey()
IdentitySecretKey.intern()
static IdentitySecretKey
IdentitySecretKey.of
(byte[] bytes) Converts a byte[] into aIdentitySecretKey
.static IdentitySecretKey
Converts aString
into aIdentitySecretKey
.static IdentitySecretKey
IdentitySecretKey.of
(ImmutableByteArray bytes) Methods in org.drasyl.identity that return types with arguments of type IdentitySecretKeyModifier and TypeMethodDescriptionabstract KeyPair<IdentityPublicKey,
IdentitySecretKey> Identity.getIdentityKeyPair()
Methods in org.drasyl.identity with parameters of type IdentitySecretKeyModifier and TypeMethodDescriptionstatic Identity
Identity.of
(int proofOfWork, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) Method parameters in org.drasyl.identity with type arguments of type IdentitySecretKeyModifier 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 IdentitySecretKey in org.drasyl.node
Methods in org.drasyl.node that return IdentitySecretKeyModifier and TypeMethodDescriptionabstract IdentitySecretKey
DrasylConfig.getIdentitySecretKey()
static IdentitySecretKey
DrasylConfig.getIdentitySecretKey
(com.typesafe.config.Config config, String path) Gets theIdentitySecretKey
at the given path.Methods in org.drasyl.node with parameters of type IdentitySecretKeyModifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.identitySecretKey
(IdentitySecretKey identitySecretKey)