issuer.setId("1111111111111111111111111111111111111111");
issuer.setName("CN=AC Secretaria da Receita Federal do Brasil, O=ICP-Brasil, C=BR");
issuer.setDescription("AC Secretaria da Receita Federal do Brasil");
RevokedCertificateCompositePrimaryKey key1 = new RevokedCertificateCompositePrimaryKey(issuer, new BigInteger("11223344"));
RevokedCertificate cert1 = new RevokedCertificate(key1);
RevokedCertificateCompositePrimaryKey key2 = new RevokedCertificateCompositePrimaryKey(issuer, new BigInteger("22334455"));
RevokedCertificate cert2 = new RevokedCertificate(key2);
Calendar ts1 = Calendar.getInstance();
ts1.set(Calendar.YEAR, 2011);
ts1.set(Calendar.MONTH, Calendar.JUNE);
ts1.set(Calendar.DATE, 1);
ts1.set(Calendar.HOUR_OF_DAY, 8);
ts1.set(Calendar.MINUTE, 9);
ts1.set(Calendar.SECOND, 10);
ts1.set(Calendar.MILLISECOND, 0);
cert1.setRevocationReason("UserRequest");
cert1.setRevocationTimestamp(ts1);
Calendar ts2 = Calendar.getInstance();
ts2.set(Calendar.YEAR, 2012);
ts2.set(Calendar.MONTH, Calendar.JULY);
ts2.set(Calendar.DATE, 20);
ts2.set(Calendar.HOUR_OF_DAY, 15);
ts2.set(Calendar.MINUTE, 10);
ts2.set(Calendar.SECOND, 49);
ts2.set(Calendar.MILLISECOND, 0);
cert2.setRevocationReason("LostCertificate");
cert2.setRevocationTimestamp(ts2);
Set<RevokedCertificate> certificates = new HashSet<RevokedCertificate>();
certificates.add(cert2);
certificates.add(cert1);