OLD | NEW |
(Empty) | |
| 1 Tests algorithm normalization. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS algorithm.name is 'SHA-1' |
| 7 PASS algorithm.name is 'SHA-256' |
| 8 PASS normalizeDigest({}) threw exception NotSupportedError: The implementation d
id not support the requested type of object or operation.. |
| 9 PASS normalizeDigest({name: null}) threw exception NotSupportedError: The implem
entation did not support the requested type of object or operation.. |
| 10 PASS normalizeDigest({name: -1}) threw exception NotSupportedError: The implemen
tation did not support the requested type of object or operation.. |
| 11 PASS normalizeDigest({name: ''}) threw exception NotSupportedError: The implemen
tation did not support the requested type of object or operation.. |
| 12 PASS normalizeDigest({name: 'nosuchalgorithm'}) threw exception NotSupportedErro
r: The implementation did not support the requested type of object or operation.
. |
| 13 PASS normalizeDigest({name: '\u0189'}) threw exception SyntaxError: An invalid o
r illegal string was specified.. |
| 14 PASS normalizeDigest(null) threw exception NotSupportedError: The implementation
did not support the requested type of object or operation.. |
| 15 PASS normalizeDigest(0) threw exception TypeError: Not an object.. |
| 16 PASS normalizeDigest(undefined) threw exception NotSupportedError: The implement
ation did not support the requested type of object or operation.. |
| 17 PASS normalizeDigest('') threw exception TypeError: Not an object.. |
| 18 PASS algorithm.noSuchParam is undefined. |
| 19 PASS algorithm.name is 'AES-CBC' |
| 20 PASS algorithm.iv.length is 16 |
| 21 PASS algorithm.iv[3] is 3 |
| 22 PASS algorithm.iv[3] is 3 |
| 23 PASS normalizeEncrypt(rawAlgorithm) threw exception NotSupportedError: The imple
mentation did not support the requested type of object or operation.. |
| 24 PASS algorithm.name is 'SHA-384' |
| 25 PASS algorithm.name is 'SHA-384' |
| 26 PASS algorithm.name is 'AES-CBC' |
| 27 PASS algorithm.iv.length is 16 |
| 28 PASS algorithm.iv[1] is 1 |
| 29 PASS algorithm.name is 'AES-CBC' |
| 30 PASS algorithm.iv.length is 16 |
| 31 PASS algorithm.iv[1] is 1 |
| 32 PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The
implementation did not support the requested type of object or operation.. |
| 33 PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSup
portedError: The implementation did not support the requested type of object or
operation.. |
| 34 PASS successfullyParsed is true |
| 35 |
| 36 TEST COMPLETE |
| 37 |
OLD | NEW |