org.openoces.ooapi.cert
Class OcesCertificateFactoryTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.openoces.ooapi.cert.OcesCertificateFactoryTest
- All Implemented Interfaces:
- junit.framework.Test
- public class OcesCertificateFactoryTest
- extends junit.framework.TestCase
| 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 |
personalCertificate
protected java.security.cert.X509Certificate personalCertificate
employeeCertificate
protected java.security.cert.X509Certificate employeeCertificate
personalYouthCertificate
protected java.security.cert.X509Certificate personalYouthCertificate
organizationalCertificate
protected java.security.cert.X509Certificate organizationalCertificate
cPersonal
protected PersonalOcesCertificate cPersonal
cEmployee
protected EmployeeOcesCertificate cEmployee
cPersonalYouth
protected PersonalOcesCertificate cPersonalYouth
cOrganizational
protected PersonalOcesCertificate cOrganizational
OcesCertificateFactoryTest
public OcesCertificateFactoryTest()
testGenerationOfPersonalYouthCertificate
public void testGenerationOfPersonalYouthCertificate()
throws SignatureVerificationException,
NonOcesCertificateException,
InternalException
- Throws:
SignatureVerificationException
NonOcesCertificateException
InternalException
testGenerationOfOrganizationalCertificate
public void testGenerationOfOrganizationalCertificate()
throws SignatureVerificationException,
NonOcesCertificateException,
InternalException
- Throws:
SignatureVerificationException
NonOcesCertificateException
InternalException
testGenerationOfNonOcesCertificate
public void testGenerationOfNonOcesCertificate()
throws InternalException,
SignatureVerificationException
- Throws:
InternalException
SignatureVerificationException
testGenerationOfOcesCertificateFromDEREncoding
public void testGenerationOfOcesCertificateFromDEREncoding()
throws java.security.cert.CertificateException,
SignatureVerificationException,
NonOcesCertificateException,
InternalException
- Throws:
java.security.cert.CertificateException
SignatureVerificationException
NonOcesCertificateException
InternalException
testGenerationOfOcesCertificateFromObject
public void testGenerationOfOcesCertificateFromObject()
throws java.security.cert.CertificateException,
SignatureVerificationException,
NonOcesCertificateException,
InternalException
- Throws:
java.security.cert.CertificateException
SignatureVerificationException
NonOcesCertificateException
InternalException
testGenerationOfEmployeeCertificate
public void testGenerationOfEmployeeCertificate()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
testGenerationOfPersonalCertificateInTestEnv
public void testGenerationOfPersonalCertificateInTestEnv()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
testGenerationOfEmployeeCertificateInTestEnv
public void testGenerationOfEmployeeCertificateInTestEnv()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
testGenerationOfPersonalCertificateInSystemtestEnv
public void testGenerationOfPersonalCertificateInSystemtestEnv()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
testGenerationOfPersonalCertificate
public void testGenerationOfPersonalCertificate()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
testGenerationOfPersonalCertificate2
public void testGenerationOfPersonalCertificate2()
throws InternalException,
NonOcesCertificateException,
SignatureVerificationException
- Throws:
InternalException
NonOcesCertificateException
SignatureVerificationException
setUp
protected void setUp()
throws java.security.cert.CertificateException
- Throws:
java.security.cert.CertificateException
tearDown
protected void tearDown()