Package-level declarations

Types

Link copied to clipboard
data class WalletBridgeClientIdTrustConfiguration(val x509TrustAnchorsPem: List<String> = emptyList(), val preRegisteredClientMetadataJson: Map<String, String> = emptyMap())

Verifier Request Object trust configuration exposed to the Swift wallet bridge.

Link copied to clipboard
data class WalletBridgeConfiguration(val walletId: String = "default", val persistence: WalletBridgePersistence = WalletBridgePersistence(), val databaseKeyProvider: WalletBridgeDatabaseEncryptionKeyProvider? = null, val attestation: WalletAttestationConfig? = null, val issuerMetadataTrustResolver: WalletBridgeIssuerMetadataTrustResolver? = null, val preferredLocales: List<String> = emptyList(), val transactionDataProfiles: List<MobileWalletTransactionDataProfile> = emptyList(), val paymentCredentialIssuers: List<WalletBridgePaymentCredentialIssuer> = emptyList(), val clientIdTrustConfiguration: WalletBridgeClientIdTrustConfiguration = WalletBridgeClientIdTrustConfiguration(), val appGroupIdentifier: String? = null, val keychainAccessGroup: String? = null, val defaultKeyUseAuthorizationPolicy: WalletBridgeKeyUseAuthorizationPolicy = WalletBridgeKeyUseAuthorizationPolicy.BiometricCurrentSet, val keyUseAuthorizationPrompt: KeyUseAuthorizationPrompt = KeyUseAuthorizationPrompt(), val signingIdentity: SigningIdentityConfiguration = id.walt.wallet2.mobile.identity.SigningIdentityConfiguration())

Configuration used when creating an iOS WalletSdkBridge.

Link copied to clipboard

Swift-facing credential store override.

Link copied to clipboard
data class WalletBridgeDatabaseEncryptionKey(val keyId: String, val material: ByteArray)

Database key material returned by a Swift-owned database key provider.

Swift-facing provider for app-supplied encrypted wallet database keys.

Link copied to clipboard

Database-key ownership modes exposed to the Swift wallet bridge.

Link copied to clipboard

Swift-facing DID document store override.

Link copied to clipboard
@Serializable
class WalletBridgeError

Serializable error returned to Swift callers when a bridge operation fails.

Link copied to clipboard

Coarse error category for Swift bridge failures.

Link copied to clipboard
data class WalletBridgeIssuerMetadataSigner(val keyId: String?, val algorithm: String, val trustType: WalletBridgeIssuerMetadataSignerTrustType)

Trusted signer details returned after Swift verifies signed Credential Issuer Metadata.

Authority category assigned by Swift after it verifies the signed metadata JWS.

Link copied to clipboard

Swift-facing trust boundary for signed Credential Issuer Metadata.

Link copied to clipboard

Runtime provider; trust in this provider's assertions is established by the application.

Selects an immutable provider and its verification key for the issuer requiring attestation.

Link copied to clipboard
data class WalletBridgeKeyAttestationRequest(val credentialIssuer: String, val proofKeyJwk: String, val nonce: String?, val requiredKeyStorage: List<String>?, val requiredUserAuthentication: List<String>?)

Public proof key and issuer requirements supplied to a Swift wallet provider.

Link copied to clipboard
@Serializable
data class WalletBridgeKeyPreflight

Swift-friendly result of a key-use authorization preflight.

Link copied to clipboard
@Serializable
data class WalletBridgeKeyUseAuthorizationPolicy(val type: WalletBridgeKeyUseAuthorizationPolicyType, val timeoutSeconds: Int? = null)

Swift-bridge representation of the authorization policy selected for a newly created key.

Enforcement boundary reported for a supported timed-reuse key.

Timeout-validation capability reported for a supported timed-reuse key.

Link copied to clipboard
data class WalletBridgePaymentConsentPreparation(val consent: PreparedPaymentConsent?)

Successful preparation; failures use the normal result channel.

Link copied to clipboard
data class WalletBridgePaymentCredentialIssuer(val issuer: String, val publicJwkJson: String, val algorithm: String = "ES256")

Swift-friendly public verification material.

Link copied to clipboard
data class WalletBridgePersistence(val databaseKey: WalletBridgeDatabaseKeyConfiguration = WalletBridgeDatabaseKeyConfiguration.Managed, val credentialStore: WalletBridgeCredentialStore? = null, val didStore: WalletBridgeDidStore? = null)

Persistence configuration exposed to the Swift wallet bridge.

@Serializable
data class WalletBridgePresentationValidationFailure(val errorCode: MobileWalletPresentationErrorCode, val message: String, val responseSafetyFailure: String)

An OpenID4VP validation error retained locally because remote reporting was unsafe.

Link copied to clipboard
sealed interface WalletBridgeResult<out T>

Result wrapper used by Swift bridge operations.

Link copied to clipboard
data class WalletBridgeStoredCredential(val id: String, val serializedCredential: String, val format: String, val label: String? = null, val addedAt: String? = null, val metadataJson: String? = null)

Credential entry exchanged with Swift custom credential stores.

Link copied to clipboard
data class WalletBridgeStoredDid(val did: String, val documentJson: String)

DID document entry exchanged with Swift custom DID stores.

Link copied to clipboard

Preserves a Swift provider's typed failure through Kotlin/Native's NSError boundary.

Link copied to clipboard

iOS-facing bridge around MobileWallet operations.

Link copied to clipboard
class WalletSdkBridgeFactory(nfcHostPlatformAdapter: NfcHostPlatformAdapter? = null)

Factory for creating WalletSdkBridge instances with iOS storage and key dependencies.