Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: LayoutTests/crypto/clone-rsaKeyPair-expected.txt

Issue 268273002: [webcrypto] Make KeyPair structured clonable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: change up comment once more Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/crypto/clone-rsaKeyPair.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/clone-rsaKeyPair-expected.txt
diff --git a/LayoutTests/crypto/clone-rsaKeyPair-expected.txt b/LayoutTests/crypto/clone-rsaKeyPair-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23739f19ee64ffc75c060bc08d96c8e4bc932acc
--- /dev/null
+++ b/LayoutTests/crypto/clone-rsaKeyPair-expected.txt
@@ -0,0 +1,37 @@
+Tests structured cloning of a generated RSA KeyPair.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS generatedKeyPair.publicKey.type is "public"
+PASS typeof generatedKeyPair.publicKey.extractable is 'boolean'
+PASS generatedKeyPair.publicKey.extractable is true
+PASS generatedKeyPair.publicKey.algorithm.name is "RSAES-PKCS1-v1_5"
+PASS generatedKeyPair.publicKey.algorithm.modulusLength is 256
+PASS bytesToHexString(generatedKeyPair.publicKey.algorithm.publicExponent) is "010001"
+PASS generatedKeyPair.privateKey.type is "private"
+PASS typeof generatedKeyPair.privateKey.extractable is 'boolean'
+PASS generatedKeyPair.privateKey.extractable is true
+PASS generatedKeyPair.privateKey.algorithm.name is "RSAES-PKCS1-v1_5"
+PASS generatedKeyPair.privateKey.algorithm.modulusLength is 256
+PASS bytesToHexString(generatedKeyPair.privateKey.algorithm.publicExponent) is "010001"
+PASS clonedKeyPair.publicKey.type is "public"
+PASS typeof clonedKeyPair.publicKey.extractable is 'boolean'
+PASS clonedKeyPair.publicKey.extractable is true
+PASS clonedKeyPair.publicKey.algorithm.name is "RSAES-PKCS1-v1_5"
+PASS clonedKeyPair.publicKey.algorithm.modulusLength is 256
+PASS bytesToHexString(clonedKeyPair.publicKey.algorithm.publicExponent) is "010001"
+PASS clonedKeyPair.privateKey.type is "private"
+PASS typeof clonedKeyPair.privateKey.extractable is 'boolean'
+PASS clonedKeyPair.privateKey.extractable is true
+PASS clonedKeyPair.privateKey.algorithm.name is "RSAES-PKCS1-v1_5"
+PASS clonedKeyPair.privateKey.algorithm.modulusLength is 256
+PASS bytesToHexString(clonedKeyPair.privateKey.algorithm.publicExponent) is "010001"
+PASS generatedKeyPair is not clonedKeyPair
+PASS clonedKeyPair.extraProperty is undefined.
+PASS generatedKeyPairData.spkiHex is clonedKeyPairData.spkiHex
+PASS generatedKeyPairData.pkcs8Hex is clonedKeyPairData.pkcs8Hex
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/clone-rsaKeyPair.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698