iya-sts
    Preparing search index...

    Variable coseSign1Verify

    coseSign1Verify: (
        coseAlg: any,
        key: any,
        protectedBytes: any,
        payload: any,
        signature: any,
        options: any,
    ) => boolean = coseSign1Verify

    Type Declaration

      • (
            coseAlg: any,
            key: any,
            protectedBytes: any,
            payload: any,
            signature: any,
            options: any,
        ): boolean
      • Checks a COSE_Sign1's signature over its Sig_structure.

        Parameters

        • coseAlg: any

          the COSE algorithm identifier

        • key: any

          the public key, in any form verifyCoseSignature() reads

        • protectedBytes: any

          the encoded protected header

        • payload: any

          the payload

        • signature: any

          the signature

        • options: any

          external, the external additional authenticated data

        Returns boolean

        true when it verifies