Jws Service
interface JwsService
Functions
Link copied to clipboard
Link copied to clipboard
Appends correct values for JweHeader.keyId, JwsHeader.algorithm and JwsHeader.jsonWebKey
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): JweHeaderAndPayload?
Link copied to clipboard
abstract fun encryptJweObject(type: JwsContentType, payload: ByteArray, recipientKey: JsonWebKey, contentType: JwsContentType? = null, jweAlgorithm: JweAlgorithm, jweEncryption: JweEncryption): String?