Closed
Bug 1262999
Opened 8 years ago
Closed 6 years ago
Verify and sign use object reference as first argument
Categories
(Developer Documentation Graveyard :: API: DOM, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jrconlin, Unassigned)
References
()
Details
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details The documentation specifies that the .sign() and .verify() take a first argument as a DOMString. This is incorrect. The first argument is an algorithm description object e.g. for "ECDSA" you would use something like: { name: "ECDSA", namedCurve: "P-256", hash: { name: "SHA-256" } }
Comment 1•6 years ago
|
||
Fixed: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•