Skip to main content

Crate kipuka_coap

Crate kipuka_coap 

Source
Expand description

EST over CoAP (RFC 9483) transport for constrained devices.

This crate implements the CoAP transport binding for Enrollment over Secure Transport, enabling EST operations on constrained IoT devices that cannot use HTTP/TLS.

§Protocol Mapping

RFC 9483 maps EST operations to CoAP as follows:

  • HTTPS transport is replaced by CoAP over DTLS (“coaps”)
  • EST URI paths use abbreviated names (e.g., /sen for /simpleenroll)
  • HTTP Content-Type headers map to CoAP Content-Format option IDs
  • Large payloads (PQC certificates can exceed 7KB) use RFC 7959 block-wise transfer

§Modules

  • server: CoAP message parsing, encoding, and EST-coaps URI routing
  • dtls: DTLS session management abstraction for CoAP security
  • block: RFC 7959 block-wise transfer for large EST payloads
  • content_format: CoAP content-format IDs for EST media types (RFC 9483 §5.4)

Modules§

block
CoAP block-wise transfer per RFC 7959.
content_format
CoAP content-format IDs for EST media types.
dtls
DTLS session management for EST-coaps transport security.
server
CoAP message parsing, encoding, and EST-coaps URI routing.

Enums§

CoapError
Errors arising from CoAP/EST-coaps protocol handling.

Type Aliases§

CoapResult
Result type for CoAP operations.