Bouncy Castle Cryptography Library 1.46

org.bouncycastle.mail.smime.test
Class SignedMailValidatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.bouncycastle.mail.smime.test.SignedMailValidatorTest
All Implemented Interfaces:
junit.framework.Test

public class SignedMailValidatorTest
extends junit.framework.TestCase


Constructor Summary
SignedMailValidatorTest()
           
 
Method Summary
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 testNoEmail()
           
 void testNotYetValid()
           
 void testRevoked()
           
 void testSelfSignedCert()
           
 void testShortKey()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignedMailValidatorTest

public SignedMailValidatorTest()
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

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 class junit.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

Bouncy Castle Cryptography Library 1.46