hwsecurity / de.cotech.hw.secrets / PinProvider /

PinProvider

interface PinProvider

A provider of security key PINs.

Security keys are locked with a PIN, which authenticates all secret key operations. An instance of this interface is required as a parameter for all such operations.

See also

Name Summary
de.cotech.hw.secrets.StaticPinProvider

Functions

Name Summary
getPin

abstract fun getPin(securityKeyAid: Array<Byte>): ByteSecret

Returns a PIN for the security key identified by the given AID.The requirements for this PIN depend on the security key, but typically can be at least any sequenceof six or more alphanumeric characters.

getPuk

abstract fun getPuk(securityKeyAid: Array<Byte>): ByteSecret

Returns a PUK for the security key identified by the given AID.The requirements for this PUK depend on the security key, but typically can be at least any sequenceof eight or more alphanumeric characters.

Inheritors

Name
StaticPinProvider
AndroidPreferenceSimplePinProvider