Ok, let's try to implement it , being a beginner with JNI ...Could you please explain the JNI_CALL_METHOD and why the java signatures (in request_handler.cpp for example) are not always in full...
For the conversion from type java.security.cert.X509Certificate to CefX509Certificate and vice versa , what would be the more effective way ? (via PEM, via DER,....)? Could you please send a sample for each advice ?
The CefX509Certificate object is read-only. If you're asking how to identify the CefX509Certificate for passage to CefSelectClientCertificateCallback::Select I would suggest keeping the index in order to retrieve the original object.
Hello, I've added the following hook inside request_handler.cpp and in request_handler.h : bool RequestHandler::OnSelectClientCertificate( CefRefPtr<CefBrowser> browser, bool isProxy, const CefString& host, int port, const X509CertificateList& certificates, CefRefPtr<CefSelectClientCertificateCallback> callback) but it's never tiggered when navigating to a site requiring client auth, what could i miss ?
Sorry, it was a glitch of my xcode debug ... the hook works without issue. You told me that i should keep an index ok but where should i retrieve the const X509CertificateList& certificates (coming in the OnSelectClientCertificate hook) ? Or where should i store it ? To get access to it in the select call back ....