PeerSecurity

constructor(unprotectedPaths: Set<String> = setOf("/${EdhocOverCoap.WELL_KNOWN_PATH}"), allowUnprotected: Boolean = false)(source)

Parameters

unprotectedPaths

Uri-Paths always sent unprotected, by default the EDHOC resource.

allowUnprotected

whether requests to a server without a protection go out unprotected; false by default, which fails them.