CertStoreInspector certs = CertStoreInspector.getInstance(store);
final X509Certificate ca = certs.getIssuer();
X500Name name = new X500Name(ca.getIssuerX500Principal().toString());
IssuerAndSerialNumber iasn = new IssuerAndSerialNumber(name, serial);
Transport transport = createTransport(profile);
final Transaction t = new NonEnrollmentTransaction(transport,
getEncoder(identity, key, profile), getDecoder(identity, key,
profile), iasn, MessageType.GET_CERT);
State state;