iya-sts
    Preparing search index...

    Variable alternativeProblem

    alternativeProblem: (
        pems: any,
        links: any,
        opts: any,
    ) => Promise<
        | { algorithm: any; check: string; index: number; reason?: undefined }
        | { algorithm?: undefined; check: string; index: number; reason: any }
        | {
            algorithm?: undefined;
            check: string;
            index: number;
            reason?: undefined;
        },
    > = alternativeProblem

    Type Declaration

      • (
            pems: any,
            links: any,
            opts: any,
        ): Promise<
            | { algorithm: any; check: string; index: number; reason?: undefined }
            | { algorithm?: undefined; check: string; index: number; reason: any }
            | {
                algorithm?: undefined;
                check: string;
                index: number;
                reason?: undefined;
            },
        >
      • Holds the alternative (hybrid) signatures on a path to this module's rule: a hybrid certificate is verified as hybrid or not at all.

        A wrong alternative signature is refused everywhere; an uncheckable or missing one only where opts.required is set (this service's own hierarchy).

        Parameters

        • pems: any

          the path, leaf first

        • links: any

          x509.verifyChain() over it

        • opts: any

          required

        Returns Promise<
            | { algorithm: any; check: string; index: number; reason?: undefined }
            | { algorithm?: undefined; check: string; index: number; reason: any }
            | {
                algorithm?: undefined;
                check: string;
                index: number;
                reason?: undefined;
            },
        >

        a promise of null, or { index, check, algorithm, reason }