Uses of Interface
com.southernstorm.noise.protocol.CipherState
Packages that use CipherState
Package
Description
Provides classes for communicating via the Noise protocol.
The NTCP transport allows passing I2P messages on top of TCP.
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
-
Uses of CipherState in com.southernstorm.noise.protocol
Classes in com.southernstorm.noise.protocol that implement CipherStateModifier and TypeClassDescriptionclass
Implements the ChaChaPoly cipher for Noise.Methods in com.southernstorm.noise.protocol that return CipherStateModifier and TypeMethodDescriptionCipherState.clone()
I2Pstatic CipherState
Noise.createCipher
(String name) Creates a cipher object from its Noise protocol name.ChaChaPolyCipherState.fork
(byte[] key, int offset) CipherState.fork
(byte[] key, int offset) Creates a new instance of this cipher and initializes it with a key.CipherStatePair.getReceiver()
Gets the CipherState to use to receive packets from the remote party.CipherStatePair.getSender()
Gets the CipherState to use to send packets to the remote party.Constructors in com.southernstorm.noise.protocol with parameters of type CipherStateModifierConstructorDescriptionCipherStatePair
(CipherState sender, CipherState receiver) Constructs a pair of CipherState objects. -
Uses of CipherState in net.i2p.router.transport.ntcp
Methods in net.i2p.router.transport.ntcp with parameters of type CipherStateModifier and TypeMethodDescription(package private) void
NTCPConnection.failInboundEstablishment
(CipherState sender, byte[] sip_ba, int reason) We are Bob.(package private) void
NTCPConnection.finishInboundEstablishment
(CipherState sender, CipherState receiver, byte[] sip_ba, byte[] sip_ab, long clockSkew, NTCP2Options hisPadding) We are Bob.(package private) void
NTCPConnection.finishOutboundEstablishment
(CipherState sender, CipherState receiver, byte[] sip_ab, byte[] sip_ba, long clockSkew) We are Alice. -
Uses of CipherState in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp that return CipherStateModifier and TypeMethodDescription(package private) CipherState
PeerState2.getSendCipher()
caller must sync on returned object when encryptingConstructors in net.i2p.router.transport.udp with parameters of type CipherStateModifierConstructorDescriptionPeerState2
(RouterContext ctx, UDPTransport transport, InetSocketAddress remoteAddress, Hash remotePeer, boolean isInbound, int rtt, CipherState sendCha, CipherState rcvCha, long sendID, long rcvID, byte[] sendHdrKey1, byte[] sendHdrKey2, byte[] rcvHdrKey2)