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 givenmessagewith the givensecretKeyin 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 timekeyPairinto 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 HelloMessageHelloMessage.of(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long time, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> privateInetAddresses) Creates a newHelloMessage.static HelloMessageHelloMessage.of(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> privateInetAddresses) Creates a newHelloMessage.static HelloMessageHelloMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time, long childrenTime, IdentitySecretKey secretKey, Set<InetSocketAddress> privateInetAddresses) Creates newHelloMessage. -
Uses of IdentitySecretKey in org.drasyl.identity
Methods in org.drasyl.identity that return IdentitySecretKeyModifier and TypeMethodDescriptionIdentity.getIdentitySecretKey()IdentitySecretKey.intern()static IdentitySecretKeyIdentitySecretKey.of(byte[] bytes) Converts a byte[] into aIdentitySecretKey.static IdentitySecretKeyConverts aStringinto aIdentitySecretKey.static IdentitySecretKeyIdentitySecretKey.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 IdentityIdentity.of(int proofOfWork, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) Method parameters in org.drasyl.identity with type arguments of type IdentitySecretKeyModifier and TypeMethodDescriptionstatic IdentityIdentity.of(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) static IdentityIdentity.of(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair) static IdentityIdentity.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 IdentitySecretKeyDrasylConfig.getIdentitySecretKey()static IdentitySecretKeyDrasylConfig.getIdentitySecretKey(com.typesafe.config.Config config, String path) Gets theIdentitySecretKeyat the given path.Methods in org.drasyl.node with parameters of type IdentitySecretKeyModifier and TypeMethodDescriptionabstract DrasylConfig.BuilderDrasylConfig.Builder.identitySecretKey(IdentitySecretKey identitySecretKey)