Uses of Class
org.drasyl.identity.IdentitySecretKey
Packages that use IdentitySecretKey
Package
Description
Classes for crypto-related operations.
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Provides hints for correct JSON (de)serialization.
-
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.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) -
Uses of IdentitySecretKey in org.drasyl.node.identity.serialization
Methods in org.drasyl.node.identity.serialization that return IdentitySecretKeyMethod parameters in org.drasyl.node.identity.serialization with type arguments of type IdentitySecretKeyModifier and TypeMethodDescriptionstatic Identity
IdentityMixin.of
(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair)