# SdJwtClaim

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/SdJwtClaim.kt+class:androidx.credentials.registry.digitalcredentials.sdjwt.SdJwtClaim) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
public final class SdJwtClaim extends DigitalCredentialField
```

<br />

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

*** ** * ** ***

An attribute of a `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtEntry` 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.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#SdJwtClaim(kotlin.collections.List,kotlin.Any,kotlin.collections.Set,kotlin.Boolean)( @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/java/lang/String.html> path, https://developer.android.com/reference/java/lang/Object.html value, @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/FieldDisplayProperties> fieldDisplayPropertySet, boolean isSelectivelyDisclosable )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#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/java/lang/String.html>` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#getPath()()` a non-empty array of path strings used to select this given claim during matching |
| `final https://developer.android.com/reference/java/lang/Object.html` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#getValue()()` the json-serializable claim value, used for matching when the incoming Digital Credentials request specifies a required value for this claim; |
| `int` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#hashCode()()` |
| `final boolean` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#isSelectivelyDisclosable()()` true (default) if the given claim is selectively disclosable, or false otherwise when the claim will always be disclosed |

| ### Inherited methods |
|---|
| From [androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialField](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialField) |---|---| | `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/FieldDisplayProperties>` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialField#getFieldDisplayPropertySet()()` | |

## Public constructors

### SdJwtClaim

```
public SdJwtClaim(
    @NonNull List<@NonNull String> path,
    Object value,
    @NonNull Set<@NonNull FieldDisplayProperties> fieldDisplayPropertySet,
    boolean isSelectivelyDisclosable
)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getPath

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

```
public final @NonNull List<@NonNull String> getPath()
```

a non-empty array of path strings used to select this given claim during matching

### getValue

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

```
public final Object getValue()
```

the json-serializable claim value, used for matching when the incoming Digital Credentials request specifies a required value for this claim;

### hashCode

```
public int hashCode()
```

### isSelectivelyDisclosable

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

```
public final boolean isSelectivelyDisclosable()
```

true (default) if the given claim is selectively disclosable, or false otherwise when the claim will always be disclosed