AndroidDigitalCredentialCreateProvider

Android framework boundary for official holder CREATE_CREDENTIAL request and response handling.

Functions

Link copied to clipboard

Locates the OpenID4VCI create request and derives the origin from authenticated caller data.

Link copied to clipboard
fun setCancellation(resultIntent: Intent)

Maps explicit user refusal to the platform cancellation exception.

Link copied to clipboard
fun setFailure(resultIntent: Intent, message: String = "Digital credential issuance failed")

Maps malformed, unsupported, or failed requests without leaking sensitive inputs.

Link copied to clipboard
fun setResponse(resultIntent: Intent, response: AndroidDigitalCredentialCreateResponse = AndroidDigitalCredentialCreateResponse.acknowledgment())

Writes the official Credential Manager create result payload to resultIntent.