JsonCannedRequest

data class JsonCannedRequest(val vct: String, val claimsToRequest: List<DocumentAttribute>, val keyBound: Boolean = true)

A class representing a request for claims.

Parameters

vct

the verifiable credential type.

claimsToRequest

the claims to request.

keyBound

true if the document type uses cryptographic key binding, false if keyless.

Constructors

Link copied to clipboard
constructor(vct: String, claimsToRequest: List<DocumentAttribute>, keyBound: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val vct: String

Functions

Link copied to clipboard
fun toDcql(): JsonObject

Generates DCQL for the request.

Link copied to clipboard