summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-07-05 18:40:56 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-07-05 18:40:56 +0200
commit10b95e231acd49062283a15d01ef01b0001d04ac (patch)
tree1ee1dcb3aa76642671af2f8badcad40527ec8ecf /core
parent0a28a22ee956c71a4fbc62fb46ad11fd93b022e7 (diff)
downloaddocs-10b95e231acd49062283a15d01ef01b0001d04ac.tar.gz
docs-10b95e231acd49062283a15d01ef01b0001d04ac.tar.bz2
docs-10b95e231acd49062283a15d01ef01b0001d04ac.zip
minor
Diffstat (limited to 'core')
-rw-r--r--core/api-taldir.rst50
1 files changed, 25 insertions, 25 deletions
diff --git a/core/api-taldir.rst b/core/api-taldir.rst
index 9be435d8..51689927 100644
--- a/core/api-taldir.rst
+++ b/core/api-taldir.rst
@@ -133,22 +133,22 @@ Address registration
.. ts:def:: IdentityMessage
- interface IdentityMessage {
- // Address, in $METHOD-specific format
- address: string;
+ interface IdentityMessage {
+ // Address, in $METHOD-specific format
+ address: string;
- // Public key of the user to register
- public_key: EdDSAPublicKey;
+ // Public key of the user to register
+ public_key: EdDSAPublicKey;
- // (HTTPS) endpoint URL for the inbox service.
- inbox_url: string;
+ // (HTTPS) endpoint URL for the inbox service.
+ inbox_url: string;
- // For how long should the registration last.
- duration: Time;
+ // For how long should the registration last.
+ duration: Time;
- // Order ID, if the client recently paid for this registration
- order_id?: string;
- }
+ // Order ID, if the client recently paid for this registration
+ order_id?: string;
+ }
**Response**
@@ -225,14 +225,14 @@ Address registration
.. ts:def:: IdentityConfirmation
- interface IdentityConfirmation {
- // The solution is the SHA-512 hash of the challenge ($PINTAN) value
- // chosen by TalDir (encoded as string just as given in the URL, but
- // excluding the 0-termination) concatenated with the binary 32-byte
- // value representing the wallet's EdDSA public key.
- solution: Hash;
+ interface IdentityConfirmation {
+ // The solution is the SHA-512 hash of the challenge ($PINTAN) value
+ // chosen by TalDir (encoded as string just as given in the URL, but
+ // excluding the 0-termination) concatenated with the binary 32-byte
+ // value representing the wallet's EdDSA public key.
+ solution: Hash;
- }
+ }
**Response**
@@ -268,12 +268,12 @@ Address lookup
.. _MailboxDetailResponse:
.. ts:def:: MailboxDetailResponse
- interface MailboxDetailResponse {
+ interface MailboxDetailResponse {
- // Registered public key of the user
- public_key: EdDSAPublicKey;
+ // Registered public key of the user
+ public_key: EdDSAPublicKey;
- // (HTTPS) endpoint URL for the inbox service.
- inbox_url: string;
+ // (HTTPS) endpoint URL for the inbox service.
+ inbox_url: string;
- }
+ }