Uses of Class
org.drasyl.crypto.Crypto
Package
Description
Classes for crypto-related operations.
Contains classes necessary for encrypted protocol communication.
The protocol used for communication with remote peers.
Contains classes necessary for encrypted peer/application communication.
-
Uses of Crypto in org.drasyl.crypto
-
Uses of Crypto in org.drasyl.handler.remote.crypto
ModifierConstructorDescriptionProtocolArmHandler
(Identity myIdentity, Crypto crypto, int maxSessionsCount, Duration expireAfter) -
Uses of Crypto in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionFullReadMessage.arm
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message for sending it through untrustworthy channels.UnarmedProtocolMessage.arm
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message.UnarmedProtocolMessage.armAndRelease
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message and then releases this message.ArmedProtocolMessage.disarm
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage
) of this message.ArmedProtocolMessage.disarmAndRelease
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage
) of this message and then releases this message. -
Uses of Crypto in org.drasyl.node.handler.crypto
ModifierConstructorDescriptionprotected
AbstractArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
AbstractArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session) LongTimeArmHandler
(Crypto crypto, Duration expireAfter, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
LongTimeArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session) PFSArmHandler
(Crypto crypto, Duration expireAfter, Duration retryInterval, int maxAgreements, Identity identity, IdentityPublicKey peerIdentity) protected
PFSArmHandler
(Crypto crypto, Identity identity, IdentityPublicKey peerIdentity, Session session, LongSupplier expireProvider, Duration retryInterval, PFSArmHandler.State state)