AnonCredentialBackUp

class AnonCredentialBackUp constructor(val schemaID: String, val credentialDefinitionID: String, val values: Map<String, AnonCredential.Attribute>, val signature: PlutoRestoreTask.AnonCredentialBackUp.Signature, val signatureCorrectnessProof: PlutoRestoreTask.AnonCredentialBackUp.SignatureCorrectnessProof, val revocationRegistryId: String? = null, val revocationRegistry: PlutoRestoreTask.AnonCredentialBackUp.RevocationRegistry? = null, val witnessJson: PlutoRestoreTask.AnonCredentialBackUp.Witness? = null, val revoked: Boolean? = null)(source)

Represents the backup of anonymous credentials.

Constructors

Link copied to clipboard
constructor(schemaID: String, credentialDefinitionID: String, values: Map<String, AnonCredential.Attribute>, signature: PlutoRestoreTask.AnonCredentialBackUp.Signature, signatureCorrectnessProof: PlutoRestoreTask.AnonCredentialBackUp.SignatureCorrectnessProof, revocationRegistryId: String? = null, revocationRegistry: PlutoRestoreTask.AnonCredentialBackUp.RevocationRegistry? = null, witnessJson: PlutoRestoreTask.AnonCredentialBackUp.Witness? = null, revoked: Boolean? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class RevocationRegistry(val accum: String? = null)
Link copied to clipboard

Represents a signature object.

Link copied to clipboard

Represents a signature correctness proof for verifying the correctness of a signature.

Link copied to clipboard
class Witness(val omega: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "cred_def_id")
val credentialDefinitionID: String

The credential definition ID.

Link copied to clipboard

The revocation registry.

Link copied to clipboard
@SerialName(value = "rev_reg_id")
val revocationRegistryId: String? = null

The revocation registry ID.

Link copied to clipboard
val revoked: Boolean? = null
Link copied to clipboard
@SerialName(value = "schema_id")
val schemaID: String

The schema ID of the credential.

Link copied to clipboard

The signature of the credential.

Link copied to clipboard

The signature correctness proof.

Link copied to clipboard

The attribute values of the credential.

Link copied to clipboard

The witness JSON string.

Functions

Link copied to clipboard

Converts the object to an instance of AnonCredential.