SSL pinning Customer Journey – GBG IDscan Documentation

SSL pinning Customer Journey

This will use OKHTTP3 Certificate pining as Public Keys, if not added SSL pining will be ignored or if empty list provided.

Java

// Create intent to start scanner activity
 Intent customerJourney = new Intent(this, CustomerJourneyActivity.class);
 // Other extras …
 ArrayList certificateList = new ArrayList<>();
 certificateList.add(new Certificate("company.idscan.cloud", "SHA256/****"));
 customerJourney.putParcelableArrayListExtra(CustomerJourneyActivity.EXTRA_CERTIFICATES, certificateList);
 startActivity(customerJourney);

Was this page helpful?