I would like to use OCSP checking for the certificate which is coming from the server during TLS handshake.
I am using Bouncy Castle as provider for OCSP implementation and BC verification methods want X509Certificate as parameter generally.
So; how can I follow and get incoming certificate chain at Java side and fetch it?
Thanks for your help.