public final class SdJwtClaim extends DigitalCredentialField


An attribute of a SdJwtEntry conforming to the IETF SD-JWT-based Verifiable Credentials (SD-JWT VC) credential format.

Summary

Public constructors

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

Public methods

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

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

final Object

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

int
final boolean

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

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-alpha02
public final @NonNull List<@NonNull StringgetPath()

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

getValue

Added in 1.0.0-alpha02
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-alpha02
public final boolean isSelectivelyDisclosable()

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