createKey
fun createKey(userId: String, passphrase: CharArray, algorithmType: KeyAlgorithmType, rsaBits: Int, onDone: () -> Unit)
Generates a new key ring for userId and imports it into the repository. The passphrase is wiped on completion; onDone runs on success.