UNPKG

@animo-id/pex

Version:

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

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