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
SafetyNet Helper est une bibliothèque open source pour l'API Google Safety Net. Ça le rend plus facile pour les développeurs d'intégrer et d'utiliser ce grand service fourni par Google pour ajouter couche supplémentaire de validation du dispositif de votre application est exécuté. Ceci est l'échantillon app pour montrer comment cela fonctionne.
Si vous voulez passer directement au code aller ici -> https://github.com/scottyab/safetynethelper/
Cet exemple d'application va vérifier si votre appareil passe le test Google SafetyNet CTS
SafetyNet Helper fonctions de bibliothèque:
* Appel simplifié l'API SafetyNet
* Décodage du Web Token JSON (JWT) réponse en simples POJO
* Intégration avec l'API de vérification de périphériques pour vérifier le message JWT.
* SSL épinglant sur la connexion de l'API de vérification de l'appareil