Class VaultMember

java.lang.Object
lol.trq.alts.vault.VaultMember

public final class VaultMember extends Object
One member of a repository as the latest verified manifest state lists it (AVP SPEC 4.2): a view of the roster, not an identity. Pass it to SharedVault.removeMember(VaultMember) to remove that member.
Since:
1.0.0
  • Method Details

    • memberId

      public String memberId()
      The member id: the member's Ed25519 public key, base64, as lastUsedBy and observedBy name it.
      Returns:
      the member id
      Since:
      1.0.0
    • fingerprint

      public String fingerprint()
      The key fingerprint (SPEC 3.2), xxxx-xxxx-xxxx-xxxx, to compare out of band.
      Returns:
      the fingerprint
      Since:
      1.0.0
    • homeHostKey

      public String homeHostKey()
      The key of the host this member syncs through, base64.
      Returns:
      the home host key
      Since:
      1.0.0
    • owner

      public boolean owner()
      Whether this member is the owner's device.
      Returns:
      whether its key is the owner key
      Since:
      1.0.0
    • equals

      public boolean equals(Object o)
      Whether o is the same member as listed in the same way.
      Overrides:
      equals in class Object
      Parameters:
      o - the other object
      Returns:
      whether they are equal
      Since:
      1.0.0
    • hashCode

      public int hashCode()
      Hashes what equals(Object) compares.
      Overrides:
      hashCode in class Object
      Returns:
      the hash
      Since:
      1.0.0
    • toString

      public String toString()
      The fingerprint and the owner flag.
      Overrides:
      toString in class Object
      Returns:
      a description
      Since:
      1.0.0