Move IdentityKeyPair generation to KeyUtils

in preparation for rust libsignal which doesn't provide the method
This commit is contained in:
AsamK 2020-12-21 10:25:36 +01:00
parent 00339b1abe
commit 88d81c7a63
3 changed files with 15 additions and 2 deletions

View file

@ -52,7 +52,7 @@ public class ProvisioningManager {
this.serviceConfiguration = serviceConfiguration;
this.userAgent = userAgent;
identityKey = KeyHelper.generateIdentityKeyPair();
identityKey = KeyUtils.generateIdentityKeyPair();
registrationId = KeyHelper.generateRegistrationId(false);
password = KeyUtils.createPassword();
final SleepTimer timer = new UptimeSleepTimer();