diffieHellman.verifyError


一个位域,包含在初始化 DiffieHellman 对象时进行检查所产生的任何警告和/或错误。

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

此属性的有效值如下(在 node:constants 模块中定义):

【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 不合适的生成元