public TestResult perform()
{
TestResult res;
res = checkCertificate(1, cert1);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(2, cert2);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(3, cert3);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(4, cert4);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(5, cert5);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(6, cert6);
if (!res.isSuccessful())
{
return res;
}
res = checkCertificate(7, cert7);
if (!res.isSuccessful())
{
return res;
}
res = checkAttributeCertificate(8,cert8);
if (!res.isSuccessful())
{
return res;
}
return new SimpleTestResult(true, getName() + ": Okay");