Represent identity keys as byte arrays

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2023-05-26 10:12:22 -04:00
1 parent 796863341d
commit d832eaa759
32 files changed
+224 -195

No files matched your search

@@ -109,8 +109,8 @@ public final class Operations {
registrationPassword,
accountAttributes,
true,
Optional.of(Base64.getEncoder().encodeToString(aciIdentityKeyPair.getPublicKey().serialize())),
Optional.of(Base64.getEncoder().encodeToString(pniIdentityKeyPair.getPublicKey().serialize())),
Optional.of(aciIdentityKeyPair.getPublicKey().serialize()),
Optional.of(pniIdentityKeyPair.getPublicKey().serialize()),
Optional.of(generateSignedECPreKey(1, aciIdentityKeyPair)),
Optional.of(generateSignedECPreKey(2, pniIdentityKeyPair)),
Optional.of(generateSignedKEMPreKey(3, aciIdentityKeyPair)),