Uses of Interface
com.southernstorm.noise.protocol.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
Modifier and TypeClassDescriptionclass
Implements the ChaChaPoly cipher for Noise.Modifier 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.ModifierConstructorDescriptionCipherStatePair
(CipherState sender, CipherState receiver) Constructs a pair of CipherState objects. -
Uses of CipherState in net.i2p.router.transport.ntcp
Modifier 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
Modifier and TypeMethodDescription(package private) CipherState
PeerState2.getSendCipher()
caller must sync on returned object when encryptingModifierConstructorDescriptionPeerState2
(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)