Update CaConfig and ClientCaItem. Add INFO packet encoding and decoding.
Change-Id: I2118bfee05640ddbf20643fa07bf4c91eb7ebd06
diff --git a/tests/unit-tests/ca.conf.test b/tests/unit-tests/ca.conf.test
index 8acd23c..f742a2b 100644
--- a/tests/unit-tests/ca.conf.test
+++ b/tests/unit-tests/ca.conf.test
@@ -1,10 +1,13 @@
{
"ca-prefix": "/ndn",
- "issuing-freshness": "720",
- "validity-period": "360",
+ "max-validity-period": "86400",
"ca-info": "ndn testbed ca",
+ "probe-parameters":
+ [
+ { "probe-parameter-key": "full name" }
+ ],
"supported-challenges":
[
- { "type": "PIN" }
+ { "challenge": "PIN" }
]
}
\ No newline at end of file