- String
- UInt8
- 1 represents true, 0 represents false
- UInt 8
- 0 success, 1 on error
- String
- Error Message on error or empty string otherwise
- JID
- JID of the entity
- String
- Display name of the entity
- Bool
- Whether we have an authorized public key on file
import a public key
- String
- location of the key like filename / url
Mark a public key as verified for a certain identity
- String
- ID of the key to mark as verified
- String
- identity to mark the key as verified for
- “key not found”
Mark a key as revoked
- String
- ID of the key to be marked ‘revoked’
- String
- Revocation reson (if any)
- “key not found”
Initiate a ZKP challenge with a peer.
- JID
- Peer to challenge
- String
- Message (hint / question) to send to the other peer
- String
- Shared secret to verify against
- String
- The Challenge ID generated for this Challenge Used to track the result of the challenge
- “unknown peer”
Respond to a ZKP challenge
- String
- Challenge ID to respond to
- String
- The shared secret
- Boolean
- Whether the challenge succeeded or not We should be able to determine whether the ZKP-challenge succeeded immediately since we already have all the necessary data
- “challenge key not found”
Get list of available entities
- List OF EntityDescription
Get list of unavailable (but known) entities
- List of Entity
Get the trust status of an entity
- JID Entity to check the trust status of
- Boolean
- Whether this entity is trusted
- “no such entity” : Entity is unknown to us
Get the ID of the entities active public key
- JID
- Entity to get the pubkey from
- String
- ID of the entities active public key (or empty)
- “no such entity” : Entity is unknown to us
Add a new peer
- JID
- JID of the peer to add
- String
- Name of the peer to add
Remove a known peer and cancel all subscriptions
- JID
- Jid of the peer to remove
- “no such entity” : Entity is unknown to us
register a new XMPP account
- String
- The server to register the account at
- String
- username
- String
- password
Login with the configured settings
Logout
- JID
- Whom we received the challenge from
- String
- The (unique) challenge ID (used to respond to this challenge with respond_challenge)
- String
- Message (hint / question) from the other peer
The result of a challenge initiated by us
- JID
- The entity we sent the challenge to
- String
- The (unique) challenge ID
- Boolean
- Whether the challenge succeeded (True) or failed (False)
A challenge initiated by us timed out
- JID
- The entity we sent the challenge to
- String
- The (unique) challenge ID
- String
- Enumeration of Connection states. Allowable values
- “offline”
- “connecting”
- “connected”
- JID
- JID of the peer who’s status changed
- String
- New status
- “available”
- Peer is now available
- “unavailable”
- Peer is now unavailable