A collection of types used in the DVR module
▸ PublicKeyOrKeysetEndpoint: PublicKey
|
KeysetEndpoint
A union type that can either be a PublicKey or KeysetEndpoint.
▸ ZkPassOutput: { [key: string]: string | number | boolean }
Key-value pairs representing the output data from a zkPass operation.
▸ ZkPassProof: Object
Properties representing a zkPass proof.
▸ VerifyZkPassProofResult: Object
Result of verifying a zkPass proof.
Name | Type | Description |
---|---|---|
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
output
The output data
zkpass_proof
The zkPass proof data
A collection of FFI types used in the DVR module
▸ FfiResultUserDataToken: StructType A structure representing the result of a user data token operation.
Parameters:
▸ FfiResultDvrToken: StructType A structure representing the result of a DVR token operation.
Parameters:
▸ FfiResultZkPassProofToken: StructType A structure representing the result of a zkPass proof token operation.
Parameters:
▸ FfiResultVerifyZkPassProofToken: StructType A structure representing the result of a zkPass proof verification token operation.
Parameters:
▸ PublicKeyFfi: StructType A structure representing a public key.
Parameters:
▸ KeysetEndpointFfi: StructType A structure representing a keyset endpoint.
Parameters:
▸ PublicKeyOptionUnionFfi: StructType A structure representing a union of public key and keyset endpoint.
Parameters:
▸ PublicKeyOptionFfi: StructType A structure representing a public key option with tag and value.
Parameters:
▸ UserDataRequestFfi: StructType A structure representing a user data request.
Parameters:
▸ DvrDataFfi: StructType A structure representing DVR data.
Parameters:
▸ ExpectedDvrMetadataFfi: StructType A structure representing expected DVR metadata.
Parameters:
▸ UserDataRequestArrayFfi: ArrayType An array type of UserDataRequestFfi
structures.
▸ UserDataVerifyingKeysFfi: ArrayType An array type of UserDataRequestFfi
structures used for verifying keys.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
result
ref.refType(ref.types.CString)
The operation result
error
ref.types.CString
Error message if any
result
ref.refType(ref.types.CString)
The operation result
error
ref.types.CString
Error message if any
result
ref.refType(ref.types.CString)
The operation result
error
ref.types.CString
Error message if any
result
ref.refType(ref.types.CString)
The operation result
error
ref.types.CString
Error message if any
x
ref.types.CString
X coordinate of the public key
y
ref.types.CString
Y coordinate of the public key
jku
ref.types.CString
JSON Web Key Set URL
kid
ref.types.CString
Key identifier
public_key
The public key structure
keyset_endpoint
The keyset endpoint structure
tag
ref.types.uint64
Type identifier
value
The key data
key
ref.types.CString
Request key
value
Request value
zkvm
ref.types.CString
ZKVM identifier
dvr_title
ref.types.CString
DVR title
dvr_id
ref.types.CString
DVR identifier
query
ref.types.CString
Query string
user_data_requests
Array of user data requests
user_data_requests_len
ref.types.uint64
Length of user data requests array
dvr_verifying_key
DVR verifying key
ttl
ref.types.uint64
Time to live
dvr
ref.types.CString
DVR data token
user_data_verifying_keys
Array of verifying keys
user_data_verifying_keys_len
ref.types.uint64
Length of verifying keys array