public class KeyBoxTest
extends org.bouncycastle.util.test.SimpleTest
| Constructor and Description |
|---|
KeyBoxTest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static void |
main(java.lang.String[] args) |
void |
performTest() |
void |
testBrokenMagic() |
void |
testDoubleFirstBlob() |
void |
testInducedChecksumFailed()
Induce a checksum failure in the first key block.
|
void |
testKeyBoxWithBrokenMD5() |
void |
testKeyBoxWithMD5Sanity() |
void |
testNoFirstBlob() |
void |
testNullSource() |
void |
testSanityElGamal()
Test load kb with El Gamal keys in it.
|
void |
testSuccessfulLoad()
Test loading a key store and extracting information.
|
public static void main(java.lang.String[] args)
public java.lang.String getName()
getName in interface org.bouncycastle.util.test.TestgetName in class org.bouncycastle.util.test.SimpleTestpublic void testSuccessfulLoad()
throws java.lang.Exception
java.lang.Exceptionpublic void testSanityElGamal()
throws java.lang.Exception
java.lang.Exceptionpublic void testInducedChecksumFailed()
throws java.lang.Exception
java.lang.Exceptionpublic void testBrokenMagic()
throws java.lang.Exception
java.lang.Exceptionpublic void testNullSource()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoFirstBlob()
throws java.lang.Exception
java.lang.Exceptionpublic void testDoubleFirstBlob()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyBoxWithMD5Sanity()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyBoxWithBrokenMD5()
throws java.lang.Exception
java.lang.Exceptionpublic void performTest()
throws java.lang.Exception
performTest in class org.bouncycastle.util.test.SimpleTestjava.lang.Exception