String revokeCode = getRevocationCode(req);
if(XKMSConfig.isRevocationAllowed()){
if(revokeCode != null ){
X509Certificate newCert = revoke(revokeCode, revocationCodeId, cert);
if(newCert != null && req.getRespondWith().size() > 0){
KeyBindingAbstractType keyBinding = getResponseValues(req.getRevokeKeyBinding(), newCert, true, false);
result.getKeyBinding().add((KeyBindingType) keyBinding);
}
}
}else{
resultMajor = XKMSConstants.RESULTMAJOR_SENDER;