iya-sts
    Preparing search index...

    Variable coseAlgorithmDigest

    coseAlgorithmDigest: (coseAlg: any, data: any) => any

    Type Declaration

      • (coseAlg: any, data: any): any
      • Returns the digest of bytes under the hash a COSE signature algorithm names (WebAuthn TPM attestation's extraData).

        Parameters

        • coseAlg: any

          the COSE algorithm identifier

        • data: any

          the bytes

        Returns any

        the digest, or null when the algorithm is not in COSE_SIGNATURE_ALGS or names no hash of its own