JwsAlgorithm

@Serializable(with = JwsAlgorithmSerializer::class)
sealed class JwsAlgorithm : JsonWebAlgorithm, SpecializedDataIntegrityAlgorithm

Since we support only JWS algorithms (with one exception), this class is called what it's called.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable(with = JwsAlgorithmSerializer::class)
sealed class MAC : JwsAlgorithm
Link copied to clipboard
@Serializable(with = JwsAlgorithmSerializer::class)
sealed class Signature : JwsAlgorithm, SpecializedSignatureAlgorithm

Properties

Link copied to clipboard
abstract val algorithm: DataIntegrityAlgorithm
Link copied to clipboard
open override val identifier: String

Functions

Link copied to clipboard
fun SpecializedDataIntegrityAlgorithm.toJwsAlgorithm(): KmmResult<JwsAlgorithm>

Tries to find a matching JWS algorithm