diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-30 13:27:05 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-30 13:27:05 +0100 |
commit | b8a8e56d4a311f15060efcd455c444949b2d20b9 (patch) | |
tree | 56b7239cad17fdeb0bb674c305b137bb8d6dcfaa /markup/api.md | |
parent | 43c8e9b1e44255ecc3d8a0077dc285739cfbb79d (diff) |
started refactoring add-entry code path according to doc
Diffstat (limited to 'markup/api.md')
-rw-r--r-- | markup/api.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/markup/api.md b/markup/api.md index 60658b5..d9286bf 100644 --- a/markup/api.md +++ b/markup/api.md @@ -136,12 +136,12 @@ POST https://<base url>/st/v1/add-entry Input: - item: an `StItem` that corresponds to a valid leaf type. Only `checksum_v1` at this time. -- signature_algorithm: decimal, possible values are defined in RFC 8446 +- signature_scheme: decimal, possible values are defined in RFC 8446 [ยง4.2.3](https://tools.ietf.org/html/rfc8446#section-4.2.3). The serialized signature encoding follows from this. - signature: covers the submitted item. -- certificate: base-64 encoded X.509 certificate that is vouched for by a trust -anchor and which produced the above signature. +- chain: a list of base-64 encoded X.509 certificates that chain back to +a trust anchor and which produced the above signature. Output: - an `StItem` structure of type `signed_debug_info_v1` that covers the added |