RsaHashedKeyGenParams.hash property type #21908
Labels
area: Web Crypto
Content:WebAPI
Web API docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/RsaHashedKeyGenParams
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
Doc says
hash
property is a string. Testing it with Chrome on a freshly imported CryptoKey, this property contains an object with aname
property, thathash.name
property is a string.It might be confusion between the interface used to generate key and the one available in CryptoKey objet, it might also be the spec being flexible (?). Current documentation is misleading.
What did you expect to see?
Description of hash property being an object with a string-typed
name
propertyDo you have any supporting links, references, or citations?
https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyGenParams
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/rsahashedkeygenparams
The text was updated successfully, but these errors were encountered: