Package | Description |
---|---|
com.southernstorm.noise.protocol |
Provides classes for communicating via the Noise protocol.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
Curve25519DHState
Implementation of the Curve25519 algorithm for the Noise protocol.
|
Modifier and Type | Method and Description |
---|---|
DHState |
DHState.clone()
I2P
|
DHState |
HandshakeState.getLocalEphemeralKeyPair()
Gets the keypair object for the local ephemeral key.
|
DHState |
HandshakeState.getLocalKeyPair()
Gets the keypair object for the local static key.
|
DHState |
HandshakeState.getRemotePublicKey()
Gets the public key object for the remote static key.
|
Modifier and Type | Method and Description |
---|---|
void |
DHState.calculate(byte[] sharedKey,
int offset,
DHState publicDH)
Performs a Diffie-Hellman calculation with this object as the private key.
|
void |
Curve25519DHState.calculate(byte[] sharedKey,
int offset,
DHState publicDH) |
void |
DHState.copyFrom(DHState other)
Copies the key values from another DH object of the same type.
|
void |
Curve25519DHState.copyFrom(DHState other) |
void |
SymmetricState.mixPublicKey(DHState dh)
Mixes a pre-supplied public key into the handshake hash.
|
void |
SymmetricState.mixPublicKeyIntoCK(DHState dh)
Mixes a pre-supplied public key into the chaining key.
|