public final class SdJwtInlineIssuanceEntry 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 SdJwtInlineIssuanceEntry 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 supportedSdJwts is empty

Summary

Nested types

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

Public methods

boolean
equals(Object other)
final @NonNull Set<@NonNull SdJwtInlineIssuanceEntry.SupportedSdJwt>

supported SD-JWTs 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

SdJwtInlineIssuanceEntry

Added in 1.0.0-alpha02
public SdJwtInlineIssuanceEntry(
    @NonNull String id,
    @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties display,
    @NonNull Set<@NonNull SdJwtInlineIssuanceEntry.SupportedSdJwt> supportedSdJwts
)

Public methods

equals

public boolean equals(Object other)

getSupportedSdJwts

Added in 1.0.0-alpha02
public final @NonNull Set<@NonNull SdJwtInlineIssuanceEntry.SupportedSdJwtgetSupportedSdJwts()

supported SD-JWTs to offer the inline issuance flow; cannot be empty

hashCode

public int hashCode()