| Package | Description |
|---|---|
| com.southernstorm.noise.protocol | Provides classes for communicating via the Noise protocol. |
| Modifier and Type | Method and Description |
|---|---|
static NoiseInit.PatternID | NoiseInit.PatternID.byPatternId(String pid)Lookup PatternID by string pattern ID |
static NoiseInit.PatternID | NoiseInit.PatternID.valueOf(String name)Returns the enum constant of this type with the specified name. |
static NoiseInit.PatternID[] | NoiseInit.PatternID.values()Returns an array containing the constants of this enum type, in
the order they are declared. |
| Constructor and Description |
|---|
HandshakeState(NoiseInit.PatternID patternId,
int role,
KeyFactory xdh)Creates a new Noise handshake. |
HandshakeState(NoiseInit.PatternID patternId,
int role,
KeyFactory xdh,
KeyFactory hdh)Creates a new Noise handshake. |
MLKEMDHState(boolean isAlice,
NoiseInit.PatternID patternId)Bob local/remote or Alice remote side, do not call generateKeyPair() |
MLKEMDHState(KeyFactory hdh,
NoiseInit.PatternID patternId)Alice local side |
SymmetricState(NoiseInit.PatternID patternId)Constructs a new symmetric state object. |