I don't want the Java validator to contact the OCSP responder.
I'm working on XAdES library, as such I'll need to use OCSP responses that somebody saved in the XML document to validate if the signatures were valid at some time in past. That makes it necessary to provide OCSP responses to CertPathBuilder
the same way CRLs are provided and make it use them to validate the certificates at some time in the past.
The Oracle documentation describes only how to make the validator contact the OCSP responders, it doesn't describe how to use OCSP responses for validation.
Is it possible to do using Java PKI API or Bouncy Caste Lightweight API?