Skip to content

ws1-framework/com.airwatch.certpinning.repository/CertPinRepository

CertPinRepository

interface CertPinRepository

Repository interface for Certificate Pinning.

Functions

Name Summary
getAllHosts abstract fun getAllHosts(): List<HostRecord>
Gets all available host records.
getCertsByHostID abstract fun getCertsByHostID(vararg hostIds: Long): List<CertificateRecord>
Gets certificate records for particular hosts.
getCertsByPin abstract fun getCertsByPin(vararg pins: String): List<CertificateRecord>
Gets certificate records based on certificate pins.
getHostByHostName abstract fun getHostByHostName(hostname: String): HostRecord?
Searches for a HostRecord based on hostname.
getHosts abstract fun getHosts(vararg hostList: String): List<HostRecord>
Gets all host records based on host URLs.
getPinsByHost abstract fun getPinsByHost(vararg hosts: String): List<String>
Gets certificate pins for particular hosts.