SupportedCredentialFormat

@Serializable
data class SupportedCredentialFormat(val format: CredentialFormatEnum, val id: String? = null, val types: Array<String>, val credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null, val docType: String? = null, val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, val order: Array<String>? = null, val supportedBindingMethods: Array<String>, val supportedCryptographicSuites: Array<String>)

OID4VCI: A JSON array containing a list of JSON objects, each of them representing metadata about a separate credential type that the Credential Issuer can issue. The JSON objects in the array MUST conform to the structure of the Section 10.2.3.1.

Constructors

Link copied to clipboard
constructor(format: CredentialFormatEnum, id: String? = null, types: Array<String>, credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null, docType: String? = null, claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, order: Array<String>? = null, supportedBindingMethods: Array<String>, supportedCryptographicSuites: Array<String>)

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 = "credentialSubject")
val credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null

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

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

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

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

OID4VCI: REQUIRED. A JSON string identifying the format of this credential, e.g. jwt_vc_json or ldp_vc. Depending on the format value, the object contains further elements defining the type and (optionally) particular claims the credential MAY contain, and information how to display the credential.

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

OID4VCI: OPTIONAL. A JSON string identifying the respective object. The value MUST be unique across all credentials_supported entries in the Credential Issuer Metadata.

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

OID4VCI: ISO mDL: OPTIONAL. W3C Verifiable Credentials: OPTIONAL.

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

OID4VCI: OPTIONAL. Array of case-sensitive strings that identify how the Credential is bound to the identifier of the End-User who possesses the Credential as defined in Section 7.1. Support for keys in JWK format (RFC7517) is indicated by the value jwk. Support for keys expressed as a COSE Key object (RFC8152) (for example, used in ISO.18013-5) is indicated by the value cose_key. When Cryptographic Binding Method is a DID, valid values MUST be a did: prefix followed by a method-name using a syntax as defined in Section 3.1 of DID-Core, but without a : and method-specific-id. For example, support for the DID method with a method-name "example" would be represented by did:example. Support for all DID methods listed in Section 13 of (DID_Specification_Registries) is indicated by sending a DID without any method-name.

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

OID4VCI: OPTIONAL. Array of case-sensitive strings that identify the cryptographic suites that are supported for the cryptographic_binding_methods_supported. Cryptosuites for Credentials in jwt_vc format should use algorithm names defined in IANA JOSE Algorithms Registry. Cryptosuites for Credentials in ldp_vc format should use signature suites names defined in Linked Data Cryptographic Suite Registry.

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

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

Functions

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