ZkDocumentData

data class ZkDocumentData(val zkSystemSpecId: String, val docType: String, val timestamp: Instant, val issuerSigned: Map<String, Map<String, DataItem>>, val deviceSigned: Map<String, Map<String, DataItem>>, val msoX5chain: X509CertChain?)

ZkDocumentData contains the data the proof will prove.

Constructors

Link copied to clipboard
constructor(zkSystemSpecId: String, docType: String, timestamp: Instant, issuerSigned: Map<String, Map<String, DataItem>>, deviceSigned: Map<String, Map<String, DataItem>>, msoX5chain: X509CertChain?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

devices signed name spaces and values.

Link copied to clipboard

the doc type of doc being represented.

Link copied to clipboard

issuer signed name spaces and values.

Link copied to clipboard

the issuers certificate chain.

Link copied to clipboard

the timstamps 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.