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 cPersonalSystemTest
           
protected  PersonalOcesCertificate cYouth
           
protected  java.security.cert.X509Certificate personalYouthCertificate
           
 
Constructor Summary
RevocationCheckerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCheckRevocationOfNonRevokedCertificateUsingFullCRL()
           
 void testCheckRevocationOfNonRevokedCertificateUsingOCSP()
           
 void testCheckRevocationOfNonRevokedCertificateUsingPartitionedCRL()
           
 void testCheckRevocationOfRevokedCertificateUsingFullCRLSystemtest()
           
 void testCheckRevocationOfRevokedCertificateUsingOCSPSystemTest()
           
 void testCheckRevocationOfRevokedCertificateUsingPartitionedCRLSystemtest()
           
 
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

cPersonalSystemTest

protected PersonalOcesCertificate cPersonalSystemTest
Constructor Detail

RevocationCheckerTest

public RevocationCheckerTest()
Method Detail

testCheckRevocationOfNonRevokedCertificateUsingPartitionedCRL

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

testCheckRevocationOfRevokedCertificateUsingPartitionedCRLSystemtest

public void testCheckRevocationOfRevokedCertificateUsingPartitionedCRLSystemtest()
                                                                          throws CRLExpiredException,
                                                                                 CRLNotYetValidException,
                                                                                 InternalException,
                                                                                 SignatureVerificationException
Throws:
CRLExpiredException
CRLNotYetValidException
InternalException
SignatureVerificationException

testCheckRevocationOfNonRevokedCertificateUsingFullCRL

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

testCheckRevocationOfRevokedCertificateUsingFullCRLSystemtest

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

testCheckRevocationOfNonRevokedCertificateUsingOCSP

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

testCheckRevocationOfRevokedCertificateUsingOCSPSystemTest

public void testCheckRevocationOfRevokedCertificateUsingOCSPSystemTest()
                                                                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()