ZkDocument

data class ZkDocument(val zkDocumentData: ZkDocumentData, val proof: ByteString)

Represents a document that contains a zero-knowledge (ZK) proof.

Constructors

Link copied to clipboard
constructor(zkDocumentData: ZkDocumentData, proof: ByteString)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val proof: ByteString

The ZK proof that attests to the integrity and validity of the document data.

Link copied to clipboard

The structured data of the document.

Functions

Link copied to clipboard

Converts this ZkDocument instance to a CBOR DataItem representation.