SSL pining for Enterprise Service – GBG IDscan Documentation

SSL pining for Enterprise Service

You can add a certificate by providing a list to Enterprise Service builder.

Kotlin

val certificateList = MutableList<Certificate>()
certificateList.add(Certificate("company.idscan.cloud", "sha256/****"))
val enterpriseService = EnterpriseService.Builder(this)
    .baseUrl(baseUrl)
    .credentials(credentials)
    .certificates(certificateList)
    .build()
Was this page helpful?