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.Test
getName
in class org.bouncycastle.util.test.SimpleTest
public void testSuccessfulLoad() throws java.lang.Exception
java.lang.Exception
public void testSanityElGamal() throws java.lang.Exception
java.lang.Exception
public void testInducedChecksumFailed() throws java.lang.Exception
java.lang.Exception
public void testBrokenMagic() throws java.lang.Exception
java.lang.Exception
public void testNullSource() throws java.lang.Exception
java.lang.Exception
public void testNoFirstBlob() throws java.lang.Exception
java.lang.Exception
public void testDoubleFirstBlob() throws java.lang.Exception
java.lang.Exception
public void testKeyBoxWithMD5Sanity() throws java.lang.Exception
java.lang.Exception
public void testKeyBoxWithBrokenMD5() throws java.lang.Exception
java.lang.Exception
public void performTest() throws java.lang.Exception
performTest
in class org.bouncycastle.util.test.SimpleTest
java.lang.Exception