zkPass
zkPass Developer's Guide
zkPass Developer's Guide
  • â›Šī¸Introduction
  • ZKPASS OVERVIEW
    • đŸ›ī¸Architecture
    • 🧱zkPass Components
    • 🤝Trust Models
    • 🚚Deployment
      • Public-Cloud Hosting
      • Private-Cloud Hosting
      • On-Premise Hosting
    • đŸŽ¯SDK Objectives
    • 🔑API Key
  • zkPass Modules
    • â˜ī¸DVR
      • đŸ—ģHigh Level View
      • đŸ—ī¸Key Concepts
        • User Data
        • DVR Info
        • zkPass Proof
      • đŸ‘ĨDVR Client Roles
        • Data Issuer
          • Providing User Data Retrieval API
        • Data Holder
          • 1. Retrieving the DVR
          • 2. Retrieving the User Data
          • 3. Generating the Proof
          • 4. Verifying the Proof
        • Proof Verifier
          • 1. Providing DVR Retrieval API
          • 2. Providing Proof Verification API
      • 🔎DVR Query
        • Building Query Engine
        • Processing Query
        • Query Grammar
      • đŸ—ī¸Integration Guidelines
      • 🌊DVR Workflows
  • SDK Tutorial
    • Typescript
      • Running Code
      • Code Snippet
      • Directory Structure
    • Rust
      • Running Code
      • Code Snippet
      • Directory Structure
  • API Reference
    • Typescript
      • Classes
        • Class: DvrModuleClient
      • Functions
        • Functions: ffiHelper
        • Functions: jwtHelper
        • Functions: publicKeyOptionUtils
      • Type Aliases
        • Types
        • Types: ffiType
      • Interfaces
        • Interfaces
      • Constants
        • Constants
        • Enums
      • Errors
    • Rust
      • Building Rust doc
    • RESTful API
      • Overview
      • Endpoints
        • Generate Proof
      • Utilities
        • Generate Key Pair
        • Sign User Data and DVR
        • Encrypt User Data and DVR
      • Errors
  • Glossary
    • DVR
    • User Data
    • ZKP
Powered by GitBook
On this page
  • Table of contents
  • Interfaces
Export as PDF
  1. API Reference
  2. Typescript
  3. Interfaces

Interfaces

A collection of interfaces used in the DVR module

PreviousInterfacesNextConstants

Last updated 6 months ago

Table of contents

Interfaces

Interfaces

PublicKey

▸ PublicKey: Object

Represents a public key with x and y coordinates.

Name
Type
Description

x

string

X coordinate of the public key

y

string

Y coordinate of the public key


KeysetEndpoint

▸ KeysetEndpoint: Object

Represents a keyset endpoint configuration.

Name
Type
Description

jku

string

JSON Web Key Set URL

kid

string

Key identifier


PublicKeyOptionUnion

▸ PublicKeyOptionUnion: Object

Union of possible public key options.

Name
Type
Description

keyset_endpoint?

Optional keyset endpoint

public_key?

Optional public key


PublicKeyOption

▸ PublicKeyOption: Object

Configuration for public key options.

Name
Type
Description

tag

Type of the public key option

value

Value of the public key option


UserDataRequest

▸ UserDataRequest: Object

Request format for user data.

Name
Type
Description

key

string

Key for the user data

value

Verifying key or endpoint


DvrData

▸ DvrData: Object

Data structure for DVR operations.

Name
Type
Description

zkvm

string

ZK Virtual Machine identifier

dvr_title

string

Title of the DVR

dvr_id

string

Identifier of the DVR

query

string

Query string

user_data_requests

Array of user data requests

dvr_verifying_key

Key for verifying DVR


DvrDataPayload

▸ DvrDataPayload: Object

Payload format for DVR data.

Name
Type
Description

zkvm

string

ZK Virtual Machine identifier

dvr_title

string

Title of the DVR

dvr_id

string

Identifier of the DVR

query

string

Query string

query_engine_ver

string

Query engine version

query_method_ver

string

Query method version

user_data_requests

object

User data requests

dvr_verifying_key

object

Key for verifying DVR


ExpectedDvrMetadata

▸ ExpectedDvrMetadata: Object

Expected metadata for DVR operations.

Name
Type
Description

ttl

number

Time to live

dvr

string

DVR string

user_data_verifying_keys

Array of user data verifying keys

[]

[]

PublicKey
KeysetEndpoint
PublicKeyOptionUnion
PublicKeyOption
UserDataRequest
DvrData
DvrDataPayload
ExpectedDvrMetadata
KeysetEndpoint
PublicKey
PublicKeyOptionType
PublicKeyOptionUnion
PublicKeyOrKeysetEndpoint
UserDataRequest
PublicKeyOrKeysetEndpoint
UserDataRequest