CipherSuite
An EDHOC cipher suite, RFC 9528 §3.6 and §10.2 (IANA "EDHOC Cipher Suites").
The parameters follow the order of the registry's "Array" column: EDHOC AEAD, EDHOC hash, EDHOC MAC length, EDHOC key exchange, EDHOC signature, application AEAD, application hash.
Constructors
A suite from its parameters, for private-use suites; isImplemented is true.
Properties
the AEAD for the application, for example OSCORE (RFC 9528 Appendix A.1).
the hash for the application's HKDF, for example OSCORE.
protects message_3 and message_4 (RFC 9528 §5.4.2, §5.5.2).
computes the transcript hashes and selects HKDF or KMAC (RFC 9528 §4.1).
Whether kcoap can run this suite. False only for SUITE_25, whose EdDSA signatures use Ed448, a key type kcoap's crypto layer does not model and no backend provides.
RFC 9528 §8: implementations MUST support cipher suites 2 and 3.
Whether the value is in the private-use range -24..-21 of RFC 9528 §10.2.
the ephemeral key exchange, and with Diffie-Hellman also static-DH authentication.
signs Signature_or_MAC_2/3 in the signature methods.
Functions
Whether a session with method on this suite runs on crypto where it is: the suite is implemented and fits the method (EdhocMethod.isCompatibleWith), and the backend supports