new

fun new(pattern: String, pin: String): PinnedCertificate

Create a new Pin

Return

PinnedCertificate The new pin

Parameters

pattern

The hostname pattern

pin

The hash to pin