Index

B C D E F G H I N O R S T V W 
All Classes and Interfaces|All Packages|Serialized Form

B

build() - Method in class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Constructs a Noise handshake with the previously-configured protocol and keys.
build() - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a Noise handshake with the previously-specified handshake pattern, role key material and cryptographic components.
buildKey(byte[]) - Method in interface com.eatthepath.noise.component.NoiseCipher
Converts an array of bytes into a Key instance suitable for use with this cipher.

C

checkKeyPair(KeyPair) - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Checks that both of the keys in the given key pair are compatible with this key agreement algorithm.
checkPublicKey(PublicKey) - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Checks that the given public key is compatible with this key agreement algorithm.
com.eatthepath.noise - package com.eatthepath.noise
Provides classes and interfaces for performing handshakes and exchanging messages via a Noise protocol.
com.eatthepath.noise.component - package com.eatthepath.noise.component
Provides interfaces and concrete implementations of the cryptographic components of a Noise protocol (key agreement algorithms, ciphers, and hash algorithms).

D

decrypt(Key, long, byte[], byte[]) - Method in interface com.eatthepath.noise.component.NoiseCipher
Decrypts the given ciphertext and verifies its AEAD tag using the given key, nonce, and associated data.
decrypt(Key, long, byte[], int, int, byte[], int, int, byte[], int) - Method in interface com.eatthepath.noise.component.NoiseCipher
Decrypts the given ciphertext and verifies its AEAD tag.
decrypt(Key, long, ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.component.NoiseCipher
Decrypts the given ciphertext and verifies its AEAD tag using the given key, nonce, and associated data.
decrypt(Key, long, ByteBuffer, ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.component.NoiseCipher
Decrypts the given ciphertext and verifies its AEAD tag using the given key, nonce, and associated data.
deriveKeys(byte[], byte[], int) - Method in interface com.eatthepath.noise.component.NoiseHash
Derives two or three pseudo-random keys from the given chaining key and input key material using the HKDF algorithm with this Noise hash's HMAC algorithm.
deserializePublicKey(byte[]) - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Interprets a "raw" public key as a PublicKey compatible with this key agreement algorithm.

E

encrypt(Key, long, byte[], byte[]) - Method in interface com.eatthepath.noise.component.NoiseCipher
Encrypts the given plaintext using the given key, nonce, and associated data.
encrypt(Key, long, byte[], int, int, byte[], int, int, byte[], int) - Method in interface com.eatthepath.noise.component.NoiseCipher
Encrypts the given plaintext using the given key, nonce, and associated data.
encrypt(Key, long, ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.component.NoiseCipher
Encrypts the given plaintext using the given key, nonce, and associated data.
encrypt(Key, long, ByteBuffer, ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.component.NoiseCipher
Encrypts the given plaintext using the given key, nonce, and associated data.
Example - Search tag in package com.eatthepath.noise
Section

F

Fallback patterns - Search tag in Overview
Section
Fallback patterns - Search tag in class com.eatthepath.noise.NoiseHandshake
Section
fallbackTo(String) - Method in class com.eatthepath.noise.NoiseHandshake
"Falls back" to the named handshake pattern, transferring any appropriate static/ephemeral keys and an empty collection of pre-shared keys.
fallbackTo(String, List<byte[]>) - Method in class com.eatthepath.noise.NoiseHandshake
"Falls back" to the named handshake pattern, transferring any appropriate static/ephemeral keys and the given collection of pre-shared keys.
forI1K1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an I1K1 handshake.
forI1K1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an I1K1 handshake.
forI1KInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an I1K handshake.
forI1KResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an I1K handshake.
forI1NInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an I1N handshake.
forI1NResponder() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an I1N handshake.
forI1X1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an I1X1 handshake.
forI1X1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an I1X1 handshake.
forI1XInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an I1X handshake.
forI1XResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an I1X handshake.
forIK1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IK1 handshake.
forIK1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IK1 handshake.
forIKInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IK handshake.
forIKPsk1Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IKpsk1 handshake.
forIKPsk1Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IKpsk1 handshake.
forIKPsk2Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IKpsk2 handshake.
forIKPsk2Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IKpsk2 handshake.
forIKResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IK handshake.
forINInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IN handshake.
forINPsk1Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an INpsk1 handshake.
forINPsk1Responder(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an INpsk1 handshake.
forINPsk2Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an INpsk2 handshake.
forINPsk2Responder(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an INpsk2 handshake.
forINResponder() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IN handshake.
forIX1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IX1 handshake.
forIX1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IX1 handshake.
forIXInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IX handshake.
forIXPsk2Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an IXpsk2 handshake.
forIXPsk2Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IXpsk2 handshake.
forIXResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an IX handshake.
forK1K1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K1K1 handshake.
forK1K1Responder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K1K1 handshake.
forK1KInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K1K handshake.
forK1KResponder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K1K handshake.
forK1NInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K1N handshake.
forK1NResponder(PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K1N handshake.
forK1X1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K1X1 handshake.
forK1X1Responder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K1X1 handshake.
forK1XInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K1X handshake.
forK1XResponder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K1X handshake.
forKInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a K handshake.
forKK1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KK1 handshake.
forKK1Responder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KK1 handshake.
forKKInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KK handshake.
forKKPsk0Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KKpsk0 handshake.
forKKPsk0Responder(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KKpsk0 handshake.
forKKPsk2Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KKpsk2 handshake.
forKKPsk2Responder(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KKpsk2 handshake.
forKKResponder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KK handshake.
forKNInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KN handshake.
forKNPsk0Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KNpsk0 handshake.
forKNPsk0Responder(PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KNpsk0 handshake.
forKNPsk2Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KNpsk2 handshake.
forKNPsk2Responder(PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KNpsk2 handshake.
forKNResponder(PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KN handshake.
forKPsk0Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a Kpsk0 handshake.
forKPsk0Responder(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a Kpsk0 handshake.
forKResponder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a K handshake.
forKX1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KX1 handshake.
forKX1Responder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KX1 handshake.
forKXInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KX handshake.
forKXPsk2Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in a KXpsk2 handshake.
forKXPsk2Responder(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KXpsk2 handshake.
forKXResponder(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in a KX handshake.
forNInitiator(PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an N handshake.
forNK1Initiator(PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NK1 handshake.
forNK1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NK1 handshake.
forNKInitiator(PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NK handshake.
forNKPsk0Initiator(PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NKpsk0 handshake.
forNKPsk0Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NKpsk0 handshake.
forNKPsk2Initiator(PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NKpsk2 handshake.
forNKPsk2Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NKpsk2 handshake.
forNKResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NK handshake.
forNNInitiator() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NN handshake.
forNNPsk0Initiator(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NNpsk0 handshake.
forNNPsk0Responder(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NNpsk0 handshake.
forNNPsk2Initiator(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NNpsk2 handshake.
forNNPsk2Responder(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NNpsk2 handshake.
forNNResponder() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NN handshake.
forNPsk0Initiator(PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an Npsk0 handshake.
forNPsk0Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an Npsk0 handshake.
forNResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an N handshake.
forNX1Initiator() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NX1 handshake.
forNX1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NX1 handshake.
forNXInitiator() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NX handshake.
forNXPsk2Initiator(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an NXpsk2 handshake.
forNXPsk2Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NXpsk2 handshake.
forNXResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an NX handshake.
forX1K1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X1K1 handshake.
forX1K1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X1K1 handshake.
forX1KInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X1K handshake.
forX1KResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X1K handshake.
forX1NInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X1N handshake.
forX1NResponder() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X1N handshake.
forX1X1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X1X1 handshake.
forX1X1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X1X1 handshake.
forX1XInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X1X handshake.
forX1XResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X1X handshake.
forXInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an X handshake.
forXK1Initiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XK1 handshake.
forXK1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XK1 handshake.
forXKInitiator(KeyPair, PublicKey) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XK handshake.
forXKPsk3Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XKpsk3 handshake.
forXKPsk3Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XKpsk3 handshake.
forXKResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XK handshake.
forXNInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XN handshake.
forXNPsk3Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XNpsk3 handshake.
forXNPsk3Responder(byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XNpsk3 handshake.
forXNResponder() - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XN handshake.
forXPsk1Initiator(KeyPair, PublicKey, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an Xpsk1 handshake.
forXPsk1Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an Xpsk1 handshake.
forXResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an X handshake.
forXX1Initiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XX1 handshake.
forXX1Responder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XX1 handshake.
forXXInitiator(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XX handshake.
forXXPsk3Initiator(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the initiator in an XXpsk3 handshake.
forXXPsk3Responder(KeyPair, byte[]) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XXpsk3 handshake.
forXXResponder(KeyPair) - Static method in class com.eatthepath.noise.NoiseHandshakeBuilder
Constructs a new Noise handshake builder for the responder in an XX handshake.

G

generateKeyPair() - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Generates a new key pair compatible with this key agreement algorithm for use in a Noise handshake.
generateSecret(PrivateKey, PublicKey) - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Calculates a shared secret from a local private key and a remote public key.
getCiphertextLength(int) - Method in interface com.eatthepath.noise.component.NoiseCipher
Returns the size of a buffer needed to hold the ciphertext produced by encrypting a plaintext of the given length (the length of the plaintext plus the length of an AEAD tag).
getCiphertextLength(int) - Method in interface com.eatthepath.noise.NoiseTransportWriter
Returns the length of the ciphertext resulting from the encryption of a plaintext of the given length.
getHash() - Method in class com.eatthepath.noise.NoiseHandshake
Returns a hash of this handshake's state that uniquely identifies the Noise session.
getHashLength() - Method in interface com.eatthepath.noise.component.NoiseHash
Returns the length of a digest produced by the MessageDigest or Mac provided by this Noise hash.
getHmac() - Method in interface com.eatthepath.noise.component.NoiseHash
Returns a new Mac instance for calculating HMAC digests using this Noise hash's hashing algorithm.
getInstance(String) - Static method in interface com.eatthepath.noise.component.NoiseCipher
Returns a NoiseCipher instance that implements the named cipher algorithm.
getInstance(String) - Static method in interface com.eatthepath.noise.component.NoiseHash
Returns a NoiseHash instance that implements the named hash algorithm.
getInstance(String) - Static method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Returns a NoiseKeyAgreement instance that implements the named key agreement algorithm.
getMessageDigest() - Method in interface com.eatthepath.noise.component.NoiseHash
Returns a new MessageDigest for calculating hashes using this Noise hash's hashing algorithm.
getName() - Method in interface com.eatthepath.noise.component.NoiseCipher
Returns the name of this Noise cipher as it would appear in a full Noise protocol name.
getName() - Method in interface com.eatthepath.noise.component.NoiseHash
Returns the name of this Noise hash as it would appear in a full Noise protocol name.
getName() - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Returns the name of this Noise key agreement as it would appear in a full Noise protocol name.
getNoiseProtocolName() - Method in class com.eatthepath.noise.NoiseHandshake
Returns the full name of the Noise protocol for this handshake.
getOutboundMessageLength(int) - Method in class com.eatthepath.noise.NoiseHandshake
Returns the length of the Noise handshake message this handshake would produce for a payload with the given length and with this handshake's current state.
getPayloadLength(int) - Method in class com.eatthepath.noise.NoiseHandshake
Returns the length of the plaintext of a payload contained in a Noise handshake message of the given length and with this handshake's current state.
getPlaintextLength(int) - Method in interface com.eatthepath.noise.component.NoiseCipher
Returns the size of a buffer needed to hold the plaintext produced by decrypting a ciphertext of the given length (the length of the ciphertext minus the length of the AEAD tag).
getPlaintextLength(int) - Method in interface com.eatthepath.noise.NoiseTransportReader
Returns the length of the plaintext resulting from the decryption of a ciphertext of the given size.
getPublicKeyLength() - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Returns the length of public keys and shared secrets generated by this key agreement algorithm.

H

Handshakes - Search tag in Overview
Section

I

INITIATOR - Enum constant in enum class com.eatthepath.noise.NoiseHandshake.Role
Indicates that a party is the initiator of a Noise handshake.
Interactive patterns - Search tag in Overview
Section
Interactive patterns - Search tag in class com.eatthepath.noise.NoiseHandshake
Section
isDone() - Method in class com.eatthepath.noise.NoiseHandshake
Checks if this handshake has successfully exchanged all messages required by its handshake pattern.
isExpectingRead() - Method in class com.eatthepath.noise.NoiseHandshake
Checks if this handshake is currently expecting to receive a handshake message from its peer.
isExpectingWrite() - Method in class com.eatthepath.noise.NoiseHandshake
Checks if this handshake is currently expecting to send a handshake message to its peer.
isOneWayHandshake() - Method in class com.eatthepath.noise.NoiseHandshake
Checks whether this is a handshake for a one-way Noise handshake pattern.

N

NamedProtocolHandshakeBuilder - Class in com.eatthepath.noise
A NamedProtocolHandshakeBuilder constructs NoiseHandshake instances given a full Noise protocol name and a role (initiator or responder).
NamedProtocolHandshakeBuilder(String, NoiseHandshake.Role) - Constructor for class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Constructs a new Noise handshake for the given Noise protocol name and role.
NoiseCipher - Interface in com.eatthepath.noise.component
A Noise cipher is a stateless object that encrypts and decrypts data for use in a Noise protocol.
NoiseHandshake - Class in com.eatthepath.noise
A NoiseHandshake instance is responsible for encrypting and decrypting the messages that comprise a Noise handshake.
NoiseHandshake.Role - Enum Class in com.eatthepath.noise
An enumeration of roles within a Noise handshake.
NoiseHandshakeBuilder - Class in com.eatthepath.noise
A Noise handshake builder constructs NoiseHandshake instances with known handshake patterns and roles.
NoiseHash - Interface in com.eatthepath.noise.component
A Noise hash implementation encapsulates the hashing functionality of a Noise protocol.
NoiseKeyAgreement - Interface in com.eatthepath.noise.component
A Noise key agreement implementation encapsulates the key agreement functions of a Noise protocol.
NoiseTransport - Interface in com.eatthepath.noise
A Noise transport is an interactive reader and writer of Noise transport messages.
NoiseTransportReader - Interface in com.eatthepath.noise
A Noise transport reader decrypts Noise transport messages.
NoiseTransportWriter - Interface in com.eatthepath.noise
A Noise transport writer encrypts Noise transport messages.
NoSuchPatternException - Exception Class in com.eatthepath.noise
Indicates that a named pattern is not a recognized fundamental or deferred Noise handshake pattern and cannot be derived by modifying a recognized fundamental or deferred Noise handshake pattern.
NoSuchPatternException(String) - Constructor for exception class com.eatthepath.noise.NoSuchPatternException
Constructs a new "no such pattern" exception.

O

One-way patterns - Search tag in Overview
Section
One-way patterns - Search tag in class com.eatthepath.noise.NoiseHandshake
Section

R

readMessage(byte[]) - Method in class com.eatthepath.noise.NoiseHandshake
Reads the next handshake message, advancing this handshake's internal state.
readMessage(byte[]) - Method in interface com.eatthepath.noise.NoiseTransportReader
Decrypts a Noise transport message, returning a new byte array sized exactly to contain the resulting plaintext.
readMessage(byte[], int, int, byte[], int) - Method in class com.eatthepath.noise.NoiseHandshake
Reads the next handshake message, writing the plaintext of the message's payload into the given array and advancing this handshake's internal state.
readMessage(byte[], int, int, byte[], int) - Method in interface com.eatthepath.noise.NoiseTransportReader
Decrypts a Noise transport message and writes the resulting plaintext into the given byte array.
readMessage(ByteBuffer) - Method in class com.eatthepath.noise.NoiseHandshake
Reads the next handshake message, advancing this handshake's internal state.
readMessage(ByteBuffer) - Method in interface com.eatthepath.noise.NoiseTransportReader
Decrypts a Noise transport message and verifies its AEAD tag.
readMessage(ByteBuffer, ByteBuffer) - Method in class com.eatthepath.noise.NoiseHandshake
Reads the next handshake message, writing the plaintext of the message's payload into the given buffer and advancing this handshake's internal state.
readMessage(ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.NoiseTransportReader
Decrypts a Noise transport message and verifies its AEAD tag.
rekey(Key) - Method in interface com.eatthepath.noise.component.NoiseCipher
Generates a new pseudo-random key as a function of the given key.
rekeyReader() - Method in interface com.eatthepath.noise.NoiseTransportReader
Sets the decryption key used by this reader to a new pseudo-random key derived from the current key.
rekeyWriter() - Method in interface com.eatthepath.noise.NoiseTransportWriter
Sets the encryption key used by this writer to a new pseudo-random key derived from the current key.
RESPONDER - Enum constant in enum class com.eatthepath.noise.NoiseHandshake.Role
Indicates that a party is the responder in a Noise handshake.

S

serializePublicKey(PublicKey) - Method in interface com.eatthepath.noise.component.NoiseKeyAgreement
Serializes a public key compatible with this key agreement algorithm to an array of bytes suitable for transmission in a Noise handshake message.
setCipher(String) - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Sets the cipher to be used by this handshake.
setComponentsFromProtocolName(String) - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Sets the cryptographic components (key agreement, cipher, and hash algorithms) for this handshake from a full Noise protocol name.
setHash(String) - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Sets the hash algorithm to be used by this handshake.
setKeyAgreement(String) - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Sets the key agreement algorithm to be used by this handshake.
setLocalStaticKeyPair(KeyPair) - Method in class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Sets the local static key pair for this handshake.
setPreSharedKeys(List<byte[]>) - Method in class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Sets the pre-shared keys for this handshake.
setPrologue(byte[]) - Method in class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Sets the prologue for this handshake.
setPrologue(byte[]) - Method in class com.eatthepath.noise.NoiseHandshakeBuilder
Sets the prologue for this handshake.
setRemoteStaticPublicKey(PublicKey) - Method in class com.eatthepath.noise.NamedProtocolHandshakeBuilder
Sets the remote static public key for this handshake.

T

toTransport() - Method in class com.eatthepath.noise.NoiseHandshake
Builds a interactive Noise transport object from this handshake.
toTransportReader() - Method in class com.eatthepath.noise.NoiseHandshake
Builds a read-only Noise transport object from this handshake.
toTransportWriter() - Method in class com.eatthepath.noise.NoiseHandshake
Builds a write-only Noise transport object from this handshake.
Transports - Search tag in Overview
Section

V

valueOf(String) - Static method in enum class com.eatthepath.noise.NoiseHandshake.Role
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.eatthepath.noise.NoiseHandshake.Role
Returns an array containing the constants of this enum class, in the order they are declared.

W

writeMessage(byte[]) - Method in class com.eatthepath.noise.NoiseHandshake
Writes the next Noise handshake message for this handshake instance, advancing this handshake's internal state.
writeMessage(byte[]) - Method in interface com.eatthepath.noise.NoiseTransportWriter
Encrypts a Noise transport message, returning a byte array sized exactly to contain the resulting ciphertext.
writeMessage(byte[], int, int, byte[], int) - Method in class com.eatthepath.noise.NoiseHandshake
Writes the next Noise handshake message for this handshake instance into the given array, advancing this handshake's internal state.
writeMessage(byte[], int, int, byte[], int) - Method in interface com.eatthepath.noise.NoiseTransportWriter
Encrypts a Noise transport message.
writeMessage(ByteBuffer) - Method in class com.eatthepath.noise.NoiseHandshake
Writes the next Noise handshake message for this handshake instance, advancing this handshake's internal state.
writeMessage(ByteBuffer) - Method in interface com.eatthepath.noise.NoiseTransportWriter
Encrypts a Noise transport message, returning a new byte buffer sized exactly to contain the resulting ciphertext.
writeMessage(ByteBuffer, ByteBuffer) - Method in class com.eatthepath.noise.NoiseHandshake
Writes the next Noise handshake message for this handshake instance into the given buffer, advancing this handshake's internal state.
writeMessage(ByteBuffer, ByteBuffer) - Method in interface com.eatthepath.noise.NoiseTransportWriter
Encrypts a Noise transport message.
B C D E F G H I N O R S T V W 
All Classes and Interfaces|All Packages|Serialized Form