4sure

work in progress

Introduction

The 4Sure App is designed to streamline the process of verifying digital credentials in a secure and efficient manner. Leveraging the power of Bluetooth Low Energy (BLE) technology, this app integrates the MOSIP (Modular Open Source Identity Platform) BLE Verifier SDK, facilitating seamless and wireless transfer of verifiable credentials (VCs). Additionally, the app is reinforced with the Biometric SDK module, which enables it to perform biometric authentication. This integration allows for accurate identity verification by using biometric data, such as facial recognition, providing an additional layer of security and trust in the verification process. This document aims to provide a comprehensive technical guide to assist developers, and other stakeholders in understanding, integrating, and maintaining the app.

4Sure integration workflow

4Sure Integration Workflow

BLE Verifier SDK

Types of states supported

  • Idle

  • Advertising

  • Connected

  • Secure connection established

  • Requested

  • Received

  • Error

  • Disconnected

4Sure BLE-SDK State diagram

If either the sender or receiver decides to cancel the transfer at any stage, the state will transition to Disconnected and become Idle as a result.

Face match SDK

This React Native package from the biometric-technologies enhances our app's biometric authentication capabilities through facial recognition. 4Sure utilizes the SDK's functions to capture a user's face and compare it with a stored image.

Example usage could look like this:

BiometricSDK.captureFace()
  .then(capturedImage => {
    BiometricSDK.compareFaces(capturedImage, storedImage)
      .then(matchResult => {
        if (matchResult) {
          // Handle successful match
        } else {
          // Handle mismatch
        }
      })
      .catch(error => {
        // Handle comparison error
      });
  })
  .catch(error => {
    // Handle capture error
  });

Open source integrations

Last updated

Logo

Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.

#712: Pramod's Jun 3 changes

Change request updated