Encrypted

data class Encrypted(val response: JweEncrypted) : OpenId4VciServer.CredentialResponse(source)

Sent as JWE-serialized content with media type application/jwt.

Constructors

Link copied to clipboard
constructor(response: JweEncrypted)

Properties

Link copied to clipboard
val response: JweEncrypted

Functions

Link copied to clipboard

Converts the result of the credential endpoint to its response: status 200 with the credential response as application/json, or encrypted as application/jwt (OID4VCI 1.0 8.3, 10.), and Cache-Control: no-store, as in every credential response example of OID4VCI 1.0, since it contains credentials.