Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "AtomicAttribute2023")
data class AtomicAttribute2023(val id: String, val name: String, val value: String, val mimeType: String) : CredentialSubject

VC spec leaves the representation of a single credential open to implementations. We decided to make a "generic" one, i.e. with custom name, value and mimeType.

Link copied to clipboard
Link copied to clipboard

According to "Transaction Data entries as defined in D3.1: UC Specification WP3" the encoding is JSON and every entry is serialized to a base64 encoded string

Link copied to clipboard
Link copied to clipboard
@Serializable
sealed interface CredentialPresentation

The credentials that are actually being used to create the verifiable presentation.

Link copied to clipboard
Link copied to clipboard

In OpenID4VP, the claims to be presented are described using a JSONPath, so compiling this to a JsonElement seems reasonable.

Link copied to clipboard
data class IsoDocumentParsed(val document: Document, val mso: MobileSecurityObject, val validItems: List<IssuerSignedItem> = listOf(), val invalidItems: List<IssuerSignedItem> = listOf(), val freshnessSummary: CredentialFreshnessSummary.Mdoc)
Link copied to clipboard
data class IsoMdocFallbackCredentialScheme(val isoDocType: String, val isoNamespace: String = isoDocType) : ConstantIndex.CredentialScheme
Link copied to clipboard
data class StatusListCwt(val value: CoseSigned<ByteArray>, val resolvedAt: Instant?) : StatusListToken
Link copied to clipboard
data class StatusListJwt(val value: JwsSigned<StatusListTokenPayload>, val resolvedAt: Instant?) : StatusListToken
Link copied to clipboard
sealed class StatusListToken
Link copied to clipboard
data class VerifiablePresentationParsed(val jws: JwsSigned<VerifiablePresentationJws>, val id: String, val type: String, val freshVerifiableCredentials: Collection<VcJwsVerificationResultWrapper> = listOf(), val notVerifiablyFreshVerifiableCredentials: Collection<VcJwsVerificationResultWrapper> = listOf(), val invalidVerifiableCredentials: Collection<String> = listOf())

Intermediate class used by at.asitplus.wallet.lib.agent.ValidatorVcJws.verifyVpJws when parsing a verifiable presentation, and also by at.asitplus.wallet.lib.agent.VerifierAgent.verifyPresentationVcJwt.

Properties

Link copied to clipboard
var serializerModuleCollection: SerializersModule
Link copied to clipboard

Functions

Link copied to clipboard
fun TransactionData.digest(digest: Digest): ByteArray
Link copied to clipboard