SafetyNet Helper is an open source library for the Google Safety Net API. It’s makes it easier for developers to integrate and use this great service provided by Google to add extra layer of validation of the device your app is running on. This is the sample app to show how it works.
If you want to jump straight to the code go here -> https://github.com/scottyab/safetynethelper/
This sample app will check if your device passes the Google SafetyNet CTS test
SafetyNet Helper library features:
* Simplified call the SafetyNet API
* Decoding of the JSON Web Token (JWT) response into simple POJO
* Integration with the Device verification API to verify the JWT message.
* SSL pinning on the Device verification API connection
安全网助手对于谷歌安全网API的开源库。它使得开发人员更容易集成和使用由谷歌提供这个伟大的服务,以增加您的应用程序上运行的设备验证的额外层。这是示例应用程序,以显示它是如何工作。
如果您想直接跳到代码去这里 - > https://github.com/scottyab/safetynethelper/
此示例应用程序将检查你的设备通过谷歌CTS安全网测试
安全网助手库的特点:
*简化调用API安全网
JSON的网络令牌*解码(JWT)的响应转化为简单的POJO
*与设备的验证API来验证智威汤逊消息集成。
* SSL寄托在设备上验证API接口