Package-level declarations

Types

Link copied to clipboard

Message-level (object) security between the request/response layer and the messaging layer, where RFC 8613 Figure 1 places OSCORE. Block-wise transfer and Observe sit above it, so they work on protected exchanges unchanged; retransmission and deduplication sit below it and handle the protected bytes.

Link copied to clipboard
class MessageSecurityException(message: String, val responseCode: CoapCode = CoapCode.BAD_REQUEST, val diagnostic: String? = null, cause: Throwable? = null, errorPayload: ByteArray? = null, val contentFormat: Int? = null) : Exception

A message that message security could not protect or verify.

Link copied to clipboard

A request on its way out, with what is needed to read the answers to it.

Link copied to clipboard

What ProtectedRequest.unprotectResponse found a response to a protected request to be: Verified, which the stack acts on, or Unverified, which it reports and acts on in no way (ADR 0008).

Link copied to clipboard

The authenticated identity behind a protected request, such as an OSCORE recipient or the peer credential of the EDHOC session that established the context. Compared with equals.

Link copied to clipboard
Link copied to clipboard

A verified request, and the way to protect the answers to it.