Package-level declarations

Types

Link copied to clipboard
sealed interface ParamValue
Link copied to clipboard

Exception thrown when the ZK proof fails verification.

Link copied to clipboard
data class ZkDocument(val zkDocumentData: ZkDocumentData, val proof: ByteString)

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

Link copied to clipboard
data class ZkDocumentData(val zkSystemSpecId: String, val docType: String, val timestamp: Instant, val issuerSignedItems: List<DataItem>, val deviceSignedItems: List<DataItem>, val msoX5chain: X509CertChain?)

ZkDocumentData contains the data the proof will prove.

Link copied to clipboard
interface ZkSystem

Interface representing a Zero-Knowledge Proof system that can generate and verify proofs for identity documents according to the ISO/IEC 18013-5 standard.

Link copied to clipboard

A repository of ZkSystem implementations.

Link copied to clipboard
data class ZkSystemSpec(val id: String, val system: String, _params: MutableMap<String, ParamValue> = mutableMapOf())

ZkSystemSpec represents the specifications of a ZK System.