# 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)

*** ** * ** ***


```
class SdJwtClaim : DigitalCredentialField
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialField](https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialField) ||
|   | ↳ | [androidx.credentials.registry.digitalcredentials.sdjwt.SdJwtClaim](https://developer.android.com/reference/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim) |

*** ** * ** ***

An attribute of a `https://developer.android.com/reference/kotlin/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/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#SdJwtClaim(kotlin.collections.List,kotlin.Any,kotlin.collections.Set,kotlin.Boolean)( path: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, fieldDisplayPropertySet: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties>, isSelectivelyDisclosable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#hashCode()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/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 |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#path()` a non-empty array of path strings used to select this given claim during matching |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtClaim#value()` the json-serializable claim value, used for matching when the incoming Digital Credentials request specifies a required value for this claim; |

| ### Inherited properties |
|---|
| From [androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialField](https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialField) |---|---| | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties>` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialField#fieldDisplayPropertySet()` | |

## Public constructors

### SdJwtClaim

```
SdJwtClaim(
    path: List<String>,
    value: Any?,
    fieldDisplayPropertySet: Set<FieldDisplayProperties>,
    isSelectivelyDisclosable: Boolean = true
)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### isSelectivelyDisclosable

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

```
val isSelectivelyDisclosable: Boolean
```

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

### path

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

```
val path: List<String>
```

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

### value

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

```
val value: Any?
```

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