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

getInstance

open fun getInstance(pin: ByteSecret): StaticPinProvider

Returns an instance of StaticPinProvider with PIN set.

Parameters

Name Summary
pin the ByteSecret to statically return. Takes ownership of the passed ByteSecret.

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

Returns an instance of StaticPinProvider with PIN and PUK set.

Parameters

Name Summary
pin the ByteSecret to statically return. Takes ownership of the passed ByteSecret.