changePassphrase

fun changePassphrase(keyId: Long, oldPassphrase: CharArray, newPassphrase: CharArray, onDone: () -> Unit)

Re-encrypts the secret key keyId from oldPassphrase to newPassphrase. Both passphrase arrays are wiped on completion.