encryptJweObject

abstract suspend fun encryptJweObject(header: JweHeader? = null, payload: ByteArray, recipientKey: JsonWebKey, jweAlgorithm: JweAlgorithm, jweEncryption: JweEncryption): KmmResult<JweEncrypted>
abstract fun encryptJweObject(type: String, payload: ByteArray, recipientKey: JsonWebKey, contentType: String? = null, jweAlgorithm: JweAlgorithm, jweEncryption: JweEncryption): KmmResult<JweEncrypted>