[WebCrypto Key Discovery] Algorithm names in named keys

All,

While implementing the WebCrypto Key Discovery API I wondered what the intended behaviour of getkeysByName() was related to the returned Algorithm property of the returned keys.

Suppose that the key is an RSA key, should I then return a NamedKey for every Algorithm that uses this type of key. Which might be a long list (RSAES-PKCS1-v1_5, RSASSA-PKCS1-v1_5, RSA-PSS, RSA-OAEP), but probably is the only valid option, because the keyUsage flags may be different for some of the algorithms.


Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com



________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

Received on Friday, 1 March 2013 15:08:43 UTC