MessageWrapper

class MessageWrapper(cryptoService: CryptoService, jwsService: JwsService = DefaultJwsService(cryptoService), verifierJwsService: VerifierJwsService = DefaultVerifierJwsService())

Constructors

Link copied to clipboard
constructor(cryptoService: CryptoService, jwsService: JwsService = DefaultJwsService(cryptoService), verifierJwsService: VerifierJwsService = DefaultVerifierJwsService())

Functions

Link copied to clipboard
suspend fun createSignedAndEncryptedJwe(jwm: JsonWebMessage, recipientKey: JsonWebKey): KmmResult<JweEncrypted>
Link copied to clipboard
suspend fun createSignedJwt(jwm: JsonWebMessage): KmmResult<JwsSigned>
Link copied to clipboard