DataIntegrity

@Serializable(with = CoseAlgorithmSerializer::class)
sealed class DataIntegrity : CoseAlgorithm, SpecializedDataIntegrityAlgorithm(source)

Inheritors

Types

Link copied to clipboard
object Companion : Enumeration<CoseAlgorithm.DataIntegrity>

Properties

Link copied to clipboard
abstract val algorithm: DataIntegrityAlgorithm
Link copied to clipboard
open override val coseValue: Int
Link copied to clipboard
open val value: Int

Functions

Link copied to clipboard
fun SpecializedDataIntegrityAlgorithm.toCoseAlgorithm(): KmmResult<CoseAlgorithm.DataIntegrity>

Tries to find a matching COSE algorithm. Note that COSE imposes curve restrictions on ECDSA based on the digest.