public final class MdocInlineIssuanceEntry extends InlineIssuanceEntry


An entry offering the user an opportunity to add a digital credential to your holder / wallet application during the presentation moment.

This serves as a fallback or alternative to a real digital credential that can be presented. When the verifier application requests for a digital credential presentation, it is possible that the user has not officially add their corresponding digital credential(s) to their holder application yet. The MdocInlineIssuanceEntry allows the holder application to add the credentials on the fly and then immediately return them, allowing the request, as well as the future requests, to still succeed.

Throws
kotlin.IllegalArgumentException

if id length is greater than 64 characters

kotlin.IllegalArgumentException

if supportedMdocs is empty

Summary

Nested types

Configuration determining whether the MdocInlineIssuanceEntry should be offered for a presentation request

Public methods

boolean
equals(Object other)
final @NonNull Set<@NonNull MdocInlineIssuanceEntry.SupportedMdoc>

supported mdocs to offer the inline issuance flow; cannot be empty

int

Inherited methods

From androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry
final @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties

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; it is recommended that you generate this id with enough entropy that it cannot be guessed by a third party, e.g. through encrypting this id or randomizing it.

Public constructors

MdocInlineIssuanceEntry

Added in 1.0.0-alpha02
public MdocInlineIssuanceEntry(
    @NonNull String id,
    @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties display,
    @NonNull Set<@NonNull MdocInlineIssuanceEntry.SupportedMdoc> supportedMdocs
)

Public methods

equals

public boolean equals(Object other)

getSupportedMdocs

Added in 1.0.0-alpha02
public final @NonNull Set<@NonNull MdocInlineIssuanceEntry.SupportedMdocgetSupportedMdocs()

supported mdocs to offer the inline issuance flow; cannot be empty

hashCode

public int hashCode()