Posted by Rohey Livne – Group Product Supervisor
In at this time’s interconnected world, managing digital id is crucial. Android goals to help open requirements that guarantee seamless interoperability with numerous id suppliers and companies. As a part of this aim, we’re excited to announce that Android, through Credential Supervisor’s DigitalCredential API, now natively helps OpenID4VP and OpenID4VCI for digital credential presentation and issuance respectively.
What are digital credentials?
Digital credentials are cryptographically verifiable paperwork. The commonest rising use case for digital credentials is id paperwork comparable to driver’s licenses, passports, or nationwide ID playing cards. Within the coming years, it’s anticipated that Android builders will develop progressive functions of this expertise for a wider vary of non-public credentials that customers might want to current digitally, together with training certifications, insurance coverage insurance policies, memberships, permits, and extra.
Digital credentials will be supplied by any put in Android app. These apps are often known as “credential holders”; sometimes digital pockets apps comparable to Google Pockets or Samsung Pockets.
Different apps not essentially regarded as “wallets” can also have a use for exposing a digital credential. For instance an airline app may need to provide their customers’ air miles reward program membership as a digital credential to be offered to different apps or web sites.
Digital credentials will be offered by the person to every other app or web site on the identical system, and Android additionally helps securely presenting Digital Credentials between units utilizing the identical trade normal protocols utilized by passkeys (CTAP), by establishing encrypted communication tunnels.
Customers can retailer a number of credentials throughout a number of apps on their system. By leveraging OpenID4VP requests from web sites utilizing the W3C Digital Credential API, or from native apps utilizing Android Credential Supervisor API, a person can choose what credential to current from throughout all accessible credentials throughout all put in digital pockets apps.
How digital credentials work
Presentation
To current the credential, the verifier sends an OpenID4VP request to the Digital Credential API, which then prompts the person to pick out a credential throughout all of the credentials that may fulfill this request. Notice that the person is choosing a credential, not a digital pockets app:

As soon as the person chooses a credential to proceed with, Android platform redirects the unique OpenID4VP request to the digital pockets app that holds the chosen credential to finish the presentation again to the verifier. When the digital pockets app receives the OpenID4VP request from Android, it could possibly additionally carry out any extra due-diligence steps it must carry out previous to releasing the credential to the verifier.
Issuance
Android additionally permits builders to subject their very own Digital Credentials to a person’s digital pockets app. This course of will be performed utilizing an OpenID4VCI request, which prompts the person to decide on the digital pockets app that they need to retailer the credential in. Alternatively, the issuance may very well be performed straight from inside the digital pockets app (some apps won’t even have an specific person dealing with issuance step in the event that they retailer credentials primarily based on their affiliation to a signed-in person account).

Over time, the person can repeat this course of to subject a number of credentials throughout a number of digital pockets apps:

Notice: To make sure that at presentation time Android can appropriately listing all of the credentials that digital pockets apps maintain, digital wallets should register their credentials’ metadata with Credential Supervisor. Credential Supervisor makes use of this metadata to match credentials throughout accessible digital pockets apps to the verifier’s request, in order that it could possibly solely current an inventory of legitimate credentials that may fulfill the request for the person to pick out from.
Early adopters
As Google Pockets introduced yesterday, quickly customers will be capable to use digital credentials to recuperate Amazon accounts, entry on-line well being companies with CVS and MyChart by Epic, and confirm profiles or id on platforms like Uber and Bumble.
These use circumstances will benefit from customers’ digital credentials saved in any digital pockets app customers have on their Android system. To that finish, we’re additionally completely satisfied to share that each Samsung Pockets and 1Password will maintain customers’ digital credentials as digital wallets and help OpenID requirements through Android’s Credential Supervisor API.
Be taught extra
Credential Supervisor API lets each Android app implement credential verification or present credentials on the Android platform.
Take a look at our new digital credential documentation on tips on how to grow to be a credential verifier, benefiting from customers’ current digital credentials utilizing Jetpack Credential Supervisor, or to grow to be a digital pockets app holding your personal credentials for different apps or web sites to confirm.