iya-sts
    Preparing search index...

    Variable pkinitVerifySignedData

    pkinitVerifySignedData: (
        signed: any,
        certDer: any,
    ) =>
        | { digest?: undefined; ok: boolean; reason: string; why: string }
        | { digest: any; ok: boolean; reason?: undefined; why?: undefined } = pkinitVerifySignedData

    Type Declaration

      • (
            signed: any,
            certDer: any,
        ):
            | { digest?: undefined; ok: boolean; reason: string; why: string }
            | { digest: any; ok: boolean; reason?: undefined; why?: undefined }
      • Verifies a SignedData's one signature with the signer's certificate: the digest, the content-type and message-digest attributes and the signature over the signed attributes as they arrived.

        Parameters

        • signed: any

          a pkinitReadSignedData() answer

        • certDer: any

          the signer's certificate

        Returns
            | { digest?: undefined; ok: boolean; reason: string; why: string }
            | { digest: any; ok: boolean; reason?: undefined; why?: undefined }

        { ok: true, digest }, or { ok: false, reason, why } with a reason of digest or signature