CapabilityReport

What a backend answers to every capability question (CapabilityInvariant.questions), as a few lines of text for a test log: one line per kind of question, each starting with LINE_PREFIX, so a build or a CI log can pick them out. Run on every target, the lines show what each platform's cryptography offers through the backend, for instance that WebCrypto has no ChaCha20/Poly1305.

kcoap-crypto capabilities of DefaultCryptoBackend: AEAD yes AES_CCM_16_64_128, ..., A256GCM; no CHACHA20_POLY1305

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The questions answered yes, in the order of CapabilityInvariant.questions.

Link copied to clipboard

The questions answered no, in the order of CapabilityInvariant.questions.

Functions

Link copied to clipboard
fun lines(backendName: String): List<String>

One line per kind of question, AEADs, key types, signature algorithms, KEMs and hashes, naming what the backend called backendName supports and what it does not.

Link copied to clipboard
open override fun toString(): String