Expand description
NDNCERT 0.3 TLV wire format.
Replaces the Phase 1A/1B JSON encoding with full NDN TLV for complete
interoperability with the reference C++ implementation
(ndncert-ca-server / ndncert-client).
§Type assignments (NDNCERT 0.3)
ca-prefix 0x81 (129)
ca-info 0x83 (131)
parameter-key 0x85 (133)
parameter-value 0x87 (135)
ca-certificate 0x89 (137)
max-validity 0x8B (139)
probe-response 0x8D (141)
max-suffix-length 0x8F (143)
ecdh-pub 0x91 (145)
cert-request 0x93 (147)
salt 0x95 (149)
request-id 0x97 (151)
challenge 0x99 (153)
status 0x9B (155)
iv 0x9D (157)
encrypted-payload 0x9F (159)
selected-challenge 0xA1 (161)
challenge-status 0xA3 (163)
remaining-tries 0xA5 (165)
remaining-time 0xA7 (167)
issued-cert-name 0xA9 (169)
error-code 0xAB (171)
error-info 0xAD (173)
auth-tag 0xAF (175)Structs§
- CaProfile
Tlv - TLV-encoded CA profile (content of
/<ca>/CA/INFOData packet). - Challenge
Request Tlv - TLV-encoded CHALLENGE request (encrypted).
- Challenge
Response Tlv - TLV-encoded CHALLENGE response.
- NewRequest
Tlv - TLV-encoded NEW request (ApplicationParameters of
/<ca>/CA/NEW). - NewResponse
Tlv - TLV-encoded NEW response.
- Probe
Response Tlv - TLV-encoded PROBE response (content of
/<ca>/CA/PROBEData packet). - Revoke
Request Tlv - TLV-encoded REVOKE request body (
/<ca>/CA/REVOKEApplicationParameters). - Revoke
Response Tlv - TLV-encoded REVOKE response body.
Constants§
- REVOKE_
STATUS_ NOT_ FOUND - REVOKE_
STATUS_ REVOKED - REVOKE response status codes.
- REVOKE_
STATUS_ UNAUTHORIZED - STATUS_
BEFORE_ CHALLENGE - Status codes per NDNCERT 0.3.
- STATUS_
CHALLENGE - STATUS_
FAILURE - STATUS_
PENDING - STATUS_
SUCCESS - TLV_
AUTH_ TAG - TLV_
CA_ CERTIFICATE - TLV_
CA_ INFO - TLV_
CA_ PREFIX - TLV_
CERT_ REQUEST - TLV_
CHALLENGE - TLV_
CHALLENGE_ STATUS - TLV_
ECDH_ PUB - TLV_
ENCRYPTED_ PAYLOAD - TLV_
ERROR_ CODE - TLV_
ERROR_ INFO - TLV_
ISSUED_ CERT_ NAME - TLV_IV
- TLV_
MAX_ SUFFIX_ LENGTH - TLV_
MAX_ VALIDITY - TLV_
PARAMETER_ KEY - TLV_
PARAMETER_ VALUE - TLV_
PROBE_ RESPONSE - TLV_
REMAINING_ TIME - TLV_
REMAINING_ TRIES - TLV_
REQUEST_ ID - TLV_
SALT - TLV_
SELECTED_ CHALLENGE - TLV_
STATUS