hmacKeyGenParams.hash


如果表示为 <string>,该值必须是以下之一:

【If represented as a <string>, the value must be one of:】

  • 'SHA-1'
  • 'SHA-256'
  • 'SHA-384'
  • 'SHA-512'

如果表示为一个 <Object>,该对象必须有一个 name 属性,其值必须是上述列出的值之一。

【If represented as an <Object>, the object must have a name property whose value is one of the above listed values.】