AnoncredPayload

data class AnoncredPayload(val schemaId: String, val credDefId: String, val keyCorrectnessProof: KeyCorrectnessProof, val nonce: String, val methodName: String)(source)

Represents the payload of an anonymous credential.

Constructors

Link copied to clipboard
constructor(schemaId: String, credDefId: String, keyCorrectnessProof: KeyCorrectnessProof, nonce: String, methodName: String)

Properties

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

The ID of the credential definition associated with the credential.

Link copied to clipboard
@SerialName(value = "key_correctness_proof")
val keyCorrectnessProof: KeyCorrectnessProof

The proof of correctness of the public key used for signing the credential.

Link copied to clipboard
@SerialName(value = "method_name")
val methodName: String

The method name for the anonymous credential.

Link copied to clipboard

The cryptographic nonce used for the proof of correctness.

Link copied to clipboard
@SerialName(value = "schema_id")
val schemaId: String

The ID of the schema associated with the credential.