}
} else {
if(reqmsg.getMessageType() == ScepRequestMessage.SCEP_TYPE_PKCSREQ) {
log.debug("Received a PKCSReq message from host: "+remoteAddr);
// Decrypt the Scep message and extract the pkcs10 request
if (reqmsg.requireKeyInfo()) {
// scep encrypts message with the RAs certificate
reqmsg.setKeyInfo(racert, rapriv, cryptProvider);
}
// Verify the request
if (reqmsg.verify() == false) {