blob: bc70e43110ea063c1484b810f7e001fa93ec58fc [file] [log] [blame]
Test importing a SPKI RSA 64 bit key
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Importing a key...
PASS publicKey.toString() is '[object CryptoKey]'
PASS publicKey.type is 'public'
PASS publicKey.extractable is true
PASS publicKey.algorithm.name is 'RSA-OAEP'
PASS publicKey.algorithm.modulusLength is 64
PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001'
PASS publicKey.algorithm.hash.name is 'SHA-1'
PASS publicKey.usages is ['encrypt', 'wrapKey']
PASS successfullyParsed is true
TEST COMPLETE