signedData = encode(request);
} catch (MessageEncodingException e) {
throw new TransactionException(e);
}
LOGGER.debug("Sending {}", signedData);
PkiOperationResponseHandler handler = new PkiOperationResponseHandler();
CMSSignedData res = send(handler, new PkiOperationRequest(signedData));
LOGGER.debug("Received response {}", res);
CertRep response;
try {