iya-sts
    Preparing search index...

    Variable coseSign1Sign

    coseSign1Sign: (
        coseAlg: any,
        key: any,
        protectedBytes: any,
        payload: any,
        options: any,
    ) => any = coseSign1Sign

    Type Declaration

      • (coseAlg: any, key: any, protectedBytes: any, payload: any, options: any): any
      • Signs a COSE_Sign1's Sig_structure.

        Parameters

        • coseAlg: any

          the COSE algorithm identifier

        • key: any

          the private key: a KeyObject, PEM or JWK, or for a post-quantum algorithm its bytes or { priv }

        • protectedBytes: any

          the encoded protected header

        • payload: any

          the payload

        • options: any

          external, the external additional authenticated data

        Returns any

        the signature