public void testGetRevokedCertificate1() {
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]));
assertNull("Certificate should not be presented in CRL "
+ "because issuer is not the same as CRL issuer",