EdhocResponderConfig
The application profile (RFC 9528 §3.9) of an EdhocResponder.
Constructors
Properties
the supported suites. Only those the crypto backend runs for the received method (CipherSuite.isSupportedBy) are accepted and named in SUITES_R, where their order has no meaning (RFC 9528 §6.3). supportedBy narrows the list to them up front.
chooses C_R given C_I.
resolves and authorizes ID_CRED_I.
own credentials; the first one usable for the received method and suite is used.
source of Y on Diffie-Hellman suites.
the methods the Responder accepts.
Functions
This configuration with only the cipher suites crypto runs for at least one of methods with a credential (CipherSuite.isSupportedBy, docs/adr/0001-crypto-capabilities.md). EdhocResponder makes the same choice, per method, when it processes message_1, so SUITES_R names only runnable suites and a selected suite it cannot run gets error code 2 (RFC 9528 §6.3). Both ask the backend once per configuration and remember the answers; the returned configuration keeps them for crypto, so no message_1 makes the backend answer again. Calling this once where the configuration is set up finds a backend that cannot run it before any session starts.
This configuration with C_R chosen by connectionIdentifiers, for example by a server that allocates C_R per session. What it learnt of crypto backends (supportedBy, earlier sessions) is shared with the copy, so a copy per session does not ask the backend again.