ZkDocumentData

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.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

devices signed document fields.

Link copied to clipboard

the doc type of doc being represented.

Link copied to clipboard

issuer signed document fields.

Link copied to clipboard

the issuers certificate chain.

Link copied to clipboard
val timestamp: Instant

the timstampe the proof was generated at.

Link copied to clipboard

the ZK system spec Id from the verifier used to create the proof.

Functions

Link copied to clipboard

Converts this ZkDocumentData instance to a CBOR DataItem representation.