createSignedJwsAddingParams

abstract suspend fun createSignedJwsAddingParams(header: JwsHeader? = null, payload: ByteArray, addKeyId: Boolean = true, addJsonWebKey: Boolean = true): KmmResult<JwsSigned>

Appends correct values for JwsHeader.algorithm, JweHeader.keyId (if addKeyId is true), and JwsHeader.jsonWebKey (if addJsonWebKey is true).