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.
|
Modifier and Type | Class and Description |
---|---|
class |
ChaChaPolyCipherState
Implements the ChaChaPoly cipher for Noise.
|
Modifier and Type | Method and Description |
---|---|
static CipherState |
Noise.createCipher(String name)
Creates a cipher object from its Noise protocol name.
|
CipherState |
CipherState.fork(byte[] key,
int offset)
Creates a new instance of this cipher and initializes it with a key.
|
CipherState |
ChaChaPolyCipherState.fork(byte[] key,
int offset) |
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.
|
Constructor and Description |
---|
CipherStatePair(CipherState sender,
CipherState receiver)
Constructs a pair of CipherState objects.
|
Modifier and Type | Method and 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.
|