AnonCredential

constructor(schemaID: String, credentialDefinitionID: String, values: Map<String, AnonCredential.Attribute>, signatureJson: String, signatureCorrectnessProofJson: String, revocationRegistryId: String?, revocationRegistryJson: String?, witnessJson: String?, json: String)(source)

Parameters

schemaID

The ID of the credential's schema.

credentialDefinitionID

The ID of the credential's definition.

values

The values of the attributes in the credential.

signatureJson

The JSON representation of the credential's signature.

signatureCorrectnessProofJson

The JSON representation of the credential's signature correctness proof.

revocationRegistryId

The ID of the credential's revocation registry (optional).

revocationRegistryJson

The JSON representation of the credential's revocation registry (optional).

witnessJson

The JSON representation of the credential's witness.

json

The JSON representation of the credential.