Package org.bouncycastle.mail.smime.test
Class SignedMailValidatorTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.mail.smime.test.SignedMailValidatorTest
-
- All Implemented Interfaces:
junit.framework.Test
public class SignedMailValidatorTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description SignedMailValidatorTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
void
setUp()
static junit.framework.Test
suite()
void
testCircular()
void
testCreateCertPath()
void
testExpired()
void
testExtendedReviewer()
void
testExtKeyUsage()
void
testKeyUsage()
void
testLongValidity()
void
testMultiEmail()
void
testNoEmail()
void
testNotYetValid()
void
testRevoked()
void
testSelfSignedCert()
void
testShortKey()
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
-
-
-
-
Method Detail
-
testShortKey
public void testShortKey() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyUsage
public void testKeyUsage() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiEmail
public void testMultiEmail() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testExtKeyUsage
public void testExtKeyUsage() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNoEmail
public void testNoEmail() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNotYetValid
public void testNotYetValid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testExpired
public void testExpired() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRevoked
public void testRevoked() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testLongValidity
public void testLongValidity() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSelfSignedCert
public void testSelfSignedCert() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCircular
public void testCircular() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testExtendedReviewer
public void testExtendedReviewer() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateCertPath
public void testCreateCertPath() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setUp
public void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
suite
public static junit.framework.Test suite() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-