Package-level declarations

Types

Link copied to clipboard
class Attestation(val id: String, val type: String, val version: Int = EUDI_CREDENTIAL_VERSION, val countryCode: String? = null, val displayProperties: Set<DisplayProperties>?, val claims: Map<String, Claim<*>>, val count: Int? = null)

An Attestation contains a credential's information, and how to display them in an app.

Link copied to clipboard

The public interface to everything related to attestation. See GetAttestations, GetAttestationById and CredentialOffer for details on the provided functionality.

Link copied to clipboard
interface Claim<T>

A Claim, a data point, of an Attestation. A Claim could contain information like a person's birthdate, lastname, firstname, address, etc.

Link copied to clipboard
class DateClaim(val value: String, val claimDescription: ClaimDescription?) : Claim<String>

A Claim containing a date String as value. Dates from an Issuer shall be formatted in ISO 8601 format.

Link copied to clipboard
class DateTimeClaim(val value: String, val claimDescription: ClaimDescription?) : Claim<String>

A Claim containing a date and time String as value. Dates and Times from an Issuer shall be formatted in ISO 8601 format.

Link copied to clipboard

This interface provides the functionality to get a single Attestation by its id.

Link copied to clipboard
interface GetAttestations

This interface provides the functionality to get a List of saved Attestations.

Link copied to clipboard
class ImageClaim(val value: String, val claimDescription: ClaimDescription?) : Claim<String>

A ImageClaim is a Claim containing a String (base64) as value. Which is a kotlin.ByteArray / NSData to present the image

Link copied to clipboard
class ListClaim(val value: List<String>, val claimDescription: ClaimDescription?) : Claim<List<String>>

A ListClaim is a Claim containing a List of Strings as value.

Link copied to clipboard
class MapClaim(val value: Map<String, Claim<*>>, val claimDescription: ClaimDescription?) : Claim<Map<String, Claim<*>>>

A MapClaim is a Claim containing a Map of Claims as value.

Link copied to clipboard
class StringClaim(val value: String, val claimDescription: ClaimDescription?) : Claim<String>

A StringClaim is a Claim containing a String as value.