Uses of Class
org.drasyl.identity.KeyPair
Packages that use KeyPair
Package
Description
Classes for crypto-related operations.
Contains classes to manage the
Identity of the drasyl node.Contains classes necessary for encrypted peer/application communication.
Provides hints for correct JSON (de)serialization.
-
Uses of KeyPair in org.drasyl.crypto
Methods in org.drasyl.crypto that return KeyPairModifier and TypeMethodDescriptionCrypto.convertLongTimeKeyPairToKeyAgreementKeyPair(KeyPair<IdentityPublicKey, IdentitySecretKey> keyPair) Converts the given ed25519 long timekeyPairinto a curve25519 key pair for (on-demand) key agreement.Crypto.generateEphemeralKeyPair()Generates a new curve25519 key pair for key exchange.Crypto.generateLongTimeKeyPair()Generates a new ed25519 key pair for signing and on-demand encryption.Methods in org.drasyl.crypto with parameters of type KeyPairModifier and TypeMethodDescriptionCrypto.convertLongTimeKeyPairToKeyAgreementKeyPair(KeyPair<IdentityPublicKey, IdentitySecretKey> keyPair) Converts the given ed25519 long timekeyPairinto a curve25519 key pair for (on-demand) key agreement.<P extends PublicKey,S extends SecretKey>
SessionPairCrypto.generateSessionKeyPair(KeyPair<P, S> myKeyPair, PublicKey receiverPublicKey) Generates session key pair from themyKeyPairandreceiverKeyPair. -
Uses of KeyPair in org.drasyl.identity
Methods in org.drasyl.identity that return KeyPairModifier and TypeMethodDescriptionabstract KeyPair<IdentityPublicKey,IdentitySecretKey> Identity.getIdentityKeyPair()Identity.getKeyAgreementKeyPair()KeyPair.of(P publicKey, S secretKey) Methods in org.drasyl.identity with parameters of type KeyPairModifier 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 KeyPair in org.drasyl.node.handler.crypto
Methods in org.drasyl.node.handler.crypto that return KeyPairConstructors in org.drasyl.node.handler.crypto with parameters of type KeyPairModifierConstructorDescription -
Uses of KeyPair in org.drasyl.node.identity.serialization
Methods in org.drasyl.node.identity.serialization that return KeyPairMethods in org.drasyl.node.identity.serialization with parameters of type KeyPairModifier and TypeMethodDescriptionstatic IdentityIdentityMixin.of(int proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair)