ShieldCertConfig

data class ShieldCertConfig(val apiKey: String, val host: String = HOST, val publicKey: String, val expiredTimeout: Duration = 60.toDuration(DurationUnit.MINUTES))

Configuration data for the ShieldCert SDK.

Constructors

Link copied to clipboard
constructor(apiKey: String, host: String = HOST, publicKey: String, expiredTimeout: Duration = 60.toDuration(DurationUnit.MINUTES))

Properties

Link copied to clipboard
val apiKey: String

The API key for accessing ShieldCert services.

Link copied to clipboard
val expiredTimeout: Duration

The duration after which cached pinning information is considered expired. Defaults to 60 minutes.

Link copied to clipboard
val host: String

The base URL for the ShieldCert server. Defaults to https://beta.shieldcert.com.

Link copied to clipboard
val publicKey: String

The public key used for validating server responses.