try {
X509CertImpl cert1 = new X509CertImpl(
new Certificate(
new TBSCertificate(2, certSerialNumber1, signature,
new Name(certIssuerName),
new Validity(new Date(), new Date()),
new Name(certIssuerName),
new SubjectPublicKeyInfo(signature, new byte[10]),
null, null, null),
signature, new byte[10]));
X509CertImpl cert2 = new X509CertImpl(
new Certificate(
new TBSCertificate(2, certSerialNumber2, signature,
new Name(certIssuerName),
new Validity(new Date(), new Date()),
new Name(certIssuerName),
new SubjectPublicKeyInfo(signature, new byte[10]),
null, null, null),
signature, new byte[10]));
X509CertImpl cert3 = new X509CertImpl(
new Certificate(
new TBSCertificate(2, certSerialNumber3, signature,
new Name("O=Another Cert Issuer"),
new Validity(new Date(), new Date()),
new Name(certIssuerName),
new SubjectPublicKeyInfo(signature, new byte[10]),
null, null, null),
signature, new byte[10]));
assertFalse("Certificate should not be presented in CRL "