gpt4 book ai didi

Android,选择密码套件

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:12:42 25 4
gpt4 key购买 nike

我有一个应用程序的代码库,但我看不到在哪里可以找到它在进行出站连接时使用的密码套件。谁能指出我正确的方向。当我在 Android Studio 中打开项目时,右键单击应用程序 -> 打开模块设置 -> Flavors 选项卡 -> Min Sdk Version 设置为 15,Target Sdk Version 设置为 API 21: Android 5.0 (Lollipop)

谢谢,

最佳答案

使用的密码套件取决于服务器 ssl 证书及其支持的密码。您可以在此处查看适用于不同 Android 版本的可用密码套件:

https://developer.android.com/reference/javax/net/ssl/SSLEngine.html

注意以下 fragment :

These kinds of protection are specified by a "cipher suite", which is a combination of cryptographic algorithms used by a given SSL connection. During the negotiation process, the two endpoints must agree on a cipher suite that is available in both environments. If there is no such suite in common, no SSL connection can be established, and no data can be exchanged.

如您所见,您的 Android 5.0 可以根据证书类型使用许多不同的套件。

关于Android,选择密码套件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38641355/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com