serializeAsJwt

suspend fun serializeAsJwt(key: AsymmetricKey, subject: String): String

Creates JWT serialization of the status list.

Return

signed JWT that represents this status list

Parameters

key

key that is used to sign JWT

subject

value for sub claim in JWT