iya-sts
    Preparing search index...

    Variable pskcMacVerifies

    pskcMacVerifies: (
        algorithmUri: any,
        macKey: any,
        cipherValue: any,
        presented: any,
    ) => any = pskcMacVerifies

    Type Declaration

      • (algorithmUri: any, macKey: any, cipherValue: any, presented: any): any
      • Checks a PSKC ValueMAC (RFC 6030 section 6.1.1): the keyed MAC over the encrypted value's bytes, compared in constant time.

        Parameters

        • algorithmUri: any

          the MACMethod's Algorithm

        • macKey: any

          the MAC key, already decrypted

        • cipherValue: any

          the encrypted value's bytes (IV included)

        • presented: any

          the ValueMAC's bytes

        Returns any

        true when it verifies

        Error for a MAC algorithm this service does not compute