Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/196.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何在AppWebView中选择客户端证书?_Android_Flutter_Client Certificates - Fatal编程技术网

Android 如何在AppWebView中选择客户端证书?

Android 如何在AppWebView中选择客户端证书?,android,flutter,client-certificates,Android,Flutter,Client Certificates,我正在编写一个flatter应用程序,它需要能够使用Azure Active Directory对用户进行身份验证。该应用程序仅供公司内部使用,只会安装在android手机上。为此,需要客户端证书。证书对于每个用户都是不同的,并且预先安装在手机上 对于身份验证的浏览器部分,我使用插件。它提供了以下活动: @override Future<ClientCertResponse> onReceivedClientCertRequest(ClientCertChallenge challe

我正在编写一个flatter应用程序,它需要能够使用Azure Active Directory对用户进行身份验证。该应用程序仅供公司内部使用,只会安装在android手机上。为此,需要客户端证书。证书对于每个用户都是不同的,并且预先安装在手机上

对于身份验证的浏览器部分,我使用插件。它提供了以下活动:

@override
Future<ClientCertResponse> onReceivedClientCertRequest(ClientCertChallenge challenge) async {}
@覆盖
未来onReceivedClientCertRequest(ClientCertChallenge挑战)异步{}
据我所知,ClientCertResponse在将证书作为资产包含时需要证书的路径。但我不能在应用程序中包含证书,因为每个用户的证书都不同

我现在的问题是:

  • 是否可以选择并使用安卓设备上安装的证书
  • 如果可能的话,我该怎么做