Represents verifying operation

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

lib: PKCS11

PKCS#11 module

session: Session

Session

Methods

  • Finishes a multiple-part verification operation, checking the signature

    Parameters

    • signature: Buffer

      Th signature value

    Returns boolean

    true if signature is valid, otherwise false

  • Verifies a signature in a single-part operation

    Parameters

    • data: CryptoData

      The signed data

    • signature: Buffer

      The signature value

    Returns boolean

    true if signature is valid, otherwise false

    • Verifies a signature in a single-part operation

    Parameters

    • data: CryptoData

      The signed data

    • signature: Buffer

      The signature value

    • cb: ((error: null | Error, valid: boolean) => void)

      Async callback function with boolean result of checking. true if signature is valid, otherwise false

        • (error, valid): void
        • Parameters

          • error: null | Error
          • valid: boolean

          Returns void

    Returns void

  • Continues a multiple-part verification operation

    Parameters

    • data: CryptoData

      The signed data

    Returns void