public abstract class DigitalCredentialEntry

Known direct subclasses
MdocEntry

Mdoc entry, a mobile document entry whose format follows the ISO/IEC 18013-5:2021 specification.


A digital credential entry to be registered.

This entry contains information that serves two major purposes:

  1. Credential metadata for filtering / request matching purpose. When another app makes a CredentialManager.getCredential request, it will specify the specific credential properties it is looking for. The Credential Manager will use the info stored for the given entry and the registry matcher you registered to determine whether this entry can fulfill an incoming request.

  2. Display metadata that will be rendered as part of the Credential Manager selector UI. The selector UI, post filtering, will display to the user their qualified, available credential candidates, in order for the user to make an informed choice.

    All display metadata will be contained in the entryDisplayData property.

Summary

Public constructors

DigitalCredentialEntry(
    @NonNull String id,
    @NonNull Set<@NonNull EntryDisplayProperties> entryDisplayPropertySet
)

Public methods

final @NonNull Set<@NonNull EntryDisplayProperties>

the display properties associated with the given entry

final @NonNull String

the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen

Public constructors

DigitalCredentialEntry

public DigitalCredentialEntry(
    @NonNull String id,
    @NonNull Set<@NonNull EntryDisplayProperties> entryDisplayPropertySet
)

Public methods

getEntryDisplayPropertySet

Added in 1.0.0-alpha01
public final @NonNull Set<@NonNull EntryDisplayPropertiesgetEntryDisplayPropertySet()

the display properties associated with the given entry

getId

Added in 1.0.0-alpha01
public final @NonNull String getId()

the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen