public final class SdJwtEntry extends DigitalCredentialEntry


A digital credential entry conforming to the IETF SD-JWT-based Verifiable Credentials (SD-JWT VC) credential format.

Throws
kotlin.IllegalArgumentException

if id length is greater than 64 characters

Summary

Public constructors

SdJwtEntry(
    @NonNull String verifiableCredentialType,
    @NonNull List<@NonNull SdJwtClaim> claims,
    @NonNull Set<@NonNull EntryDisplayProperties> entryDisplayPropertySet,
    @NonNull String id
)

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull SdJwtClaim>

the individual attributes associated with this credential

final @NonNull String

the verifiable credential type (vct) as defined in the SD-JWT VC spec

int

Inherited methods

From androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialEntry
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

SdJwtEntry

public SdJwtEntry(
    @NonNull String verifiableCredentialType,
    @NonNull List<@NonNull SdJwtClaim> claims,
    @NonNull Set<@NonNull EntryDisplayProperties> entryDisplayPropertySet,
    @NonNull String id
)

Public methods

equals

public boolean equals(Object other)

getClaims

Added in 1.0.0-alpha02
public final @NonNull List<@NonNull SdJwtClaimgetClaims()

the individual attributes associated with this credential

getVerifiableCredentialType

Added in 1.0.0-alpha02
public final @NonNull String getVerifiableCredentialType()

the verifiable credential type (vct) as defined in the SD-JWT VC spec

hashCode

public int hashCode()