Class AttestationServiceController


  • @SpringBootApplication
    @RestController
    @RequestMapping("/safetynet")
    public class AttestationServiceController
    extends Object
    • Constructor Detail

      • AttestationServiceController

        public AttestationServiceController()
    • Method Detail

      • processOffline

        @PostMapping(path="/offline/verify",
                     produces="application/json")
        public org.springframework.http.ResponseEntity<?> processOffline​(@RequestBody
                                                                         String attestation)
        Safetynet attestation verify using offline method.
        Parameters:
        attestation -
        Returns:
      • processOnline

        @PostMapping(path="/online/verify",
                     produces="application/json")
        public org.springframework.http.ResponseEntity<?> processOnline​(@RequestBody
                                                                        String attestation)
        Safetynet attestation verify using online method with Google API.
        Parameters:
        attestation -
        Returns: