CredentialRequestParameters

@Serializable
data class CredentialRequestParameters(    val credentialIdentifier: String? = null,     val credentialConfigurationId: String? = null,     val format: CredentialFormatEnum? = null,     val credentialResponseEncryption: CredentialResponseEncryption? = null,     val docType: String? = null,     val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null,     val credentialDefinition: SupportedCredentialFormatDefinition? = null,     val sdJwtVcType: String? = null,     val proof: CredentialRequestProof? = null,     val proofs: CredentialRequestProofContainer? = null)(source)

Constructors

Link copied to clipboard
constructor(    credentialIdentifier: String? = null,     credentialConfigurationId: String? = null,     format: CredentialFormatEnum? = null,     credentialResponseEncryption: CredentialResponseEncryption? = null,     docType: String? = null,     claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null,     credentialDefinition: SupportedCredentialFormatDefinition? = null,     sdJwtVcType: String? = null,     proof: CredentialRequestProof? = null,     proofs: CredentialRequestProofContainer? = null)

Types

Link copied to clipboard
object Companion

Properties

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

OID4VCI: REQUIRED if a credential_identifiers parameter was not returned from the Token Response as part of the authorization_details parameter (see OpenIdAuthorizationDetails.credentialIdentifiers). It MUST NOT be used otherwise. String that uniquely identifies one of the keys in the name/value pairs stored in the IssuerMetadata.supportedCredentialConfigurations. The corresponding object in the IssuerMetadata.supportedCredentialConfigurations MUST contain one of the value(s) used in the AuthenticationRequestParameters.scope. When this parameter is used, the credentialIdentifier MUST NOT be present.

Link copied to clipboard
@SerialName(value = "credential_definition")
val credentialDefinition: SupportedCredentialFormatDefinition? = null

OID4VCI: W3C VC: OPTIONAL. Object containing a detailed description of the Credential consisting of the following parameters. see SupportedCredentialFormatDefinition.

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

OID4VCI: REQUIRED when an Authorization Details of type OpenIdAuthorizationDetails was returned from the Token Response. It MUST NOT be used otherwise. A string that identifies a Credential Dataset that is requested for issuance. When this parameter is used, the credentialConfigurationId MUST NOT be present.

Link copied to clipboard
@SerialName(value = "credential_response_encryption")
val credentialResponseEncryption: CredentialResponseEncryption? = null

OID4VCI: OPTIONAL. Object containing information for encrypting the Credential Response. If this request element is not present, the corresponding credential response returned is not encrypted.

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

OID4VCI: OPTIONAL. Object providing a single proof of possession of the cryptographic key material to which the issued Credential instance will be bound to. proof parameter MUST NOT be present if proofs parameter is used.

Link copied to clipboard
@SerialName(value = "proofs")
val proofs: CredentialRequestProofContainer? = null

OID4VCI: OPTIONAL. Object providing one or more proof of possessions of the cryptographic key material to which the issued Credential instances will be bound to. The proofs parameter MUST NOT be present if proof parameter is used. proofs object contains exactly one parameter named as the proof type in Section 7.2.1, the value set for this parameter is an array containing parameters as defined by the corresponding proof type.

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

Functions

Link copied to clipboard