在Android 2.3.3上实现TLS 1.2 [英] Implementing TLS 1.2 on Android 2.3.3

查看:401
本文介绍了在Android 2.3.3上实现TLS 1.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图在Android上实现TLS 1.2。我创建一个SSLSocket,但是当我运行s.getSupportedProtocols()时,TLS 1.2不是其中的一个选项。支持TLSv1和SSLv3,但TLSv1.2不是。



关于这个问题,我需要的密码子也不在那里(TLS_ECDHE_ECDSA_WITH_AES_256 _...) p>

任何想法我可以导入或做什么来启用TLSv1.2和安全性的密码?有没有我失踪的东西?任何想法都会有所帮助!谢谢!

解决方案

只是为了文档目的(这个问题是3.5岁) - Android API文档列出了支持的SSL /每个API级别的TLS,包括特定的密码套件: https://developer.android.com/reference/ javax / net / ssl / SSLSocket.html


I have been trying to implement TLS 1.2 on Android. I create an SSLSocket s but when I run s.getSupportedProtocols(), TLS 1.2 is not one of the options. TLSv1 and SSLv3 are supported but TLSv1.2 is not.

In relation to that question, the ciphersuite I need is also not on there (TLS_ECDHE_ECDSA_WITH_AES_256_...)

Any idea on what I could import or do to enable TLSv1.2 and that cipher on android? Is there something I am missing? Any ideas would be helpful! Thanks!

解决方案

Just for documentation purpose (this question is 3.5 years old) - Android API documentation has a list of supported SSL/TLS per API level, including specific cipher suites: https://developer.android.com/reference/javax/net/ssl/SSLSocket.html

这篇关于在Android 2.3.3上实现TLS 1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆