diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-11-21 05:05:54 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-11-21 05:06:23 +0100 |
commit | bcc436f7a92936ab457b21c91c5e08cecaa050a0 (patch) | |
tree | b832481bcc3cde0ddc7799a992cd60053db8c6fd /libeufin | |
parent | b63b873d4e51ff8a0f051f85bd89748b6836d7d6 (diff) | |
download | docs-bcc436f7a92936ab457b21c91c5e08cecaa050a0.tar.gz docs-bcc436f7a92936ab457b21c91c5e08cecaa050a0.tar.bz2 docs-bcc436f7a92936ab457b21c91c5e08cecaa050a0.zip |
nexus backup specification
Diffstat (limited to 'libeufin')
-rw-r--r-- | libeufin/api-nexus.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 80a297cc..65e321ba 100644 --- 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 |