toJwsAlgorithm

fun SignatureAlgorithm.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)

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


fun DataIntegrityAlgorithm.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)
fun MessageAuthenticationCode.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)


fun SpecializedDataIntegrityAlgorithm.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)

Tries to find a matching JWS algorithm


fun SpecializedMessageAuthenticationCode.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)
fun SpecializedSignatureAlgorithm.toJwsAlgorithm(): KmmResult<JwsAlgorithm>(source)

Tries to find a matching JWS algorithm.