OneCoreBindingInterface

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun checkRevocation(credentialIds: List<String>, forceRefresh: Boolean?): List<CredentialRevocationCheckResponseBindingDto>
Link copied to clipboard

For wallet-initiated flows, continues the OpenID4VCI issuance process after completing authorization.

Link copied to clipboard
abstract suspend fun createBackup(password: String, outputPath: String): BackupCreateBindingDto
Link copied to clipboard
abstract suspend fun createDid(request: DidRequestBindingDto): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun createProof(request: CreateProofRequestBindingDto): String

For verifiers, creates a proof request.

Link copied to clipboard
abstract suspend fun createProofSchema(request: CreateProofSchemaRequestDto): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun deleteCache(types: List<CacheTypeBindingDto>?)
Link copied to clipboard
abstract suspend fun deleteCredential(credentialId: String)
Link copied to clipboard
abstract suspend fun deleteCredentialSchema(credentialSchemaId: String)
Link copied to clipboard
abstract suspend fun deleteIdentifier(id: String)
Link copied to clipboard
abstract suspend fun deleteProof(proofId: String)
Link copied to clipboard
abstract suspend fun deleteProofClaims(proofId: String)
Link copied to clipboard
abstract suspend fun deleteProofSchema(proofSchemaId: String)
Link copied to clipboard
abstract suspend fun deleteTrustAnchor(anchorId: String)
Link copied to clipboard
abstract suspend fun finalizeImport()
Link copied to clipboard
abstract suspend fun generateKey(request: KeyRequestBindingDto): String
Link copied to clipboard
abstract suspend fun getConfig(): ConfigBindingDto
Link copied to clipboard
abstract suspend fun getCredential(credentialId: String): CredentialDetailBindingDto
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getCredentialSchema(credentialSchemaId: String): CredentialSchemaDetailBindingDto
Link copied to clipboard
abstract suspend fun getDids(query: DidListQueryBindingDto): DidListBindingDto
Link copied to clipboard
abstract suspend fun getHistoryEntry(historyId: String): HistoryListItemBindingDto
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getIdentifier(id: String): GetIdentifierBindingDto
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getProof(proofId: String): ProofResponseBindingDto
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getProofSchema(proofSchemaId: String): GetProofSchemaBindingDto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getTrustAnchor(trustAnchorId: String): GetTrustAnchorResponseBindingDto
Link copied to clipboard
abstract suspend fun getTrustEntity(trustEntityId: String): GetTrustEntityResponseBindingDto
Link copied to clipboard
Link copied to clipboard

For a wallet, handles the interaction once the wallet connects to a share endpoint URL (for example, scans the QR code of an offered credential or request for proof).

Link copied to clipboard

Accepts an offered credential. The chosen identifier will be listed as the subject of the issued credential.

Link copied to clipboard
Link copied to clipboard

Register with a Wallet Provider.

Link copied to clipboard
abstract suspend fun holderRejectCredential(interactionId: String)

Rejects an offered credential.

Link copied to clipboard
abstract suspend fun holderRejectProof(interactionId: String)
Link copied to clipboard
abstract suspend fun holderSubmitProof(interactionId: String, submitCredentials: Map<String, List<PresentationSubmitCredentialRequestBindingDto>>)
Link copied to clipboard
abstract suspend fun holderSubmitProofV2(interactionId: String, submission: Map<String, List<PresentationSubmitV2CredentialRequestBindingDto>>)
Link copied to clipboard
abstract suspend fun holderWalletUnitStatus(id: String)

Check status of wallet unit with the Wallet Provider. Will return an error if the unit has been revoked.

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

For wallets, starts the OpenID4VCI Authorization Code Flow.

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

Scan NFC for ISO 18013-5 engagment

Link copied to clipboard
abstract suspend fun nfcStopIsoMdlEngagement()

Cancel previously started NFC scan via nfc_read_iso_mdl_engagement

Link copied to clipboard

For wallets, initiates device engagement for offline flows. Reference the verificationEngagement entry of your configuration for your options for engagement.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun rollbackImport()
Link copied to clipboard
abstract suspend fun runTask(task: String): String
Link copied to clipboard
abstract suspend fun shareCredentialSchema(credentialSchemaId: String): CredentialSchemaShareResponseBindingDto
Link copied to clipboard
Link copied to clipboard
abstract suspend fun shareProofSchema(proofSchemaId: String): ProofSchemaShareResponseBindingDto
Link copied to clipboard
abstract suspend fun uninitialize(deleteData: Boolean)
Link copied to clipboard
abstract suspend fun unpackBackup(password: String, inputPath: String): MetadataBindingDto
Link copied to clipboard
Link copied to clipboard
abstract fun version(): VersionBindingDto