This is a very simple PoC on how to validate a detached CMS signature with bouncy castle.
neuhalje/cms-signature-validation-sample
Example on how to validate a detached CMS signature with bouncy castle
Java
Example on how to validate a detached CMS signature with bouncy castle
Java