JwsService

interface JwsService

Creates and parses JWS and JWE objects.

Functions

Link copied to clipboard
abstract suspend fun createSignedJws(header: JwsHeader, payload: ByteArray): String?
Link copied to clipboard
abstract suspend fun createSignedJwsAddingParams(header: JwsHeader, payload: ByteArray): String?
Link copied to clipboard
abstract suspend fun createSignedJwt(type: JwsContentType, payload: ByteArray, contentType: JwsContentType? = null): String?
Link copied to clipboard
abstract suspend fun decryptJweObject(jweObject: JweEncrypted, serialized: String): JweDecrypted?
Link copied to clipboard
abstract fun encryptJweObject(type: JwsContentType, payload: ByteArray, recipientKey: JsonWebKey, contentType: JwsContentType? = null, jweAlgorithm: JweAlgorithm, jweEncryption: JweEncryption): String?

Inheritors

Link copied to clipboard