summaryrefslogtreecommitdiff
path: root/doc/rvi_services.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rvi_services.md')
-rw-r--r--doc/rvi_services.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/rvi_services.md b/doc/rvi_services.md
index 84cc27e..74f92ee 100644
--- a/doc/rvi_services.md
+++ b/doc/rvi_services.md
@@ -81,6 +81,31 @@ Services for configuring the device after inital bootstrapping.
Services to manage certificates.
+##### Provision Signed Key
+
+Provision a private-root-key-signed version of the device public key.
+
+ {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "message",
+ "service": "jlr.com/vin/123456/dm/key_provision",
+ "timeout" : 5000,
+ "params": {
+ "keyid" : "xyzzy123",
+ "key": "[JWT-encoded key]"
+ }
+ }
+
+The parameters are:
+
+* keyid - Unique key ID.
+* key - JWT encoded key, signed by the private root key, where the
+ payload is a JWK-formatted JSON object.
+
+After receiving a key the device will typically store it in its key store.
+
+
##### Provision Certificate
Provision a certificate from a server to a client.