Uses of Interface
com.southernstorm.noise.protocol.CipherState
-
Packages that use CipherState Package Description com.southernstorm.noise.protocol Provides classes for communicating via the Noise protocol.net.i2p.router.transport.ntcp The NTCP transport allows passing I2P messages on top of TCP.net.i2p.router.transport.udp 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 CipherState Modifier and Type Class Description class
ChaChaPolyCipherState
Implements the ChaChaPoly cipher for Noise.Methods in com.southernstorm.noise.protocol that return CipherState Modifier and Type Method Description CipherState
CipherState. clone()
I2Pstatic CipherState
Noise. createCipher(String name)
Creates a cipher object from its Noise protocol name.CipherState
ChaChaPolyCipherState. fork(byte[] key, int offset)
CipherState
CipherState. fork(byte[] key, int offset)
Creates a new instance of this cipher and initializes it with a key.CipherState
CipherStatePair. getReceiver()
Gets the CipherState to use to receive packets from the remote party.CipherState
CipherStatePair. getSender()
Gets the CipherState to use to send packets to the remote party.Constructors in com.southernstorm.noise.protocol with parameters of type CipherState Constructor Description CipherStatePair(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 CipherState Modifier and Type Method Description (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 CipherState Modifier and Type Method Description (package private) CipherState
PeerState2. getRcvCipher()
CipherState
PeerState2. getSendCipher()
Caller must sync on returned object when encryptingCipherState
PeerStateDestroyed. getSendCipher()
CipherState
SSU2Sender. getSendCipher()
Constructors in net.i2p.router.transport.udp with parameters of type CipherState Constructor Description PeerState2(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)
PeerStateDestroyed(RouterContext ctx, UDPTransport transport, RemoteHostId id, long sendID, long rcvID, CipherState sendCha, CipherState rcvCha, byte[] sendKey1, byte[] sendKey2, byte[] rcvKey2, int reason)
Direct from IES2, there was never a PS2.
-