Package | Description |
---|---|
com.southernstorm.noise.protocol |
Provides classes for communicating via the Noise protocol.
|
Modifier and Type | Class | Description |
---|---|---|
(package private) class |
Curve25519DHState |
Implementation of the Curve25519 algorithm for the Noise protocol.
|
Modifier and Type | Method | Description |
---|---|---|
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 | Description |
---|---|---|
void |
Curve25519DHState.calculate(byte[] sharedKey,
int offset,
DHState publicDH) |
|
void |
DHState.calculate(byte[] sharedKey,
int offset,
DHState publicDH) |
Performs a Diffie-Hellman calculation with this object as the private key.
|
void |
Curve25519DHState.copyFrom(DHState other) |
|
void |
DHState.copyFrom(DHState other) |
Copies the key values from another DH object of the same type.
|
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.
|