OscoreException

class OscoreException(val error: OscoreError, detail: String? = null, cause: Throwable? = null) : KcoapException(source)

Raised by OSCORE processing, a KcoapException with the error RFC 8613 §8.2 and §7.4 name; reading an OSCORE option (OscoreOptionValue.decode) throws it too. OscoreClient and OscoreServer convert it to the stack's MessageSecurityException (toMessageSecurityException) at the message-security SPI.

Constructors

Link copied to clipboard
constructor(error: OscoreError, detail: String? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
expect open val message: String?