hwsecurity / de.cotech.hw.secrets / StaticPinProvider /

StaticPinProvider

open class StaticPinProvider : PinProvider

A trivial PinProvider that returns a static PIN.

Functions

Name Summary
getInstance

open fun getInstance(pin: ByteSecret): StaticPinProvider

Returns an instance of StaticPinProvider with PIN set.

open fun getInstance(pin: ByteSecret, puk: ByteSecret): StaticPinProvider

Returns an instance of StaticPinProvider with PIN and PUK set.

Properties

Name Summary
pin private open var pin: ByteSecret
puk private open var puk: ByteSecret