A key of size 2048 bits or larger MUST be used with RS256, RS384, RS512 JWK algorithms.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS crypto.webkitSubtle.importKey("jwk", asciiToUint8Array(JSON.stringify(publicKeyJSON)), null, extractable, ["sign", "verify"]) threw exception TypeError: Key size is not valid for RS256.
PASS crypto.webkitSubtle.importKey("jwk", asciiToUint8Array(JSON.stringify(privateKeyJSON)), null, extractable, ["sign", "verify"]) threw exception TypeError: Key size is not valid for RS512.
PASS successfullyParsed is true

TEST COMPLETE

