Uses of Interface
com.southernstorm.noise.protocol.DHState
Package | Description |
---|---|
com.southernstorm.noise.protocol |
Provides classes for communicating via the Noise protocol.
|
-
Uses of DHState in com.southernstorm.noise.protocol
Classes in com.southernstorm.noise.protocol that implement DHState Modifier and Type Class Description (package private) class
Curve25519DHState
Implementation of the Curve25519 algorithm for the Noise protocol.Methods in com.southernstorm.noise.protocol that return DHState Modifier and Type Method Description DHState
DHState. clone()
I2PDHState
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.Methods in com.southernstorm.noise.protocol with parameters of type DHState 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.