App Pin Authenticator
class AppPinAuthenticator(val cryptoKey: CryptoKey, val keyStoreRepository: KeyStoreRepository = EncryptedFileKeyStore(cryptoKey.keyAlias))
An authenticator to authenticate the user with Application Pin
Constructors
Link copied to clipboard
constructor(cryptoKey: CryptoKey, keyStoreRepository: KeyStoreRepository = EncryptedFileKeyStore(cryptoKey.keyAlias))
Functions
Link copied to clipboard
Link copied to clipboard
Generate KeyPair, and persist the KeyPair to provided KeyStoreRepository
Link copied to clipboard
Return the key alias
Link copied to clipboard
Link copied to clipboard
Unlock the PrivateKey with the provided application pin