Can I configure Kong for XML signature validation

I want to use Kong as API gateway, where I am exposing API. Whenever remote client sends request, it signs the XML message using signer certificate. Need to validate signature at Kong layer, and only if the signature is valid the request needs to be routed to desingated end point, otherwise need to be rejected.Can I configure Kong for XML signature validation?