Uses of Class
org.drasyl.identity.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.
-
Uses of KeyPair in org.drasyl.crypto
Modifier and TypeMethodDescriptionCrypto.convertLongTimeKeyPairToKeyAgreementKeyPair
(KeyPair<IdentityPublicKey, IdentitySecretKey> keyPair) Converts the given ed25519 long timekeyPair
into 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.Modifier and TypeMethodDescriptionCrypto.convertLongTimeKeyPairToKeyAgreementKeyPair
(KeyPair<IdentityPublicKey, IdentitySecretKey> keyPair) Converts the given ed25519 long timekeyPair
into 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 themyKeyPair
andreceiverKeyPair
. -
Uses of KeyPair in org.drasyl.identity
Modifier and TypeMethodDescriptionabstract KeyPair<IdentityPublicKey,
IdentitySecretKey> Identity.getIdentityKeyPair()
Identity.getKeyAgreementKeyPair()
KeyPair.of
(P publicKey, S secretKey) 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 KeyPair in org.drasyl.node.handler.crypto
ModifierConstructorDescription