CredentialRequestParameters

@Serializable
data class CredentialRequestParameters(val format: CredentialFormatEnum, val types: Array<String> = arrayOf(), val docType: String? = null, val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, val proof: CredentialRequestProof? = null)

Constructors

Link copied to clipboard
constructor(format: CredentialFormatEnum, types: Array<String> = arrayOf(), docType: String? = null, claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, proof: CredentialRequestProof? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null

OID4VCI: ISO mDL: OPTIONAL. W3C Verifiable Credentials: N/A.

Link copied to clipboard
@SerialName(value = "doctype")
val docType: String? = null

OID4VCI: ISO mDL: REQUIRED. W3C Verifiable Credentials: N/A.

Link copied to clipboard
@SerialName(value = "format")
val format: CredentialFormatEnum

OID4VCI: REQUIRED. Format of the Credential to be issued. This Credential format identifier determines further parameters required to determine the type and (optionally) the content of the credential to be issued.

Link copied to clipboard
@SerialName(value = "proof")
val proof: CredentialRequestProof? = null

OID4VCI: OPTIONAL. JSON object containing proof of possession of the key material the issued Credential shall be bound to. The specification envisions use of different types of proofs for different cryptographic schemes. The proof object MUST contain a proof_type claim of type JSON string denoting the concrete proof type. This type determines the further claims in the proof object and its respective processing rules.

Link copied to clipboard
@SerialName(value = "types")
val types: Array<String>

OID4VCI: ISO mDL: N/A. W3C Verifiable Credentials: REQUIRED.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int