Package | Description |
---|---|
com.tinfoilsms.test |
Modifier and Type | Method and Description |
---|---|
void |
ECGKeyExchangeTest.keyExchangeRecipient()
A test which verifies that the initiator receives the signed public key
from the recipient correctly and that the public key received matches the
original key sent.
|
void |
ECGKeyExchangeTest.manInMiddleAttackVer1()
"Man in the middle attack" test version 1, where an attacker intercepts Alice's key
and tries to sign it using his own shared information S1/S2.
|
void |
ECGKeyExchangeTest.manInMiddleAttackVer2()
"Man in the middle attack" test version 2, where an attacker intercepts Alice's key
and tries to sign it using his own shared information S1/S2.
|
void |
NonceTest.sameNonceSequence()
Test that alice and bob are able to generate the same sequence of nonces given
that they both have the same seeds.
|
void |
ECGKeyExchangeTest.signNoSharedInfo()
Test which verifies that an exception is thrown when the a priori shared information
S1 and S2 is not specified (empty)
Depends on APrioriInfoTest.noSharedInfo, APrioriInfoTest.oneSharedInfo
|
void |
ECEngineTest.uniqueEncryptedMsg()
Test which verifies that the block cipher used is creating uniquely encrypted
messages each time.
|