Types

A collection of types used in the DVR module

Table of contents

Types

Types

PublicKeyOrKeysetEndpoint

▸ PublicKeyOrKeysetEndpoint: PublicKey | KeysetEndpoint

A union type that can either be a PublicKey or KeysetEndpoint.


ZkPassOutput

▸ ZkPassOutput: { [key: string]: string | number | boolean }

Key-value pairs representing the output data from a zkPass operation.


ZkPassProof

▸ ZkPassProof: Object

Properties representing a zkPass proof.

Name
Type
Description

zkproof

string

The zkPass proof string

dvr_title

string

Title of the DVR

dvr_id

string

Identifier of the DVR

dvr_digest

string

Digest of the DVR

user_data_verifying_keys

object

Keys used for verifying user data

dvr_verifying_key

object

Key used for verifying DVR

time_stamp

number

Timestamp of the proof generation


VerifyZkPassProofResult

▸ VerifyZkPassProofResult: Object

Result of verifying a zkPass proof.

Name
Type
Description

output

The output data

zkpass_proof

The zkPass proof data

Last updated