diff options
author | Christian Heimes <christian@python.org> | 2018-01-20 15:16:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-20 15:16:30 +0100 |
commit | bd5c7d238c01b90fbfae8ea45b47bd601900abaf (patch) | |
tree | 91aa539ae1575cc7210b3ea1800bb671e6c192c8 /Lib/test/allsans.pem | |
parent | ff5be6e8100276647e0077e80869fc022d1bb53f (diff) | |
download | cpython-git-bd5c7d238c01b90fbfae8ea45b47bd601900abaf.tar.gz |
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/allsans.pem')
-rw-r--r-- | Lib/test/allsans.pem | 89 |
1 files changed, 58 insertions, 31 deletions
diff --git a/Lib/test/allsans.pem b/Lib/test/allsans.pem index 3ee4f59513..bf59f30aba 100644 --- a/Lib/test/allsans.pem +++ b/Lib/test/allsans.pem @@ -1,37 +1,64 @@ -----BEGIN PRIVATE KEY----- -MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAOoy7/QOtTjQ0niE -6uDcTwtkC0R2Tvy1AjVnXohCntZfdzbTGDoYTgXSOLsP8A697jUiJ8VCePGH50xG -Z4DKnAF3a9O3a9nr2pLXb0iY3XOMv+YEBii7CfI+3oxFYgCl0sMgHzDD2ZTVYAsm -DWgLUVsE2gHEccRwrM2tPf2EgR+FAgMBAAECgYEA3qyfyYVSeTrTYxO93x6ZaVMu -A2IZp9zSxMQL9bKiI2GRj+cV2ebSCGbg2btFnD6qBor7FWsmYz+8g6FNN/9sY4az -61rMqMtQvLBe+7L8w70FeTze4qQ4Y1oQri0qD6tBWhDVlpnbI5Py9bkZKD67yVUk -elcEA/5x4PrYXkuqsAECQQD80NjT0mDvaY0JOOaQFSEpMv6QiUA8GGX8Xli7IoKb -tAolPG8rQBa+qSpcWfDMTrWw/aWHuMEEQoP/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