| OLD | NEW |
| (Empty) |
| 1 CONSOLE ERROR: Invalid keyUsages argument | |
| 2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro
perty | |
| 3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange | |
| 4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange | |
| 5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange | |
| 6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro
perty | |
| 7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange | |
| 8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange | |
| 9 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange | |
| 10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop
erty | |
| 11 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge | |
| 12 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge | |
| 13 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge | |
| 14 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran
ge | |
| 15 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: hash: Algorithm: Unrecognized
algorithm name | |
| 16 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran
ge | |
| 17 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number | |
| 18 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran
ge | |
| 19 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran
ge | |
| 20 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number | |
| 21 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number | |
| 22 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits | |
| 23 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits | |
| 24 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt
h: Outside of numeric range | |
| 25 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt
h: Is not a number | |
| 26 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt
h: Missing required property | |
| 27 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone
nt: Missing or not a Uint8Array | |
| 28 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone
nt: Missing or not a Uint8Array | |
| 29 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone
nt: Missing or not a Uint8Array | |
| 30 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outs
ide of numeric range | |
| 31 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is n
ot a number | |
| 32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Miss
ing required property | |
| 33 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array | |
| 34 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array | |
| 35 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array | |
| 36 Tests crypto.subtle.generateKey. | |
| 37 | |
| 38 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 39 | |
| 40 | |
| 41 PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeErro
r: The 3rd argument is neither an array, nor does it have indexed properties.. | |
| 42 PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeEr
ror: The 3rd argument is neither an array, nor does it have indexed properties.. | |
| 43 PASS: 'crypto.subtle.generateKey(aesCbc, extractable, ['boo'])' rejected with nu
ll | |
| 44 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages)' r
ejected with null | |
| 45 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable
, keyUsages)' rejected with null | |
| 46 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, k
eyUsages)' rejected with null | |
| 47 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extract
able, keyUsages)' rejected with null | |
| 48 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages)' r
ejected with null | |
| 49 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable
, keyUsages)' rejected with null | |
| 50 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, k
eyUsages)' rejected with null | |
| 51 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extract
able, keyUsages)' rejected with null | |
| 52 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages)' re
jected with null | |
| 53 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable,
keyUsages)' rejected with null | |
| 54 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -3 }, extractable, ke
yUsages)' rejected with null | |
| 55 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extracta
ble, keyUsages)' rejected with null | |
| 56 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
-3}, extractable , keyUsages)' rejected with null | |
| 57 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, e
xtractable , keyUsages)' rejected with null | |
| 58 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
5000000000}, extractable , keyUsages)' rejected with null | |
| 59 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
NaN}, extractable , keyUsages)' rejected with null | |
| 60 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
Infinity}, extractable , keyUsages)' rejected with null | |
| 61 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
-Infinity}, extractable , keyUsages)' rejected with null | |
| 62 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
crypto}, extractable , keyUsages)' rejected with null | |
| 63 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
undefined}, extractable , keyUsages)' rejected with null | |
| 64 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
null}, extractable , keyUsages)' rejected with null | |
| 65 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
true}, extractable , keyUsages)' rejected with null | |
| 66 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30}
, extractable , keyUsages)' rejected with null | |
| 67 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN}
, extractable , keyUsages)' rejected with null | |
| 68 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyU
sages)' rejected with null | |
| 69 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10},
extractable , keyUsages)' rejected with null | |
| 70 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10,
publicExponent: 10}, extractable , keyUsages)' rejected with null | |
| 71 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10,
publicExponent: null}, extractable , keyUsages)' rejected with null | |
| 72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: -30},
extractable , keyUsages)' rejected with null | |
| 73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: NaN},
extractable , keyUsages)' rejected with null | |
| 74 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs
ages)' rejected with null | |
| 75 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10},
extractable , keyUsages)' rejected with null | |
| 76 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p
ublicExponent: 10}, extractable , keyUsages)' rejected with null | |
| 77 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p
ublicExponent: null}, extractable , keyUsages)' rejected with null | |
| 78 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
'48'}, extractable , keyUsages)' accepted with [object Key] | |
| 79 PASS successfullyParsed is true | |
| 80 | |
| 81 TEST COMPLETE | |
| 82 | |
| OLD | NEW |