Bluetooth LE supports the ability to send authenticated data over an unencrypted ATT bearer between two devices with a trusted relationship. This is accomplished by signing the data with a Connection Signature Resolving Key (CSRK). The sending device places a signature after the Data PDU. The receiving device verifies the signature and if the signature is verified the Data PDU is assumed to come from the trusted source. The signature is composed of a Message Authentication Code generated by the signing algorithm and a counter. The counter is used to protect against a replay attack and is incremented on each signed Data PDU sent.
时间: 2024-04-26 07:26:35 浏览: 9
蓝牙低功耗支持在两个具有信任关系的设备之间通过未加密的ATT承载发送经过身份验证的数据。这是通过使用连接签名解析密钥(CSRK)对数据进行签名来实现的。发送设备在数据PDU之后放置签名。接收设备验证签名,如果签名验证成功,则假定数据PDU来自受信任的源。签名由签名算法生成的消息认证码和计数器组成。计数器用于防止重放攻击,并在发送每个已签名的数据PDU时递增。
相关问题
Bluetooth LE supports the ability to send authenticated data over an unencrypted ATT bearer between two devices with a trusted relationship. This is accomplished by signing the data with a Connection Signature Resolving Key (CSRK). The sending device places a signature after the Data PDU. The receiving device verifies the signature and if the signature is verified the Data
PDU is accepted as authentic.
蓝牙低功耗支持在两个具有信任关系的设备之间通过未加密的ATT承载发送经过身份验证的数据。这是通过使用连接签名解析密钥(CSRK)对数据进行签名来实现的。发送设备在数据PDU之后放置签名。接收设备验证签名,如果签名验证成功,则接受数据PDU为真实的。
Gradle JVM version incompatible. This project is configured to use an older Gradle JVM that supports up to version 11 but the current AGP requires a Gradle JVM that supports version 17.
这个问题是因为你的 Android Gradle 插件需要使用支持到 Java 17 版本的 Gradle JVM,而你当前使用的 Gradle JVM 版本只支持到 Java 11。解决这个问题需要升级你的 Gradle JVM 版本,具体步骤如下:
1. 打开你的项目根目录下的 gradle/wrapper/gradle-wrapper.properties 文件。
2. 修改 distributionUrl 属性的值为最新版本的 Gradle,例如:
```
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
```
这里以 Gradle 7.3.3 版本为例。
3. 保存修改后的 gradle-wrapper.properties 文件。
4. 在 Android Studio 中点击菜单栏的 "File" -> "Invalidate Caches / Restart",然后选择 "Invalidate and Restart" 选项重启 Android Studio。
5. 等待 Android Studio 重新构建 Gradle 项目,这可能需要一些时间。
6. 如果一切顺利,你的项目现在应该能够正常运行了。如果还有其他问题,请检查你的项目配置是否正确,或者在 Stack Overflow 等社区寻求帮助。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![none](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)