Companion

Functions

Link copied to clipboard
fun over(client: CoapClient, server: CoapUri, config: EdhocInitiatorConfig, crypto: CryptoBackend, path: String = EdhocOverCoap.WELL_KNOWN_PATH, loggerFactory: LoggerFactory = LoggerFactory.Global, sequenceStore: SequenceNumberStore? = null): EdhocClientHandshake

A handshake that client carries to the EDHOC resource path of server (scheme, host and port; the path and query of server are not used), with CoapClient.request. The requests go through the client's message security: with PeerSecurity they go unprotected, as its unprotectedPaths hold the EDHOC resource.