EdhocServer
Parameters
where the OSCORE context of every completed session goes, and where C_R is checked against the Recipient IDs in use.
how long a session waits for message_3: by default MAX_TRANSMIT_WAIT (93 s, RFC 7252 §4.8.2), about as long as a client retransmits message_3 and waits for its answer.
how long a session waiting for message_3 is safe from eviction: by default 10 s, a round trip and the client's processing of message_2 with time to spare. Give it at least pendingSessionLifetime to never evict, so a full server only refuses.
holds the Sender Sequence Numbers of the contexts this server derives, under their names "sid=C_I,rid=C_R" (dev.kcoap.oscore.SecurityContextParameters.name). By default (null) each context gets its own EphemeralSequenceNumberStore, which fits EDHOC, whose keys are new with every session, and goes away with the context. Pass a durable store to resume contexts after a restart, as oscoreParameters describes. A name is unique only among the contexts in contexts, so do not share a durable store with contexts kept anywhere else.
the clock of pendingSessionLifetime and pendingSessionGracePeriod.
told of every session that completes, with its context.
receives the EdhocServerEvents.
where the server's logger comes from, under LogTags.EDHOC.