# SdJwtEntry

Artifact: [androidx.credentials.registry:registry-digitalcredentials-sdjwtvc](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry.kt+class:androidx.credentials.registry.digitalcredentials.sdjwt.SdJwtEntry) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
public final class SdJwtEntry extends DigitalCredentialEntry
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialEntry](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialEntry) ||
|   | ↳ | [androidx.credentials.registry.digitalcredentials.sdjwt.SdJwtEntry](https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry) |

*** ** * ** ***

A digital credential entry conforming to the [IETF SD-JWT-based Verifiable Credentials (SD-JWT VC)](https://datatracker.ietf.org/doc/draft-ietf-oauth-sd-jwt-vc/) credential format.

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#(kotlin.String,kotlin.collections.List,kotlin.collections.Set,kotlin.String)` length is greater than 64 characters |

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#SdJwtEntry(kotlin.String,kotlin.collections.List,kotlin.collections.Set,kotlin.String)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html verifiableCredentialType, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim> claims, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/EntryDisplayProperties> entryDisplayPropertySet, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html id )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim>` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#getClaims()()` the individual attributes associated with this credential |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#getVerifiableCredentialType()()` the verifiable credential type (vct) as defined in [the SD-JWT VC spec](https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-10.html#section-3.2.2.1) |
| `int` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry#hashCode()()` |

| ### Inherited methods |
|---|
| From [androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialEntry](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialEntry) |---|---| | `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/EntryDisplayProperties>` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialEntry#getEntryDisplayPropertySet()()` the display properties associated with the given entry | | `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialEntry#getId()()` 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-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final @NonNull List<@NonNull SdJwtClaim> getClaims()
```

the individual attributes associated with this credential

### getVerifiableCredentialType

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final @NonNull String getVerifiableCredentialType()
```

the verifiable credential type (vct) as defined in [the SD-JWT VC spec](https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-10.html#section-3.2.2.1)

### hashCode

```
public int hashCode()
```