aries / net.globalid.aries.features.presentproof.models / ProofAttributeInfo

ProofAttributeInfo

@JsonClass(true) data class ProofAttributeInfo

Proof attribute info

Describes requested attribute

Constructors

<init>

Proof attribute info

ProofAttributeInfo(name: String? = null, names: List<String>? = null, restrictions: List<Map<String, Any>>? = null, nonRevoked: RevocationInterval? = null)

Properties

name

the name of attribute. If the name is not null, the names must be null and vice versa.

val name: String?

names

the set of attribute names

val names: List<String>?

nonRevoked

interval RevocationInterval

val nonRevoked: RevocationInterval?

restrictions

the list of restriction given restrictions and the credential must satisfy to one of them. See more here.

val restrictions: List<Map<String, Any>>?