- generateKeyPair() - Method in interface com.southernstorm.noise.protocol.DHState
-
Generates a new random keypair.
- generateKeyPair(DHState) - Method in interface com.southernstorm.noise.protocol.DHStateHybrid
-
Generates a new random keypair relative to the parameters
in another object.
- getAction() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the next action that the application should perform for
the handshake part of the protocol.
- getCipherName() - Method in interface com.southernstorm.noise.protocol.CipherState
-
Gets the Noise protocol name for this cipher.
- getDHName() - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the Noise protocol name for this Diffie-Hellman algorithm.
- getFixedEphemeralKey() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the DHState object containing a fixed local ephemeral
key value for this handshake.
- getFixedHybridKey() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the DHState object containing a fixed local hybrid
key value for this handshake.
- getHandshakeHash() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the current value of the handshake hash.
- getKeyLength() - Method in interface com.southernstorm.noise.protocol.CipherState
-
Gets the length of the key values for this cipher.
- getLocalKeyPair() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the keypair object for the local static key.
- getMACLength() - Method in interface com.southernstorm.noise.protocol.CipherState
-
Gets the length of the MAC values for this cipher.
- getPrivateKey(byte[], int) - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the private key associated with this object.
- getPrivateKeyLength() - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the length of private keys for this algorithm.
- getProtocolName() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the name of the Noise protocol.
- getPublicKey(byte[], int) - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the public key associated with this object.
- getPublicKeyLength() - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the length of public keys for this algorithm.
- getReceiver() - Method in class com.southernstorm.noise.protocol.CipherStatePair
-
Gets the CipherState to use to receive packets from the remote party.
- getRemotePublicKey() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the public key object for the remote static key.
- getRole() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Gets the role for this handshake.
- getSender() - Method in class com.southernstorm.noise.protocol.CipherStatePair
-
Gets the CipherState to use to send packets to the remote party.
- getSharedKeyLength() - Method in interface com.southernstorm.noise.protocol.DHState
-
Gets the length of shared keys for this algorithm.
- senderOnly() - Method in class com.southernstorm.noise.protocol.CipherStatePair
-
Destroys the receiving CipherState and retains only the sending CipherState.
- setForceFallbacks(boolean) - Static method in class com.southernstorm.noise.protocol.Noise
-
Force the use of plain Java fallback crypto implementations.
- setNonce(long) - Method in interface com.southernstorm.noise.protocol.CipherState
-
Sets the nonce value.
- setPreSharedKey(byte[], int, int) - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Sets the pre-shared key for this handshake.
- setPrivateKey(byte[], int) - Method in interface com.southernstorm.noise.protocol.DHState
-
Sets the private key for this object.
- setPrologue(byte[], int, int) - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Sets the prologue for this handshake.
- setPublicKey(byte[], int) - Method in interface com.southernstorm.noise.protocol.DHState
-
Sets the public key for this object.
- setToNullPublicKey() - Method in interface com.southernstorm.noise.protocol.DHState
-
Sets this object to the null public key and clears the private key.
- specifyPeer(DHState) - Method in interface com.southernstorm.noise.protocol.DHStateHybrid
-
Specifies the local peer object prior to setting a public key
on a remote object.
- SPLIT - Static variable in class com.southernstorm.noise.protocol.HandshakeState
-
The handshake is over and the application is expected to call
split() and begin data session communications.
- split() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Splits the transport encryption CipherState objects out of
this HandshakeState object once the handshake completes.
- split(byte[], int, int) - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Splits the transport encryption CipherState objects out of
this HandshakeObject after mixing in a secondary symmetric key.
- start() - Method in class com.southernstorm.noise.protocol.HandshakeState
-
Starts the handshake running.
- swap() - Method in class com.southernstorm.noise.protocol.CipherStatePair
-
Swaps the sender and receiver.