CustomCertStore

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun clearUserDecisions()

Removes user (dis-)trust decisions for all certificates.

Link copied to clipboard
open override fun isTrusted(chain: Array<X509Certificate>, authType: String, trustSystemCerts: Boolean, appInForeground: StateFlow<Boolean>?): Boolean

Determines whether a certificate chain is trusted.

Link copied to clipboard

Determines whether a certificate has been explicitly accepted by the user. In this case, we can ignore an invalid host name for that certificate.

Link copied to clipboard

Sets this certificate as trusted.

Link copied to clipboard

Sets this certificate as untrusted.