AttestationGatedConfig
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / AttestationGatedConfig
Interface: AttestationGatedConfig
Section titled “Interface: AttestationGatedConfig”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11009
Configuration for attestation-gated disclosure
Properties
Section titled “Properties”masterViewingKey
Section titled “masterViewingKey”masterViewingKey:
ViewingKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11011
Master viewing key to derive auditor keys from
allowedSchemas?
Section titled “allowedSchemas?”
optionalallowedSchemas?:string[]
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11013
Allowed attestation schemas (empty = all schemas)
allowedIssuers?
Section titled “allowedIssuers?”
optionalallowedIssuers?:string[]
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11015
Allowed issuers (empty = all issuers)
verifyOnChain?
Section titled “verifyOnChain?”
optionalverifyOnChain?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11017
Whether to verify attestations on-chain (default: false = API verification)
rangeApiEndpoint?
Section titled “rangeApiEndpoint?”
optionalrangeApiEndpoint?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11019
Range API endpoint for verification
minAttestationAge?
Section titled “minAttestationAge?”
optionalminAttestationAge?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11021
Minimum attestation age in seconds (prevents replay attacks)
maxAttestationAge?
Section titled “maxAttestationAge?”
optionalmaxAttestationAge?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11023
Maximum attestation age in seconds (enforces time-bounded access, 0 = no limit)
maxCacheSize?
Section titled “maxCacheSize?”
optionalmaxCacheSize?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11025
Maximum number of cached derived keys (default: 1000)
customVerifier?
Section titled “customVerifier?”
optionalcustomVerifier?: (attestation) =>Promise<boolean>
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11027
Custom verification function
Parameters
Section titled “Parameters”attestation
Section titled “attestation”Returns
Section titled “Returns”Promise<boolean>