From b8a8e56d4a311f15060efcd455c444949b2d20b9 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Fri, 30 Oct 2020 13:27:05 +0100 Subject: started refactoring add-entry code path according to doc --- markup/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'markup') 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:///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 -- cgit v1.2.3