Anon Credential Back Up
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
Link copied to clipboard
class Signature constructor(val primaryCredential: PlutoRestoreTask.AnonCredentialBackUp.Signature.PrimaryCredential, val revocationCredential: PlutoRestoreTask.AnonCredentialBackUp.Signature.RevocationCredential? = null)
Represents a signature object.
Link copied to clipboard
Represents a signature correctness proof for verifying the correctness of a signature.
Link copied to clipboard
Properties
Link copied to clipboard
The credential definition ID.
Link copied to clipboard
The revocation registry.
Link copied to clipboard
The revocation registry ID.
Link copied to clipboard
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.