toJwt
Convert credential to JWT format.
Creates an unsigned JWT with the credential in the 'vc' claim. For signed JWTs, use CredentialService.issue with JWT format.
Example:
val jwt = credentialService.toJwt(credential)Content copied to clipboard