blob: a533487f7852e0cf889c357d5ccc44c8cfb2de8e [file] [log] [blame]
Tests that a string can be passed in place of an AlgorithmIdentifier
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS key.type is "secret"
PASS key.algorithm.name is "AES-CBC"
PASS key.algorithm.length is 128
PASS: sha-1 of empty string should be [da39a3ee5e6b4b0d3255bfef95601890afd80709] and was
PASS key.type is "secret"
PASS key.algorithm.name is "HMAC"
PASS key.algorithm.hash.name is "SHA-256"
PASS key.algorithm.length is 120
PASS successfullyParsed is true
TEST COMPLETE