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.