Uses of Class
org.drasyl.identity.KeyAgreementPublicKey
Package
Description
Classes for crypto-related operations.
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Contains classes necessary for encrypted peer/application communication.
-
Uses of KeyAgreementPublicKey in org.drasyl.crypto
Modifier and TypeMethodDescriptionCrypto.convertIdentityKeyToKeyAgreementKey
(IdentityPublicKey publicKey) Converts the given ed25519 long timepublicKey
into a curve25519 key for (on-demand) key agreement.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. -
Uses of KeyAgreementPublicKey in org.drasyl.identity
Modifier and TypeMethodDescriptionIdentity.getKeyAgreementPublicKey()
IdentityPublicKey.getLongTimeKeyAgreementKey()
KeyAgreementPublicKey.intern()
static KeyAgreementPublicKey
KeyAgreementPublicKey.of
(byte[] bytes) Converts a byte[] into aKeyAgreementPublicKey
.static KeyAgreementPublicKey
Converts aString
into aKeyAgreementPublicKey
.static KeyAgreementPublicKey
KeyAgreementPublicKey.of
(ImmutableByteArray bytes) -
Uses of KeyAgreementPublicKey in org.drasyl.node
Modifier and TypeMethodDescriptionstatic KeyAgreementPublicKey
DrasylConfig.getKeyAgreementPublicKey
(com.typesafe.config.Config config, String path) Gets theKeyAgreementPublicKey
at the given path. -
Uses of KeyAgreementPublicKey in org.drasyl.node.handler.crypto
Modifier and TypeMethodDescriptionPendingAgreement.getRecipientsKeyAgreementKey()
abstract KeyAgreementPublicKey
KeyExchangeMessage.getSessionKey()
Modifier and TypeMethodDescriptionstatic AgreementId
AgreementId.of
(KeyAgreementPublicKey pk1, KeyAgreementPublicKey pk2) static KeyExchangeMessage
KeyExchangeMessage.of
(KeyAgreementPublicKey sessionKey) void
PendingAgreement.setRecipientsKeyAgreementKey
(KeyAgreementPublicKey recipientsKeyAgreementKey) ModifierConstructorDescription -
Uses of KeyAgreementPublicKey in org.drasyl.serialization