From 6b3450ada8f2bd39554c95a7657b97bc80cb557d Mon Sep 17 00:00:00 2001 From: olszomal Date: Wed, 20 Jul 2022 15:11:18 +0200 Subject: [PATCH] add test certificates --- tests/certs/.gitignore | 7 ----- tests/certs/CACert.pem | 22 +++++++++++++++ tests/certs/CACertCRL.pem | 13 +++++++++ tests/certs/TSA.pem | 28 ++++++++++++++++++++ tests/certs/TSACA.pem | 22 +++++++++++++++ tests/certs/cert.der | Bin 0 -> 1010 bytes tests/certs/cert.p12 | Bin 0 -> 3731 bytes tests/certs/cert.pem | 46 ++++++++++++++++++++++++++++++++ tests/certs/cert.spc | Bin 0 -> 2003 bytes tests/certs/crosscert.pem | 23 ++++++++++++++++ tests/certs/expired.pem | 45 +++++++++++++++++++++++++++++++ tests/certs/intermediate.pem | 22 +++++++++++++++ tests/certs/key.der | Bin 0 -> 1191 bytes tests/certs/key.pem | 27 +++++++++++++++++++ tests/certs/key.pvk | Bin 0 -> 1196 bytes tests/certs/keyp.pem | 30 +++++++++++++++++++++ tests/certs/password.txt | 1 + tests/certs/revoked.pem | 45 +++++++++++++++++++++++++++++++ tests/certs/revoked.spc | Bin 0 -> 2463 bytes tests/certs/tsa-chain.pem | 50 +++++++++++++++++++++++++++++++++++ tests/certs/tsa-serial | 1 + 21 files changed, 375 insertions(+), 7 deletions(-) create mode 100644 tests/certs/CACert.pem create mode 100644 tests/certs/CACertCRL.pem create mode 100644 tests/certs/TSA.pem create mode 100644 tests/certs/TSACA.pem create mode 100644 tests/certs/cert.der create mode 100644 tests/certs/cert.p12 create mode 100644 tests/certs/cert.pem create mode 100644 tests/certs/cert.spc create mode 100644 tests/certs/crosscert.pem create mode 100644 tests/certs/expired.pem create mode 100644 tests/certs/intermediate.pem create mode 100644 tests/certs/key.der create mode 100644 tests/certs/key.pem create mode 100644 tests/certs/key.pvk create mode 100644 tests/certs/keyp.pem create mode 100644 tests/certs/password.txt create mode 100644 tests/certs/revoked.pem create mode 100644 tests/certs/revoked.spc create mode 100644 tests/certs/tsa-chain.pem create mode 100644 tests/certs/tsa-serial diff --git a/tests/certs/.gitignore b/tests/certs/.gitignore index ecfce1d..397b4a7 100644 --- a/tests/certs/.gitignore +++ b/tests/certs/.gitignore @@ -1,8 +1 @@ -*.der -*.pem -*.pvk -*.p12 -*.spc -*.txt *.log -tsa-serial diff --git a/tests/certs/CACert.pem b/tests/certs/CACert.pem new file mode 100644 index 0000000..b3d5f17 --- /dev/null +++ b/tests/certs/CACert.pem @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDoTCCAomgAwIBAgIUK8d/QvlhUTD8VFVtm8J7dfwU0JkwDQYJKoZIhvcNAQEL +BQAwWDELMAkGA1UEBhMCUEwxFTATBgNVBAoMDG9zc2xzaWduY29kZTEgMB4GA1UE +CwwXQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxEDAOBgNVBAMMB1Jvb3QgQ0EwHhcN +MTcwMTAxMDAwMDAwWhcNMjYxMTEwMDAwMDAwWjBYMQswCQYDVQQGEwJQTDEVMBMG +A1UECgwMb3NzbHNpZ25jb2RlMSAwHgYDVQQLDBdDZXJ0aWZpY2F0aW9uIEF1dGhv +cml0eTEQMA4GA1UEAwwHUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBAMZ4wci7y7HUW8qAEnN116ASt4XnGOgMx4HBe/YJv3KXg6c89gd2eYQf +SbNDvgjGanveVoHtx2JP/bvWBvYgDgpwIkx9atQB2445IEvENaDdLrpq0J3dnOyJ +uPMFWvcdEi64uarcs2AReJh7Zj4EVL4/d84IfcQqJL2Ew+yeNe464z7dzOWgSoUc +QwM3HH8ncFXM963L3BtdkoLU+si5njnB8NEhNpKPs0jlBWzrGBQSUBtBNCqePNMB +RcdSo6hqL1vOi4OZjamddIJ5/xnZn8hX/43hQ/1EHGNqjLUWRcYrl03WDM7rV53K +7f0cDrlp/98N0ia4oYrB4Yi3JyHfJwsCAwEAAaNjMGEwDwYDVR0TAQH/BAUwAwEB +/zAdBgNVHQ4EFgQUcxnOmEYbx/QWRcKMiSX9j2T0hMQwHwYDVR0jBBgwFoAUcxnO +mEYbx/QWRcKMiSX9j2T0hMQwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUA +A4IBAQACOdaM9xyLmccY4eiQIQewAznjxHUB/FIosZ8xW9vqCUyVyC5Oo9G+0mXt +FXYM2NMPIMsHeuWif9tndtnB8sLwSDUIGD9Wg+b26MkkK9HDLavAM+jq2XYDZint +isYhDOXa7DMeogJxccFoeuTZCtNfQ7x0/dWOtgwQIuRF5OocNXXeEuej0ZQ45XQ4 +69fPoY1Zy5BplvgUUfpMz84adPB+DNS+rEzMpaY6HDdMNTwKAi9eGYRSyi0x9wAe +H09JLPFEqCKBx3Z53+URrodzgC+VU6S9JPSoTZVikiRaTWV4N4D5jdbpujMwef3e +d3lD695hpYviJsO75Ftb6R0M0S8F +-----END CERTIFICATE----- diff --git a/tests/certs/CACertCRL.pem b/tests/certs/CACertCRL.pem new file mode 100644 index 0000000..242e4eb --- /dev/null +++ b/tests/certs/CACertCRL.pem @@ -0,0 +1,13 @@ +-----BEGIN X509 CRL----- +MIIB9zCB4AIBATANBgkqhkiG9w0BAQsFADBgMQswCQYDVQQGEwJQTDEVMBMGA1UE +CgwMb3NzbHNpZ25jb2RlMSAwHgYDVQQLDBdDZXJ0aWZpY2F0aW9uIEF1dGhvcml0 +eTEYMBYGA1UEAwwPSW50ZXJtZWRpYXRlIENBFw0xOTAxMDEwMDAwMDBaFw00MzAx +MDEwMDAwMDBaMCcwJQIUKSt48Rg3QnHZPnv9V8IMgkpeYDoXDTIyMDYyNDA5MjYy +OVqgIzAhMB8GA1UdIwQYMBaAFBwS2oY2LaAR6mlv1pGCXB8sJG/9MA0GCSqGSIb3 +DQEBCwUAA4IBAQAu/P9vJXkstWFFqHdYLWlwtS47IJqS6ZjFAIIZ/Ro2fIrjDaCO +b6L1RpzRdPSLSLsVPIbhn+/hez7M7THwG/+pAcCs5mJd/A6Sx9c/41e6NIoz/r6+ +AG1OeT4zbYE1LcD/WJHPMy5BrOrTG7OTH8rSUt9K01TADHr7+uRhdjZC9gV3rZeT +y4lq/AgPInV3HX2z1+/82LTGF1IgOeco95SZXe3VlCOhE6SLrEQA1G+dGkvQwjCX +Eu1KjWRS8rEUB1EQsGIuos6v1cVESAwdCUB9hSJIkDNVaCmcfGfcYu+xz0RbI6Bc +/Gwhfzf7cfRTwB6JwW7diJgqJVLSONKMrI91 +-----END X509 CRL----- diff --git a/tests/certs/TSA.pem b/tests/certs/TSA.pem new file mode 100644 index 0000000..bb1ff83 --- /dev/null +++ b/tests/certs/TSA.pem @@ -0,0 +1,28 @@ +-----BEGIN CERTIFICATE----- +MIIEzTCCA7WgAwIBAgIUOfEovjEdUwxU3llVsP/j845Bmi4wDQYJKoZIhvcNAQEL +BQAwYDELMAkGA1UEBhMCUEwxFTATBgNVBAoMDG9zc2xzaWduY29kZTEkMCIGA1UE +CwwbVGltZXN0YW1wIEF1dGhvcml0eSBSb290IENBMRQwEgYDVQQDDAtUU0EgUm9v +dCBDQTAeFw0xODAxMDEwMDAwMDBaFw0yODAxMDEwMDAwMDBaMFUxCzAJBgNVBAYT +AlBMMRUwEwYDVQQKDAxvc3Nsc2lnbmNvZGUxHDAaBgNVBAsME1RpbWVzdGFtcCBB +dXRob3JpdHkxETAPBgNVBAMMCFRlc3QgVFNBMIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEAy/UScIYfmEkhQEjfzQQBGtQida4BLImrenu6cdCX3QUIBqNw +ZPWks+hAJhaRBQhecyd+XkJR1dW2jrCWCGGJ6GZDPFH9WER7JbBID//s9+XVSuol +xCThVr9RwKpPag2ZsRC8VeSRc7At/uX6lcd7sRG1Yu6Zb/MaabowjPLflVPZboC4 +y2xBf8uROS4eVffJPdwTwirNOTJtTwxOVOVaE0J1GZEdr8I1o1bmZjcYQ+/+VGB3 +mgs5dFvSVmYMzocdb05yxlf/CHfP6tSJufa1YjSHztpC9AJNYD7JUhkVeKEmFHtZ +8Gf4KCPGqfqqrQJ6VMrNNImZ9i9vOE7u9GJZJwIDAQABo4IBiDCCAYQwDAYDVR0T +AQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAdBgNVHQ4EFgQUxWBfmgyH +/JUPHYH604MsYcosbjYwHwYDVR0jBBgwFoAUgOyoninPDHD34LHDNEgwoIHPUzIw +gYQGCCsGAQUFBwEBBHgwdjA5BggrBgEFBQcwAoYtaHR0cDovL1RTQUNBLnRpbWVz +dGFtcGF1dGhvcml0eS5jb20vVFNBQ0EuY3J0MDkGCCsGAQUFBzABhi1odHRwOi8v +b2NzcC5UU0FDQS50aW1lc3RhbXBhdXRob3JpdHkuY29tOjkwODAwPgYDVR0fBDcw +NTAzoDGgL4YtaHR0cDovL1RTQUNBLnRpbWVzdGFtcGF1dGhvcml0eS5jb20vVFNB +Q0EuY3JsMFUGA1UdHgROMEygGDAKggh0ZXN0LmNvbTAKggh0ZXN0Lm9yZ6EwMAqH +CAAAAAAAAAAAMCKHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMA0G +CSqGSIb3DQEBCwUAA4IBAQBUYQD1lhHtsmIInDG2hFUGnydialZpIy21wIKD1pUr +D4+WHwLGhqCP/uq1RIRP++c4NXiRSsy5Qh1hJaNvyKNot6IFyE8J/9WWusuNy6ds +Oi8sLVMmMLCasLRaYBeYQpgQiiKh3vguFF4mAmQx1Dt2W0XwyiqCCOA+1dC/XpSx +wPbyqjg01IDuuo0ieygB+H5317coA+ZY0py2dU461owA1xJh5H0mBo2C4ZDd47K7 +DSgPlFQH1w7YRvjljoH/S8ir6AWDo/XWDqI5Ntwm5nYRh32RUAdDKijYL07sxehz +DRdqCKnFc0hWpwswv2XBmXOh67wiUqlpI7KhOICtGEHd +-----END CERTIFICATE----- diff --git a/tests/certs/TSACA.pem b/tests/certs/TSACA.pem new file mode 100644 index 0000000..daf02cf --- /dev/null +++ b/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hJlsYbn+pZ2KCZ35E2QP +17RR4WvQ+nkNQfr1nfGL8yLw+Swv8T9okjYadvKjWfk6L2D6Q4WExtmWTuQgz+Fc +PyvLEE8h1eS1ZTZtL1WzUUG48Mp0+tPDN9FoUoTGPflwMYDI/WChY6OluWKQiBBa +tWCjX9xRBOi5BV/wzzzrj0q58lGXCDY8C7SQ4wYP/zt4HPSroACe4cKdJhaWULnP +iA+12g== +-----END CERTIFICATE----- diff --git a/tests/certs/cert.der b/tests/certs/cert.der new file mode 100644 index 0000000000000000000000000000000000000000..81fbea4ee0862d7c973886b49291f94b73a37f60 GIT binary patch literal 1010 zcmXqLVt!}P#B^-|GZP~dlZd&`%bOSc?`9f^KiQy=$<5Nje|VPxFB_*;n@8JsUPeZ4 zRtAFvLv903Hs(+kHesd!A45?CVGxIlhbOJuf*wCDl;DKn^6#%_HudT2zvm zmYJMbl9`{U;8}Vh-&TD94UCq=7idBn}<{-^8l?vdlz$tAEfSFE=XaWcWIMm-tV=_J_XUAz9r`wh4y~F zE1**O;miEXFHIPlKE94lV2C*p^UOQ<((20P@N&;yn??5j z%oR#?)lRswJ~+t2 zF?CP#wiAL^)oN0L6GS*a3Y})T>fEm&qRd>nl!=*|1($qKVD888^g0z+Ju zk420{gm-`Oi_k?$yPV}$gd8pXCVa)3dyauTNLrZ%m}nYAWQ1H1B!@N|BP%OAGc$550Fy2-78n_h`#RRMcIN3UKa?~pYr~Go*Vi~P z{P<|7?mb>*gEedwC(D(Xba!&j+IozEF|Sno#8oDtlXeNp{d2DJZTj+g zriPp2(a4h%X7PP9*nGUR^UaNbG}EKfGcxz6?>TGCo_BoHsyA=eeYW^?GOfwa>0%~Z zp5}{wE-Q&^=Mxd`lX=W)*Gz3IOLMb-4fl literal 0 HcmV?d00001 diff --git a/tests/certs/cert.p12 b/tests/certs/cert.p12 new file mode 100644 index 0000000000000000000000000000000000000000..5cc8ea53b9553ecb061232fa3da7a3408282373f GIT binary patch literal 3731 zcmai$WmFRk`^MSW1_K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A(DdfMYA8PQqVM4j?|_$k_S!76|7UJ5B|2-N?SHp$o8Z$AH)Kps4sP@R zA}{w>sbG^j!?rorKb~j>>Rgw}`>J-rmG!|v7LKWVnzx-0ysB1{5}Y8y`BCUJ%T?!o z1rcTD(xptyj0}v6lME8T=}1x)OuoLxiQ&gbLmel*AHVX;HFNLrDjTd}t2kM% z#H72EbJo^l42*fD;wP>$37xb{Q0|{|m2cCR&oedL9FInxoG^>;o5AMeotY=ryZo^H*SwUjxkXQ=mCMVS&T3*W#OUcC9}j$jchqr?l=@09vpa zM4)CjvU9wE0Usn=u?OYnm*B|hW=I*I4rL9Yym~?5y6s)5OYMi}T!~d$?q$ZR?WW$M zSDkg{t^34BMQT&uxJ=un(4eWittolwoLc6a2hNGx*E{4pT3el!X!Lp%H+6cS<(4-Z zthbq@cK^`%;$Q5ut^e_(Ggj9%w*Hn>U}jm@P!;x#Yc@l3#G$!=&K_SLgSg! ztG`|N#htC4yfdl7hW~DE_BsEPS_u=&uSXc$?SA9ve>C**hLol)bLB2)YM&5J)rvJL z4$gdh$nDJ6AEGlEh4NId%m|vBAuhi^FwDg%RP9Q^^R_o0Mh}cOdQ~}1Ij^+iYwp_( zS3WJ6d#G2x)uL4-$Ti?s^X-t_Ic(Q$6qicYh;4fQ^6meW)zPVtyqac^0xl9|g&7(D zvv3%&0VyU%Hs^f#eMjQiM=ZSVH&jQ^Qo+>S6=yK)5(%Z2{4BL*qtzSHie+mE69ZPNmM(>o1(sbP$w!UIz_Vh&y z-@j|0%(OAn=F(P?ko#i7HxH}~_?~;??3(1BsEy%9=6BD{mz)(k_3)#g+AkJf5uK8E U!}A4Wcu{qLu|nAUg$#xa0M^gyYXATM literal 0 HcmV?d00001 diff --git a/tests/certs/crosscert.pem b/tests/certs/crosscert.pem new file mode 100644 index 0000000..7e5184e --- /dev/null +++ b/tests/certs/crosscert.pem @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIIDzjCCAragAwIBAgIUEs90042H8xAMS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u6J0JBG1q7 +LX9uk+W+V/8ZvSnGZP/T3NHi1/lzEPBLth46K/aAdNxeB/EjM3uTryAp6erhd25M +J6EuN42zVp04pl9XDQxjySEWaFtfQYa1bmUe8herfQg51onRMqHwo7nE7tlt9SB1 +Ch9KNlraY8N0UVEZGzSPpvOoHeOnYWBfZ9VqIyiYffL+Pi22dW9Iy/HMwe8lXTYu +aMdAj6l4RFrLCH3RyaRh6fH9 +-----END CERTIFICATE----- diff --git a/tests/certs/expired.pem b/tests/certs/expired.pem new file mode 100644 index 0000000..611e44c --- /dev/null +++ b/tests/certs/expired.pem @@ -0,0 +1,45 @@ +-----BEGIN CERTIFICATE----- +MIID6jCCAtKgAwIBAgIUJfIfVOecAzqv4xy+JOBcy5YzjEQwDQYJKoZIhvcNAQEL +BQAwYDELMAkGA1UEBhMCUEwxFTATBgNVBAoMDG9zc2xzaWduY29kZTEgMB4GA1UE +CwwXQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxGDAWBgNVBAMMD0ludGVybWVkaWF0 +ZSBDQTAeFw0xODAxMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMIGZMQswCQYDVQQG +EwJQTDEZMBcGA1UECAwQTWF6b3ZpYSBQcm92aW5jZTEPMA0GA1UEBwwGV2Fyc2F3 +MRUwEwYDVQQKDAxvc3Nsc2lnbmNvZGUxDDAKBgNVBAsMA0NTUDEQMA4GA1UEAwwH +RXhwaXJlZDEnMCUGCSqGSIb3DQEJARYYb3NzbHNpZ25jb2RlQGV4YW1wbGUuY29t +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu5n/FXz2yQaWm53pZJgH +dRUGex/Xrn/aj5b57U1bnGOhhDwX/QJd2FSx3X5p1ku06w4genTQgxQnTaBkBZ7S +silu+60jTHBb8vZjbjJVjfPdECR58PSf0+k0AILx61tgAFzIXOZLbdKnlfcgXCXw +BR+hVXPGNBgcja0vO1WEhOb2JFlTQb+jILYoo9xGKO1w9GfF/494G70U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G9w0BAQEF +AAOCAQ8AMIIBCgKCAQEA0CDXPd0a0ofDnNRdIqdKNgUrRieELntqzO1HkeJyJpXs +RJa6IIApLbaCY6WcfQPZwM4XP39Ab0E7Os0YgUriXpWXjjm07CgF2wIau/gs9E9z +TLaP4+LMOtcotfsZIAMEroB6VvYKmwCDWMKd/M3HpHuYaoLQgczLq/bQ+gtrK2O5 +Yng8D91ta85PySpgkXfXWDM+u+xBT8VV47BkgrSdHtNpK8gTZSpdMnNTaePCRsz1 ++BWZARJuJdSYUp1oFx+/UVZEQlUm1HDnhuxIMuAysUp6QpTPIrj1be2w1PKgncKN +L4U4hRRSRVD6g9tUbZwG1zwhpRl8FrLn6e3/ZKtbZQIDAQABo2YwZDASBgNVHRMB +Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBQcEtqGNi2gEeppb9aRglwfLCRv/TAfBgNV +HSMEGDAWgBRzGc6YRhvH9BZFwoyJJf2PZPSExDAOBgNVHQ8BAf8EBAMCAYYwDQYJ +KoZIhvcNAQELBQADggEBAFNJFQ0zjxcj2VflXKC1vDisC//4etwspxVUW+AQC3Kg +ZqSIzrOtBaCCARtI6NOxF0udzVtfBc7Vd7MlxHWk/b863w75gDpOX8QiF9vrRb82 +AK2VmCafxQ0h2W6Sz7dYy4rok6xTRTBERxOMoaL9YHIWC8bktu6+uV/8V++HUstO +SEw8+jBJGJo9aGYcfXpvbFnmPyoYz/ZkOipjlRsaMUTU8KXbXTIAtsbtf6OWD6QP +pbik2FFbuR5aKUW9Vq94qWuXoqHv7oeTArFpPNK1FFTfFhPZwKlQ923YzaxjjFqx +VzI33c6fGZpVlcPi+SvoodQVlG7YSegBV3J7UDMgVu8= +-----END CERTIFICATE----- diff --git a/tests/certs/intermediate.pem b/tests/certs/intermediate.pem new file mode 100644 index 0000000..7f3bb1a --- /dev/null +++ b/tests/certs/intermediate.pem @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDrDCCApSgAwIBAgIUYKBAxusXsmy6r89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/8V++HUstO +SEw8+jBJGJo9aGYcfXpvbFnmPyoYz/ZkOipjlRsaMUTU8KXbXTIAtsbtf6OWD6QP +pbik2FFbuR5aKUW9Vq94qWuXoqHv7oeTArFpPNK1FFTfFhPZwKlQ923YzaxjjFqx +VzI33c6fGZpVlcPi+SvoodQVlG7YSegBV3J7UDMgVu8= +-----END CERTIFICATE----- diff --git a/tests/certs/key.der b/tests/certs/key.der new file mode 100644 index 0000000000000000000000000000000000000000..2224d92c3e11ffae0bf9468901256e84c6bbd48f GIT binary patch literal 1191 zcmV;Y1X%kpf&`-i0RRGm0RaHJng11h_Q?j8o1N)omsw#|T*zGJOKsApmG>ZACGZ6wp;dFnG#DI>tuH%OgoNhyBw15IzoQ_w zD5Km)DD80cXT|@IcpJSG`tmE8+;-92i@Jbw%;=8cxJyv!yuCc4KmIpA8WozMJ^w~m zJX6czuxOKGQ-)9UA0GW8aIz-=wwyco?S^zf-qD589{&mA{7u{(zTD+Bgh7^MPq zGbf?a&c4vfFQ~F38WrC-KWKsP>fM%#1}<3x?;3XPkM1(%$KUgqccY*%|BSx`380cJ z^MJ&z0~@$b?;~+(rVTH>ih}`JHIofiG*(_pQ7?YI$F~QE32o34*-c^{6~Qt`}`V^ zlpD3_)E8n^P)S-;A@!(oq9PqW5dwjM0OhgQN4EES<1+aW0~U$-k39d}*N9vPJed!~ z$OVStmgCemA8t4(e74{Yxfj^;5WBtjKmY5o-r&Zy$1F_Mm3a=owfeudlQewgP+5rB z{@y$tGgj}26$(d^J*avx%*9U`uA=MDH7r0m7}yKPzmcR?KCZ*QVy&}9)el zQ3Ytq+(N=^g4=9CGbr223w&6*x~t6f|9VeiA(O;-MSkh}WvOE*M-NeC9Vfyf*>LKD~V4pq?s)X{n^=UbK1yRhtmK30D@(3{+Qh zyuK>diSgWWPI?gq-voW7_&U00kXf+S^@}-HnRtI}0D3~U89P9HocXwTIECzDT+QVr z0)c>2)jIaA7^7dHu`el`36%Iq3|Knds0Ax8>m9AChqk(`OF5r89R`K%nI1@+hQ|AJYDXX7Jpvr`6?OcBdRb6dC8E9L2owYw8WT z^S7v1;mS~cM{G(ploH;t%W-CWZLx;Wlf|n7fq;7L2GF881PHwcz#<;H^CT$os<_YyYdQ F!VEnkJM91f literal 0 HcmV?d00001 diff --git a/tests/certs/key.pem b/tests/certs/key.pem new file mode 100644 index 0000000..e22154f --- /dev/null +++ b/tests/certs/key.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAu5n/FXz2yQaWm53pZJgHdRUGex/Xrn/aj5b57U1bnGOhhDwX +/QJd2FSx3X5p1ku06w4genTQgxQnTaBkBZ7Ssilu+60jTHBb8vZjbjJVjfPdECR5 +8PSf0+k0AILx61tgAFzIXOZLbdKnlfcgXCXwBR+hVXPGNBgcja0vO1WEhOb2JFlT +Qb+jILYoo9xGKO1w9GfF/494G70U+vIrmdx20dyLuoBzzOiO4bhLUOm8vTyiP/43 +PxoVmqE9/0ZXPFPL4bBok2NThk/0Hx79InCyJwC2nDv45CpRLNccbvUmyEUF4MEE +CJW8g7bIEdUmfGRTYBQJ8RLLBNVDjyAUIwN1pQIDAQABAoIBAQCEH3TzYUs9URKJ +DrHtUtUNtH0YAdkY4JrBPgdPBYhboB+Ezf3nBt+pGB0cbYeEkVUdpplhJRwk9PCp +TyiifLTPHTc4sTuG/isD9lsYpQJ0Myeh0s6+0MovqLIjGhXfOD9oge/q3ZaKBi5Z +A+8adu2P7jLlx9/zmHejoDD/jL8ECaCSLPOAxK4DG7hO7yNxaaYNL72KgwFZNZMN +VjR4uMFskwRpY7c7KyE3PJH4qjraAELoNXoQfgWogRP7/wbQ2wuKwoSnO8Rwi0IE +lOFd1SsexyuTn6LyQjpa0wcrq6eEDwCJYPxHgRz7/BqQlBu16dQXYlVQSVpUIfWo +cqIiHT4RAoGBAOWx10e293vjMvkQAxaJ+Y88/9zXiFwHPJkPxMgFhuKW49Q2H244 +KHy24A65F9jzELu9+D//67He4Ma1xyxM1ZV5Dr+1+r+2kzR85VBZiNj+3jwdM1bv +iBUKR5I9qHowzMVPGa6i6881LEA5GNgLx7+RpFY+rsO+Yq2zRdZEIDXXAoGBANEW +Ev8nKtd77uZ7vFTeFkAOYsVQZxA1pzf+BzKOHZISK3Mu3/bsK7apIzepNllZoPJf +5lEFaMrcQsJsgttsQTMo28oLfFi6uqvM9f96T2Ihk8R4RX7p+mWuz4MZs1TkunNq +k4jo0UgVladYr/3lE+FtXFopzRt0s/qLyG86wwjjAoGADaXResteTRgk0TOoW1B7 +aY1gTojn6z/q09ViBdh+OTxp8RP+LhhcH3zmNzm8NwHKPr184KCeKoVpqaTnXrR6 +BFWbEL0JVxbMDFRXc7y+KtaJ8dxyTnoRBd8EfaX4OrpnkFmw1vWLOVaZeH9sAHpC +thk7QHyc+bh4OIXsYlzN5SUCgYBT1Tr2rRijX6CxLymbCZT4SAxYOt2oBSsv6x2t +qoe2uqxLOZ85HQaF7ZkeRy1wc9xxcfwhvj5/IANwexuYqPYXcil2AFbyKKSSH9L+ +hWbw3K+n1eVfdqccQBQZ56Mcxbzwa+oNufO3qFfhylB+R2xKNZQS3rHLcWZ8bbGG +z5PFqwKBgHrtCOeWChPOSgHMnU8ZFaQ1oivB+0DOrxNFMFko/wdUz6B3HqRgweOk +rUGsz9X6CCWppv3dCbfSPslDU/gTEKL7HmkIVEOuGEhl+kUiNM8pkxUvuAOPn331 +DfLDueqJrqWmuREtaStyEAwZL0GHteD2EeCtPPzI+8Mca/+rrcIM +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/key.pvk b/tests/certs/key.pvk new file mode 100644 index 0000000000000000000000000000000000000000..91fd5d929a009564f694929acef2e12cb9eda3de GIT binary patch literal 1196 zcmV;d1XKGS@wKo30000100000000000001#1ONaB0ssI2qyPX?Q$aES2mk;90097{ zbps<5Adf@U1j`cf2^3&cWPB#o5y-ZKyp;$9!Qcf&$R_n}9M>#SD&+V(oVEZbvT!2( z9v}2ihErpcXt3eSQ#@Bj|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gJqf(xE3abONOqTlNDh{)RiTI5!>7w0xo{ zPpR`-v;OX&4eGITZjcu2R^}?;27Bf7=5%2)l%)T4v7*` KJxgKpbRUG&S~*Do literal 0 HcmV?d00001 diff --git a/tests/certs/keyp.pem b/tests/certs/keyp.pem new file mode 100644 index 0000000..77d1ea7 --- /dev/null +++ b/tests/certs/keyp.pem @@ -0,0 +1,30 @@ +-----BEGIN RSA PRIVATE KEY----- +Proc-Type: 4,ENCRYPTED +DEK-Info: DES-EDE3-CBC,57F833C69C1085A8 + +o24R7d4+vRyZrgIL/t9Wyv4fHpObgWDX1TDHItW/+06Ub4VETrRLBePl/QgvL4MV +N4hme2WUNIU3sqMQqDabLB0n5e25LOaq1SrIRF2cI+6C4aIljhHwaxOkFxkrNpii +WOQ02y8cShpP1KHdEW0H68W1lmn/JIjz1yKxNSi9EJ+1OOWZXPTVMxJcH4Dm9p3j +J/dD/hQTPb2QXpBopR8FDbZMpiGt8dYQJJssd0SDTnLUXegGyMMcXwf7KwaPDWBZ +UqloqcHRS9WduWTRScOP3Ult1q/WGWbCt7lU6qpxVRCTTFxxaOGn8KNc1gpaoEP1 ++yGuWLw0yEbgK8DXtAgQOHHSkBxqjn1btcHTSS8w7vKIqIvZ/T7mTg9cGziV8SGT +LKgvM+3WIM4zxER3OyYozLimyDWyU9ELhfG+TW0t6q+nXe4nhnBaIwwMcjyI9Si8 +bcw8SYMJshEXAA8qZHDnw2Yj2R5Vitg9qh3hl31qRdTS9GtOeZKmG4JHNv6L4Ddo +Sq+l74LB2++Kyin8R6CYbYwrh+UjCkBa+jfKeuQL1QL36CJzNtW8NOVKXavrL/pf +I8aORnqI72IoBa/1FiCK3nMkilk8ukpalVA64x/A24+dKJFwEif7yhu01YkCQsRE +vMCarvWmISiOGtqbz1xLmlh21B72tIBFNfUH/jJPTW4nwJ+oErH3g2nYvt82dkWD +N4a4sdoaN+5mXZnL2Zun370EtxTk20LeyTTsOtLvEHa6XQlpxp+MP7rm7NALswI5 +sOJJQ7SeCXRAIT2YMvmK4uhwn9j8wwuSKnAFODv1+yI6jqjSfM4G9C1Qas7BJMgb +0iORLFRtc3c22SmeJhe0YxBi9X84o+CDeU8fKRySLnrCr5QhtYQuz3iSIn8AuzK9 +AimfMrwm6jm6/CCOJF9cyEqHfEU/29DMSHz7feQfvGEsNnW6AmpYRUwCre4mQy1U +nIZIChDs13dQV5/2mJa9noYMX9uAK5tllfefbQ81Mjurw+syOuKEKnEUVKG3bGi2 +LSt8FTLL8mwDhO7Em4AcLxK4391TC7ZImolf9efCpnmx3CDl+oydPvaBC9MTBB7j +uNMWqkAtsIjoJfx8Fv7JoYu4uhTMPVvU2VR65j/aYBmrVeNAeXaKyZ3WGRnwCkjj +gHJ/KX7EikL8QAsyJm9lNj9TxEwd8Nx5jqDeZWW+w/5FGvFkPIUlDbvzf1GkZFkE +lnXkItz2RPX7z58a4ooLt0bauXMfDAsKFMIbYZV8eNndx2IjiM8M4y2atSjqH/W3 +PEy5UWshXGIwvQPYSIhEuqk7ucTCK9Tpw081VY+5Atc5KZ0nUiuCvbwfeMkVHoN9 +cIx8HJSKobfjdOUbfNIbkF900wmmJclemtng4olfVdMa6DIxbiFAQjaRixauWb45 +jBm+YMiL1e4/tu4hqD//2MXbPE+HXU0qr+YOmXCNFnbJU6LrhSEovG5st8+LR+Kk +9zcaId1EmeVWxNNcCUL+kqXKDE7e/amMdFQeQZFqDW+Be4dVTJLl3HYasQF2sHG2 +XEPc59hc9l7NJp3kyzqzmr4YEwVHFUFJmarC5NQ6PuLlyD/g1dZmlw== +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/password.txt b/tests/certs/password.txt new file mode 100644 index 0000000..eafd3b5 --- /dev/null +++ b/tests/certs/password.txt @@ -0,0 +1 @@ +passme \ No newline at end of file diff --git a/tests/certs/revoked.pem b/tests/certs/revoked.pem new file mode 100644 index 0000000..a48e39f --- /dev/null +++ b/tests/certs/revoked.pem @@ -0,0 +1,45 @@ +-----BEGIN CERTIFICATE----- +MII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DAGAQH/AgEAMB0GA1UdDgQWBBQcEtqGNi2gEeppb9aRglwfLCRv/TAfBgNV +HSMEGDAWgBRzGc6YRhvH9BZFwoyJJf2PZPSExDAOBgNVHQ8BAf8EBAMCAYYwDQYJ +KoZIhvcNAQELBQADggEBAFNJFQ0zjxcj2VflXKC1vDisC//4etwspxVUW+AQC3Kg +ZqSIzrOtBaCCARtI6NOxF0udzVtfBc7Vd7MlxHWk/b863w75gDpOX8QiF9vrRb82 +AK2VmCafxQ0h2W6Sz7dYy4rok6xTRTBERxOMoaL9YHIWC8bktu6+uV/8V++HUstO +SEw8+jBJGJo9aGYcfXpvbFnmPyoYz/ZkOipjlRsaMUTU8KXbXTIAtsbtf6OWD6QP +pbik2FFbuR5aKUW9Vq94qWuXoqHv7oeTArFpPNK1FFTfFhPZwKlQ923YzaxjjFqx +VzI33c6fGZpVlcPi+SvoodQVlG7YSegBV3J7UDMgVu8= +-----END CERTIFICATE----- diff --git a/tests/certs/revoked.spc b/tests/certs/revoked.spc new file mode 100644 index 0000000000000000000000000000000000000000..7df0b06bd0c151020e538afd966c43fa42fd7edb GIT binary patch literal 2463 zcmchZcU)6h7RU2aK$GKj;q$wS#0to>|U<8r~Q9_U+eT9G&MG@&r2?*mb zfJz;u4+^5xp$ss>s^B6B5kz{C3Aj7U`kDPW|LnZ`$NQXn-+TAGbAI1*F38}z#lfW% zXCAl82XI1}46Y=Q!Ic0704xOL`OgZ#WN@Ab8L&o>0WD_2pa2w#QdACkFMQPK{OIxU zZKqaVhUK^JIw0Tg?*Kdq2g7wKlPOpX zD7ib$!;3bi_yx<7pv;ogP5?uz8KUI8zvc%*I%jV zyIC%4?dP(%Lh{8CuYMRmbU1WjDSu!_1HyPe>*5Y^?Qos4qV?ZNU&Xk}Eg+-{hym>y z!s1uUzt$zj#!jsq{)S-Kd>d1%aC^*5f#tX4)wYuyBG!o7SX9m)yYTbamAa^auIX#9 z9$4AUG&JfJ>VG_{FDiJm;Mk6tlOCb-)qU?&5+Tl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j6G?@EY@+ujn;#k!8AW`AA=Wo`V1Y literal 0 HcmV?d00001 diff --git a/tests/certs/tsa-chain.pem b/tests/certs/tsa-chain.pem new file mode 100644 index 0000000..95851ad --- /dev/null +++ b/tests/certs/tsa-chain.pem @@ -0,0 +1,50 @@ +-----BEGIN CERTIFICATE----- +MIIEzTCCA7WgAwIBAgIUOfEovjEdUwxU3llVsP/j845Bmi4wDQYJKoZIhvcNAQEL +BQAwYDELMAkGA1UEBhMCUEwxFTATBgNVBAoMDG9zc2xzaWduY29kZTEkMCIGA1UE +CwwbVGltZXN0YW1wIEF1dGhvcml0eSBSb290IENBMRQwEgYDVQQDDAtUU0EgUm9v +dCBDQTAeFw0xODAxMDEwMDAwMDBaFw0yODAxMDEwMDAwMDBaMFUxCzAJBgNVBAYT +AlBMMRUwEwYDVQQKDAxvc3Nsc2lnbmNvZGUxHDAaBgNVBAsME1RpbWVzdGFtcCBB +dXRob3JpdHkxETAPBgNVBAMMCFRlc3QgVFNBMIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEAy/UScIYfmEkhQEjfzQQBGtQida4BLImrenu6cdCX3QUIBqNw +ZPWks+hAJhaRBQhecyd+XkJR1dW2jrCWCGGJ6GZDPFH9WER7JbBID//s9+XVSuol +xCThVr9RwKpPag2ZsRC8VeSRc7At/uX6lcd7sRG1Yu6Zb/MaabowjPLflVPZboC4 +y2xBf8uROS4eVffJPdwTwirNOTJtTwxOVOVaE0J1GZEdr8I1o1bmZjcYQ+/+VGB3 +mgs5dFvSVmYMzocdb05yxlf/CHfP6tSJufa1YjSHztpC9AJNYD7JUhkVeKEmFHtZ +8Gf4KCPGqfqqrQJ6VMrNNImZ9i9vOE7u9GJZJwIDAQABo4IBiDCCAYQwDAYDVR0T +AQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAdBgNVHQ4EFgQUxWBfmgyH +/JUPHYH604MsYcosbjYwHwYDVR0jBBgwFoAUgOyoninPDHD34LHDNE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MRUwEwYDVQQKDAxvc3Nsc2lnbmNvZGUxJDAiBgNVBAsMG1RpbWVzdGFtcCBB +dXRob3JpdHkgUm9vdCBDQTEUMBIGA1UEAwwLVFNBIFJvb3QgQ0EwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDlPnoARKfM6fzxkHC7PZar48cL2jkO7XpT +xv/uO6yyd1qj353o7/rhT5REb291cMv59o7fv6uxdReWcIpjR3NxgyxJ8P8qxnbW +wQJJIvL729hcP5L6Rbl6n8l0OmSPBIth9yzLpsuz3in9lfd65BKYswe8M26lgfP3 +Xky1uA+awt/Vsas7cYUvH94NsCQVU52mLanr9oVaI+7EPBlA9JwhNvUOlnSmOIix +9ZQ9pkTN6+4ceQwq5zs845yglAkDl6JuKUNCDJQGejfBgokCSNbWmqUV9VaLS0BP +LIAn9kyth2K/lIY1Wo+Bkc+020zY8QPfZ65G8RTR/bIsUqfpHQ11AgMBAAGjQjBA +MA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFIDsqJ4pzwxw9+CxwzRIMKCBz1My +MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAQEAK3lXc/QhlCnlPeT1 +qB9cq3HvMdAWS8+ekf5f++atMoZkRsn/Avfq8JB1i+hHmElAOuqZJDhyFSstehlK +a69gBHY9l2NuMGtUMp6gRodjbpzxPHxKUqXpdyw29qfJhJlsYbn+pZ2KCZ35E2QP +17RR4WvQ+nkNQfr1nfGL8yLw+Swv8T9okjYadvKjWfk6L2D6Q4WExtmWTuQgz+Fc +PyvLEE8h1eS1ZTZtL1WzUUG48Mp0+tPDN9FoUoTGPflwMYDI/WChY6OluWKQiBBa +tWCjX9xRBOi5BV/wzzzrj0q58lGXCDY8C7SQ4wYP/zt4HPSroACe4cKdJhaWULnP +iA+12g== +-----END CERTIFICATE----- diff --git a/tests/certs/tsa-serial b/tests/certs/tsa-serial new file mode 100644 index 0000000..487db5f --- /dev/null +++ b/tests/certs/tsa-serial @@ -0,0 +1 @@ +7f6f24f728adda6a80c55f00607e8ad9