MessageWrapper

class MessageWrapper(keyPairAdapter: KeyPairAdapter, jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyPairAdapter)), verifierJwsService: VerifierJwsService = DefaultVerifierJwsService())(source)

Constructors

Link copied to clipboard
constructor(keyPairAdapter: KeyPairAdapter, jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyPairAdapter)), 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