generateKeys

fun generateKeys(context: Context, pin: CharArray): KeyPair

Generate KeyPair, and persist the KeyPair to provided KeyStoreRepository

Return

The KeyPair

Parameters

context

The Application Context

pin

The pin to secure the generated Key