Pin

class Pin(pattern: String, pin: String)

A hostname pattern and certificate hash for Certificate Pinning.

Constructors

Link copied to clipboard
constructor(pattern: String, pin: String)

Properties

Link copied to clipboard

The hash of the pinned certificate using hashAlgorithm.

Link copied to clipboard

Either sha1 or sha256.

Link copied to clipboard

A hostname like example.com or a pattern like *.example.com (canonical form).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun matchesCertificate(certificate: <Error class: unknown class>): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String