Package-level declarations
Types
Link copied to clipboard
data class TrustPinConfiguration(val organizationId: String, val projectId: String, val publicKey: String, val mode: TrustPinMode = TrustPinMode.STRICT, val configurationURL: URL? = null)
Configuration values for a TrustPin instance.
Link copied to clipboard
Exception types raised by TrustPin.
Link copied to clipboard
Verbosity control for TrustPin log output.
Link copied to clipboard
Destination for TrustPin SDK log output.
Link copied to clipboard
Behaviour selector for domains that are not registered in the pinning configuration.
Link copied to clipboard
interface TrustPinValidationListener
Observer of certificate-pinning validation outcomes.
Functions
Link copied to clipboard
fun fromAssets(context: ERROR CLASS: Symbol not found for Context, fileName: String = "trustpin.json"): TrustPinConfiguration
Recommended Android setup — loads a TrustPinConfiguration from a JSON file bundled in the application's assets/ directory.
Link copied to clipboard
fun TrustPinConfiguration.Companion.fromAssets(context: ERROR CLASS: Symbol not found for Context, fileName: String = "trustpin.json"): TrustPinConfiguration
Kotlin call-site sugar so customers can write TrustPinConfiguration.fromAssets(context).
Link copied to clipboard
fun TrustPinConfiguration.withAndroidStorage(context: ERROR CLASS: Symbol not found for Context): TrustPinConfiguration
Programmatic Android setup — wires this configuration to the Android Context and returns the same instance.