ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
在DialogHandler.onSelectCertificate(CertificatesDialogParams params)方法中,您不仅可以从给定的证书列表中选择SSL证书,还可以选择从标准Ja​​va X509Certificate类实例化的SSL证书。例如: ``` browser.setDialogHandler(new DefaultDialogHandler(view) { @Override public CloseStatus onSelectCertificate(CertificatesDialogParams params) { X509Certificate x509Certificate = loadCertificate(); params.setSelectedCertificate(new Certificate(x509Certificate)); return CloseStatus.OK; } }); ```