CertificateFormatException

A certificate or SubjectPublicKeyInfo that kcoap cannot use: malformed DER (ITU-T X.690), a structure that is not an X.509 certificate (RFC 5280 §4.1), or a public key algorithm or curve kcoap does not support. The parsers in this package throw nothing else for any input, so DER from a peer cannot surface as an IllegalArgumentException. A KcoapException.

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Properties

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