UNPKG

@transmute/bbs-bls12381-signature-2020

Version:
34 lines (33 loc) 760 B
/** * Options for creating a proof */ export interface DeriveProofOptions { /** * Document outlining what statements to reveal */ readonly revealDocument: any; /** * The document featuring the proof to derive from */ readonly document: any; /** * The proof for the document */ readonly proof: any; /** * Optional custom document loader */ documentLoader?: Function; /** * Optional expansion map */ expansionMap?: Function; /** * Nonce to include in the derived proof */ readonly nonce?: Uint8Array; /** * Indicates whether to compact the resulting proof */ readonly skipProofCompaction?: boolean; }