aries / net.globalid.aries.features.issuecredential.models.credential / CredentialInfo

CredentialInfo

@JsonClass(true) data class CredentialInfo

Represents a credential info stored in the wallet.

Constructors

<init>

Represents a credential info stored in the wallet.

CredentialInfo(referent: String, attributes: Map<String, String>, schemaId: String, credentialDefinitionId: String, revocationRegistryId: String?, credentialRevocationId: String?)

Properties

attributes

are the credential attributes

val attributes: Map<String, String>

credentialDefinitionId

is the ID of the corresponding credential definition, which references the schema and provides information about the issuer, signature method, revocation handling etc.

val credentialDefinitionId: String

credentialRevocationId

is the ID used for revoking the credential in the revocation registry (if there is one).

val credentialRevocationId: String?

referent

reference

val referent: String

revocationRegistryId

is the ID of the corresponding revocation registry (if any), which gives information about the tails file and revocation handling.

val revocationRegistryId: String?

schemaId

is the ID of the corresponding schema, which specifies the list of attributes that appear in the credential. The schema does not describe data types.

val schemaId: String