taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit bcc436f7a92936ab457b21c91c5e08cecaa050a0
parent b63b873d4e51ff8a0f051f85bd89748b6836d7d6
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Thu, 21 Nov 2019 05:05:54 +0100

nexus backup specification

Diffstat:
Mlibeufin/api-nexus.rst | 47+++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+), 0 deletions(-)

diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst @@ -57,6 +57,53 @@ Bank Account Management Low-level EBICS API ------------------- +.. http:put:: <nexus>/ebics/subscribers/{id}/backup + + Ask the server to export the three keys, protected with passphrase. + + .. ts:def:: NexusEbicsBackupRequest + + interface NexusEbicsBackupRequest { + + passphrase: string; + + } + + + .. ts:def:: NexusEbicsBackupResponse + + interface NexusEbicsBackupRequest { + + // The three passphrase-protected private keys in the PKCS#8 format + + authBlob: binary; + encBlob: binary; + sigBlob: binary; + } + + +.. http:post:: <nexus>/ebics/subscribers/{id}/restoreBackup + + Ask the server to restore the keys. + + .. ts:def:: NexusEbicsRestoreBackupRequest + + interface NexusEbicsRestoreBackupRequest { + + // passphrase to decrypt the keys + passphrase: string; + + // The three passphrase-protected private keys in the PKCS#8 format + authBlob: binary; + encBlob: binary; + sigBlob: binary; + } + + + + + .. ts:def:: NexusEbicsCreateSubscriber + .. http:post:: <nexus>/ebics/subscribers Create a new subscriber. Create keys for the subscriber that