org.openoces.ooapi.validation.cert
Class RevocationCheckerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.openoces.ooapi.validation.cert.RevocationCheckerTest
All Implemented Interfaces:
junit.framework.Test

public class RevocationCheckerTest
extends junit.framework.TestCase


Field Summary
protected  PersonalOcesCertificate cYouth
           
protected  java.security.cert.X509Certificate personalYouthCertificate
           
 
Constructor Summary
RevocationCheckerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCheckRevocationOfNonRevokedCertificateUsingFullCRL()
           
 void testCheckRevocationOfNonRevokedCertificateUsingPartitionedCRL()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

personalYouthCertificate

protected java.security.cert.X509Certificate personalYouthCertificate

cYouth

protected PersonalOcesCertificate cYouth
Constructor Detail

RevocationCheckerTest

public RevocationCheckerTest()
Method Detail

testCheckRevocationOfNonRevokedCertificateUsingPartitionedCRL

public void testCheckRevocationOfNonRevokedCertificateUsingPartitionedCRL()
                                                                   throws CRLExpiredException,
                                                                          CRLNotYetValidException,
                                                                          InternalException
Throws:
CRLExpiredException
CRLNotYetValidException
InternalException

testCheckRevocationOfNonRevokedCertificateUsingFullCRL

public void testCheckRevocationOfNonRevokedCertificateUsingFullCRL()
                                                            throws CRLExpiredException,
                                                                   CRLNotYetValidException,
                                                                   InternalException
Throws:
CRLExpiredException
CRLNotYetValidException
InternalException

setUp

protected void setUp()
              throws java.security.cert.CertificateException,
                     java.io.IOException,
                     java.security.cert.CRLException,
                     CRLExpiredException,
                     CRLNotYetValidException
Throws:
java.security.cert.CertificateException
java.io.IOException
java.security.cert.CRLException
CRLExpiredException
CRLNotYetValidException

tearDown

protected void tearDown()