Skip to main content
DiffieHellman.prototype.verifyError - crypto - Node documentation
property DiffieHellman.prototype.verifyError

Usage in Deno

import { DiffieHellman } from "node:crypto";

A bit field containing any warnings and/or errors resulting from a check performed during initialization of the DiffieHellman object.

The following values are valid for this property (as defined in node:constants module):

  • DH_CHECK_P_NOT_SAFE_PRIME
  • DH_CHECK_P_NOT_PRIME
  • DH_UNABLE_TO_CHECK_GENERATOR
  • DH_NOT_SUITABLE_GENERATOR

Type

number