Class DehydratedDeviceResult

java.lang.Object
io.github.fherbreteau.vodozemac.account.DehydratedDeviceResult

public final class DehydratedDeviceResult extends Object
Result of creating a dehydrated device from an Account.

A dehydrated device is a device that is stored encrypted on the server and can receive messages when the user has no other active devices.

Author:
François HERBRETEAU
See Also:
  • Method Details

    • ciphertext

      public String ciphertext()
      Returns the encrypted dehydrated device ciphertext.
      Returns:
      the ciphertext as a base64-encoded string
    • nonce

      public String nonce()
      Returns the nonce used to encrypt the dehydrated device.
      Returns:
      the nonce as a base64-encoded string
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object