summaryrefslogtreecommitdiffstats
path: root/Lib/test/keycert2.pem
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-01-20 14:16:30 (GMT)
committerGitHub <noreply@github.com>2018-01-20 14:16:30 (GMT)
commitbd5c7d238c01b90fbfae8ea45b47bd601900abaf (patch)
tree91aa539ae1575cc7210b3ea1800bb671e6c192c8 /Lib/test/keycert2.pem
parentff5be6e8100276647e0077e80869fc022d1bb53f (diff)
downloadcpython-bd5c7d238c01b90fbfae8ea45b47bd601900abaf.zip
cpython-bd5c7d238c01b90fbfae8ea45b47bd601900abaf.tar.gz
cpython-bd5c7d238c01b90fbfae8ea45b47bd601900abaf.tar.bz2
bpo-32602: Test ECDSA certs (#5247)
Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/test/keycert2.pem')
-rw-r--r--Lib/test/keycert2.pem72
1 files changed, 45 insertions, 27 deletions
diff --git a/Lib/test/keycert2.pem b/Lib/test/keycert2.pem
index e8a9e08..bb5fa65 100644
--- a/Lib/test/keycert2.pem
+++ b/Lib/test/keycert2.pem
@@ -1,31 +1,49 @@
-----BEGIN PRIVATE KEY-----
-MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJnsJZVrppL+W5I9
-zGQrrawWwE5QJpBK9nWw17mXrZ03R1cD9BamLGivVISbPlRlAVnZBEyh1ATpsB7d
-CUQ+WHEvALquvx4+Yw5l+fXeiYRjrLRBYZuVy8yNtXzU3iWcGObcYRkUdiXdOyP7
-sLF2YZHRvQZpzgDBKkrraeQ81w21AgMBAAECgYBEm7n07FMHWlE+0kT0sXNsLYfy
-YE+QKZnJw9WkaDN+zFEEPELkhZVt5BjsMraJr6v2fIEqF0gGGJPkbenffVq2B5dC
-lWUOxvJHufMK4sM3Cp6s/gOp3LP+QkzVnvJSfAyZU6l+4PGX5pLdUsXYjPxgzjzL
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