iya-sts
    Preparing search index...

    Variable cmsMessageDigestMatches

    cmsMessageDigestMatches: (algorithm: any, content: any, claimed: any) => any = cmsMessageDigestMatches

    Type Declaration

      • (algorithm: any, content: any, claimed: any): any
      • Checks a CMS messageDigest signed attribute against the content it names.

        Parameters

        • algorithm: any

          the SignerInfo's digest, one of section 15's DIGESTS

        • content: any

          the encapsulated content

        • claimed: any

          the messageDigest attribute's octets; null when absent

        Returns any

        true when the attribute is the content's digest

        Error for an algorithm outside DIGESTS