if (reqmsg.requireKeyInfo()) {
// scep encrypts message with the RAs certificate
reqmsg.setKeyInfo(racert, rapriv, cryptProvider);
}
// Verify the request
if (reqmsg.verify() == false) {
String msg = "POPO verification failed.";
log.error(msg);
throw new SignRequestSignatureException(msg);
}
String username = reqmsg.getUsername();