Uses of Class
org.drasyl.node.handler.crypto.Agreement
Package
Description
Contains classes necessary for encrypted peer/application communication.
-
Uses of Agreement in org.drasyl.node.handler.crypto
Modifier and TypeMethodDescriptionPendingAgreement.buildAgreement
(Crypto crypto, long staleAt) protected abstract Agreement
AbstractArmHandler.getAgreement
(AgreementId agreementId) protected Agreement
LongTimeArmHandler.getAgreement
(AgreementId agreementId) protected Agreement
PFSArmHandler.getAgreement
(AgreementId agreementId) Session.getLongTimeAgreement()
static Agreement
Agreement.of
(AgreementId id, SessionPair sessionPair, long staleAt) Modifier and TypeMethodDescriptionSession.getCurrentActiveAgreement()
Session.getInitializedAgreements()
Modifier and TypeMethodDescriptionprotected ArmHeader
AbstractArmHandler.arm
(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement, io.netty.buffer.ByteBuf msg) protected abstract void
AbstractArmHandler.removeStaleAgreement
(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement) protected void
LongTimeArmHandler.removeStaleAgreement
(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement) protected void
PFSArmHandler.removeStaleAgreement
(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement) protected Object
AbstractArmHandler.unarm
(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement, Nonce nonce, io.netty.buffer.ByteBuf byteBuf) ModifierConstructorDescriptionSession
(Agreement longTimeAgreement, ConcurrentReference<PendingAgreement> currentInactiveAgreement, int maxAgreements, Duration sessionExpireTime)