Class OneTimeKeyGenerationResult
java.lang.Object
io.github.fherbreteau.vodozemac.account.OneTimeKeyGenerationResult
Result of generating one-time keys on an
Account.
The one-time key store inside an Account has a limited number of
places for one-time keys. If new keys are generated while the store is
completely populated, the oldest one-time keys are discarded to make room
for new ones.
This result contains both the newly created keys and the keys that were discarded to make room.
- Author:
- François HERBRETEAU
- See Also:
-
Method Details
-
created
Returns the public parts of the one-time keys that were created.Each key is a base64-encoded Curve25519 public key.
- Returns:
- a list of newly created one-time key strings
-
removed
Returns the public parts of the one-time keys that were discarded to make room for the newly created ones.Each key is a base64-encoded Curve25519 public key.
- Returns:
- a list of discarded one-time key strings
-
equals
-
hashCode
-
toString
-