Package-level declarations

Types

Link copied to clipboard
data class CredentialCollection(val id: String, val name: String, val description: String? = null, val createdAt: Instant = Clock.System.now(), val credentialCount: Int = 0)

Credential collection model.

Link copied to clipboard

Narrowed capability interface for wallets that support credential collections.

Link copied to clipboard
data class CredentialFilter(val issuer: String? = null, val type: List<String>? = null, val subjectId: String? = null, val expired: Boolean? = null, val revoked: Boolean? = null, val hasStatusEntry: Boolean? = null)

Credential filter criteria.

Link copied to clipboard

Credential issuance capability for wallets.

Link copied to clipboard

Credential lifecycle management capabilities.

Link copied to clipboard
data class CredentialMetadata(val credentialId: String, val notes: String? = null, val tags: Set<String> = emptySet(), val metadata: Map<String, Any> = emptyMap(), val createdAt: Instant = Clock.System.now(), val updatedAt: Instant = Clock.System.now())

Credential metadata model.

Link copied to clipboard

Combined credential organization capabilities for wallets that support both collections and tagging.

Link copied to clipboard
data class CredentialPage(val records: List<StoredCredentialRecord>, val nextCursor: String?)

A cursor is the last scanned storage ID, scoped to the same wallet and filter.

Link copied to clipboard

Credential presentation capabilities.

Link copied to clipboard

Fluent query builder for credentials.

Link copied to clipboard
data class CredentialReadFailure(val storageHandle: String, val reason: String)

Explicit recovery result. A partial read must never masquerade as a complete list.

Link copied to clipboard

Optional storage capability for credentials that do not carry their own identifier.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Core credential storage interface.

Link copied to clipboard

Narrowed capability interface for wallets that support credential tagging and metadata.

Link copied to clipboard
interface DidManagement

DID management capability for wallets.

Link copied to clipboard
data class KeyInfo(val id: String, val algorithm: String, val publicKeyJwk: Map<String, Any?>? = null, val publicKeyMultibase: String? = null, val createdAt: Instant = Clock.System.now())

Key information model.

Link copied to clipboard
interface KeyManagement

Key management capability for wallets.

Link copied to clipboard

Bounded reads: filters may produce an empty page with a non-null continuation cursor.

Link copied to clipboard
data class StoredCredentialRecord(val storageId: String, val credential: VerifiableCredential)

Storage handles are distinct from signed credential identifiers; never rewrite a signed VC.

Link copied to clipboard

Unified wallet interface.

Link copied to clipboard

Instance-scoped directory for managing wallets.

Link copied to clipboard
data class WalletStatistics(val totalCredentials: Int = 0, val validCredentials: Int = 0, val expiredCredentials: Int = 0, val revokedCredentials: Int = 0, val collectionsCount: Int = 0, val tagsCount: Int = 0, val archivedCount: Int = 0, val unknownStatusCredentials: Int = 0)

Wallet statistics model.

Link copied to clipboard
fun interface WalletStatusResolver

Supply an adapter to a trusted revocation manager when live status is required.

Functions

Link copied to clipboard

Offline stores must report unknown status instead of treating a reference as revocation.

Link copied to clipboard
Link copied to clipboard
inline fun <T> Wallet.withCollections(block: (CredentialCollections) -> T): T?

Extension function for type-safe access to the CredentialCollections capability.

Link copied to clipboard
inline fun <T> Wallet.withDidManagement(block: (DidManagement) -> T): T?

Extension function for type-safe capability access.

Link copied to clipboard
inline fun <T> Wallet.withIssuance(block: (CredentialIssuance) -> T): T?

Extension function for type-safe capability access.

Link copied to clipboard
inline fun <T> Wallet.withKeyManagement(block: (KeyManagement) -> T): T?

Extension function for type-safe capability access.

Link copied to clipboard
inline fun <T> Wallet.withLifecycle(block: (CredentialLifecycle) -> T): T?

Extension function for type-safe capability access.

Link copied to clipboard
inline fun <T> Wallet.withOrganization(block: (CredentialOrganization) -> T): T?

Extension function for type-safe access to the combined CredentialOrganization capability.

Link copied to clipboard
inline fun <T> Wallet.withPresentation(block: (CredentialPresentation) -> T): T?

Extension function for type-safe capability access.

Link copied to clipboard
inline fun <T> Wallet.withTagging(block: (CredentialTagging) -> T): T?

Extension function for type-safe access to the CredentialTagging capability.