UNPKG

@animo-id/pex

Version:

A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification

12 lines (11 loc) 597 B
import { IInternalPresentationDefinition } from '../../types'; import { WrappedVerifiableCredential } from '../../types/PexCredentialMapper'; import { EvaluationClient } from '../evaluationClient'; import { AbstractEvaluationHandler } from './abstractEvaluationHandler'; export declare class FormatRestrictionEvaluationHandler extends AbstractEvaluationHandler { constructor(client: EvaluationClient); getName(): string; handle(pd: IInternalPresentationDefinition, wrappedVcs: WrappedVerifiableCredential[]): void; private generateErrorResult; private generateSuccessResult; }