Packages that use DHState
Package
Description
Provides classes for communicating via the Noise protocol.
Uses of DHState in com.southernstorm.noise.protocol
Classes in com.southernstorm.noise.protocol that implement DHStateModifier and TypeClassDescription(package private) classImplementation of the Curve25519 algorithm for the Noise protocol.(package private) classImplementation of the MLKEM algorithm for the Noise protocol.Fields in com.southernstorm.noise.protocol declared as DHStateModifier and TypeFieldDescriptionprivate DHStateHandshakeState.localEphemeralOur ephemeral key pair for the handshake.private DHStateHandshakeState.localHybridOur hybrid key pair for the handshake.private DHStateHandshakeState.localKeyPairOur static key pair for the handshake.private DHStateHandshakeState.remoteEphemeralThe peer's ephemeral key, once received.private DHStateHandshakeState.remoteHybridThe peer's hybrid key, once received.private DHStateHandshakeState.remotePublicKeyThe peer's static key, once received.Methods in com.southernstorm.noise.protocol that return DHStateModifier and TypeMethodDescriptionDHState.clone()I2PHandshakeState.getLocalEphemeralKeyPair()Gets the keypair object for the local ephemeral key.HandshakeState.getLocalHybridKeyPair()Gets the keypair object for the local hybrid key.HandshakeState.getLocalKeyPair()Gets the keypair object for the local static key.HandshakeState.getRemoteHybridKeyPair()Gets the keypair object for the remote hybrid key.HandshakeState.getRemotePublicKey()Gets the public key object for the remote static key.Methods in com.southernstorm.noise.protocol with parameters of type DHStateModifier and TypeMethodDescriptionvoidvoidPerforms a Diffie-Hellman calculation with this object as the private key.voidSide effect: If we are Bob, copies the ciphertext to our public key so it may be written out in the message.voidvoidCopies the key values from another DH object of the same type.voidprivate voidMixes the result of a Diffie-Hellman calculation into the chaining key.voidSymmetricState.mixPublicKey(DHState dh) Mixes a pre-supplied public key into the handshake hash.voidSymmetricState.mixPublicKeyIntoCK(DHState dh) Mixes a pre-supplied public key into the chaining key.