code: CertificatePinner provideCertificatePinnerFor(Environment environment, CertificateBlacklist certificateBlacklist) {
      CertificatePinner.Builder certificatePinnerBuilder = new CertificatePinner.Builder();
      Map<String, List<String>> certificatesPins = provideCertificatesPinsFor(environment);
      certificatesPins = removeBlacklistedPins(certificatesPins, certificateBlacklist);
      addCertificatesPins(certificatesPins, certificatePinnerBuilder);
      return certificatePinnerBuilder.build();
    }
docs: Based on http://square.github.io/okhttp/3.x/okhttp/okhttp3/CertificatePinner.html
  
  @return The CertificatePinner instance