|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase pk.edu.niit.clarens.test.PKCS8UnencryptedPrivateKeyBlockTest
Tests of the class that manage PKCS8 format private key pem blocks.
PKCS8UnencryptedPrivateKeyBlock
Constructor Summary | |
PKCS8UnencryptedPrivateKeyBlockTest(java.lang.String s)
Create a named test case. |
Method Summary | |
void |
testPKCS8KeyString()
Read a private key from string data. |
void |
testPKCS8PrivateKeyMismatch()
Attempt to read a traditional private key from string data. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PKCS8UnencryptedPrivateKeyBlockTest(java.lang.String s)
s
- The name of the test to construct.Method Detail |
public void testPKCS8KeyString() throws java.lang.Exception
java.lang.Exception
- Any thrown exceptions will cause the test to fail.public void testPKCS8PrivateKeyMismatch() throws java.lang.Exception
java.lang.Exception
- Any thrown exceptions will cause the test to fail.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |