From 25eda8593cefdb105cd18dbb5109e49a2c5b7931 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Wed, 19 Jun 2019 17:43:16 +0200 Subject: [PATCH] Add missing "algorithm" field to the trust-ca object --- site/documentation/static/api/device-registry-v1.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/site/documentation/static/api/device-registry-v1.yaml b/site/documentation/static/api/device-registry-v1.yaml index 3135340e39..64f8aafb62 100644 --- a/site/documentation/static/api/device-registry-v1.yaml +++ b/site/documentation/static/api/device-registry-v1.yaml @@ -486,6 +486,17 @@ components: description: The Base64 encoded binary DER encoding of the trusted root certificate. Either this property or `public-key` must be set. + "algorithm": + type: string + description: The algorithm used for the public key of the CA. + If the `cert` property is used to provide an + X.509 certificate then the algorithm is determined + from the certificate and this property is ignored. + Otherwise, i.e. if the `public-key` property is + used, this property must be set to the algorithm + used, if other than the default. + default: RSA + example: EC Adapter: type: object