Index: LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt |
diff --git a/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt b/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7786dc291f8b80d01b4f25604cada29c719af37d |
--- /dev/null |
+++ b/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt |
@@ -0,0 +1,26 @@ |
+Test importing an RSA key for RSASSA-PKCS1-v1_5. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Importing a public key... |
+PASS publicKey.toString() is '[object Key]' |
+PASS publicKey.type is 'public' |
+PASS publicKey.usages is ['verify'] |
+PASS publicKey.algorithm.name is 'RSASSA-PKCS1-v1_5' |
+PASS publicKey.algorithm.modulusLength is 2048 |
+PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001' |
+PASS publicKey.algorithm.hash.name is 'SHA-256' |
+ |
+Importing a private key... |
+PASS privateKey.toString() is '[object Key]' |
+PASS privateKey.type is 'private' |
+PASS privateKey.usages is ['sign'] |
+PASS privateKey.algorithm.name is 'RSASSA-PKCS1-v1_5' |
+PASS privateKey.algorithm.modulusLength is 2048 |
+PASS bytesToHexString(privateKey.algorithm.publicExponent) is '010001' |
+PASS privateKey.algorithm.hash.name is 'SHA-256' |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |