delete

suspend fun delete(userKey: UserKey)

Deletes a specific user key from storage.

Removes the user key metadata for the user specified in the provided UserKey object. This is a convenience method that delegates to deleteByUserId using the UserKey's userId.

Note: This only removes the metadata - the actual cryptographic keys in the Android KeyStore must be deleted separately using the appropriate CryptoKey methods.

Parameters

userKey

The UserKey to delete from storage