Skip to content

Conversation

sbernard31
Copy link
Contributor

@sbernard31 sbernard31 commented Jun 27, 2025

This PR aims to add support of CoAP over DTLS based on java-coap and Bouncy Castle at client side.

Here some limitations from bouncy castle :

  1. There is no async API.
  2. Client API seem to not support DTLS Role Exchange. (but it should be implemented using client and server api)
  3. API is very low level some and doesn't reuse JSSE class (like PublicKey, PrivateKey, Certificate ...) from openJDK

Some missing task :

  • ✔️ add some unit test about equals/hashcode
  • 📆 check if we need to implement getTransportContext() (post pone)
  • ✔️ clean sonard issues

I also modify LeshanClientDemo so when --use-java-coap is used, this will now use java-coap for coaps too. (before it was only for coap)

@sbernard31 sbernard31 force-pushed the bc_coaps branch 2 times, most recently from 7cf2f61 to 310d23f Compare July 1, 2025 16:25
Copy link

sonarqubecloud bot commented Jul 1, 2025

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant