@identity.com/verifiable-presentations
Version:
Utility Library to securely handle verifiable presentations
25 lines (24 loc) • 1.09 kB
TypeScript
import { VerifiablePresentationManager, VPMOptions } from './VerifiablePresentationManager';
import { VerifyFunction } from './PresentationVerifier';
export declare class VerifiablePresentationManagerFactory {
/**
* Most secure manager verify data in a redundant way
*/
static createCustomManager(options: VPMOptions, verifyAnchor?: VerifyFunction): VerifiablePresentationManager;
/**
* Most secure manager verify data in a redundant way
*/
static createSecureRedundantManager(): VerifiablePresentationManager;
/**
* Good secure manager that favor the ingestion performance by skipping the verify only on that process
*/
static createSecureFastIngestManager(): VerifiablePresentationManager;
/**
* Good secure manager that favor the read performance by skipping the verify only on that process
*/
static createSecureFastReadManager(): VerifiablePresentationManager;
/**
* Mock manager that should only be used in test or development
*/
static createInsecureManager(): VerifiablePresentationManager;
}