From d68674a77a4fc92b4311244d760ef070d06d363b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 17 Feb 2004 15:07:27 +0000 Subject: [PATCH] More samples --- tests/samplekeys/README | 5 +++ tests/samplekeys/ossl-rentec-user.pem | 44 ++++++++++++++++++++ tests/samplekeys/webdeca.der | Bin 0 -> 1857 bytes tests/samplekeys/webderoot.der | Bin 0 -> 2009 bytes tests/samplemsgs/webde-buenemann-signed.cms | Bin 0 -> 3368 bytes 5 files changed, 49 insertions(+) create mode 100644 tests/samplekeys/ossl-rentec-user.pem create mode 100644 tests/samplekeys/webdeca.der create mode 100644 tests/samplekeys/webderoot.der create mode 100644 tests/samplemsgs/webde-buenemann-signed.cms diff --git a/tests/samplekeys/README b/tests/samplekeys/README index d2ff84c72..0e8877907 100644 --- a/tests/samplekeys/README +++ b/tests/samplekeys/README @@ -6,6 +6,11 @@ opensc-tests.p12 PKCS#12 key and certificates taken from OpenSC. ov-user.p12 Private tests keys from www.openvalidation.org. ov-server.p12 Passphrase for both is "start" +ossl-rentec-user.pem An OpenSSL generated user certificate using a + bunch of attributes and DC RDNs. + +webderoot.der trust.web.de Root CA certificate [2004-02-17] +webdeca.der trust.web.de CA certificate [2004-02-17] diff --git a/tests/samplekeys/ossl-rentec-user.pem b/tests/samplekeys/ossl-rentec-user.pem new file mode 100644 index 000000000..290b0ef0d --- /dev/null +++ b/tests/samplekeys/ossl-rentec-user.pem @@ -0,0 +1,44 @@ +-----BEGIN CERTIFICATE----- +MIIHnTCCBYWgAwIBAgIBATANBgkqhkiG9w0BAQQFADBGMRMwEQYKCZImiZPyLGQB +GRYDY29tMRYwFAYKCZImiZPyLGQBGRYGcmVudGVjMRcwFQYDVQQDDA5SZW5haXNz +YW5jZSBDQTAeFw0wNDAxMTAwNDE1NDZaFw0wNjAxMDkwNDE1NDZaMFcxEzARBgoJ +kiaJk/IsZAEZFgNjb20xFjAUBgoJkiaJk/IsZAEZFgZyZW50ZWMxDzANBgNVBAsM +BlBl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ORWF6myjGtM13ij8yXg4Mx1sgKOY9IK1/ +muLauYAamNdCSkD5+0ecmYJ98G7022zUTBE8LR6FFHAG+3F8mzP+oI2eOwJYzMFW +Zw3MNUCarArIyxts/+izpOEIfkf0ztx1TckCTGd/F7WAkQcDHZHsf8Vb+eaLTltk +rEM6mnpov+YCO8qb/vmr2018fNS5haTJvECjLbYRy6RV2v6wRPNbYRHN3og87h/8 +2HUYfYCVebbJdzSwkQGApPty9mx2wr3EwB7KTT+IjXkp +-----END CERTIFICATE----- + diff --git a/tests/samplekeys/webdeca.der b/tests/samplekeys/webdeca.der new file mode 100644 index 0000000000000000000000000000000000000000..9532e3fa526f9d9bc4edfe978a9880c7ea155aed GIT binary patch literal 1857 zcmbtUYfuwc6wW3gAqlZSFlcx!Pz3@ZH>gC!SOP(?h+-=u_=1oHRzk458x(03;uu7s z@)DIA2P%xTKC#6IQ{*wFQmQ~(u}Y~3;wTpIK|xVQy8#^-AN|vR_nh;6=YHqj?_Qu| z%7D&fRtb#?QK=9Oa2YJ2K3M;R3qf=f3dqQjZ~%)z3#T)9R7Idf0A?5iCeK14l6rf2 zN#T$fOpRmO1Vmy9%#AfRj};N<@2LocS;%*1&@JW`vRGw;54-st{mr&GqpC-d=MglDX13k|=8~m`jF|S0TtK{eOC`!So5e z)22v*1LP79Ae@lw{I+CxRkB(wib5~~jYAV-2xNS~_s*b$oTeT#WJ00opbscO2eGL- z2%=Q29{r+n%&E}JvdZ~pTff)iOMBch!@67(E4&OALswfaF5CcBpEbMLa*dtD%^O{8 zcJ5(j-2(hzMF`@$Qpsa>Y$Er9meRgyZIyg* z&wVvI#?_t4sLgWVPrs7d%un9R-* zq|zV?bVNtZ1v+Xr@L;f_^}&$-sXs)gJMiri2x1eyKr9}&h3AAV#8^szT>KF(1J09Z zDxJ@_dKVh-CqXnii_awK8WN5h!(bJPz;Z1fAEQKIBkoPpYS?TA z30bBkwrVx;MmUb(Q<{*$W)xG6b5)22maEnAND_i-$aN5c$0qc~5x5djp_+J-PbOW- z19F4KuUl+I5sWP07#f>Es8J0{LR4hax8D;E$0HaLkEjXHaY1NSIWMBMHhF%##fy#*1;F3xO+`UGiaxlm4B=SWGRBjR6u*axwMQlAj|@M};UB zk1E=R2WzNkTi$V%K-4l|S08ieuCgfV=K=bzkwff=&wL|pwAPhlBFRzz$603_MJc!M zT5qF%p0JVLxtgBW`4#$@{oHDP4)YiLAMWf*U*wZ&k#_`ENE)AA-*+F=ch`=xIMOC} zS@dX}qICsS-+ehh;!6F2qD+|l$>Ds#CSl==0owZh*6v@zlos~_)%-8^(YxUv7(&+UMTy$dze!PSovg7Ejtk6G|E)OzUh5^Nf+T={ZmC7ad z<?z14%LR+35rciZ*1v2)-iPFc3E{>hl@+qzUZU<;A~p2!0z5y z8dpjr+IrjcZ#m-k?J|b#(wHYz1K$}I7i@3vT;x~mnojFuWqI%_!wtp4o)czxjZ8GZ zh_m0p)Lm9;UNCKaa7D<5#chKRO4awl^3=Z*BLzuE_f{5{oII7|x3RJFWCrzLMv|pn literal 0 HcmV?d00001 diff --git a/tests/samplekeys/webderoot.der b/tests/samplekeys/webderoot.der new file mode 100644 index 0000000000000000000000000000000000000000..3fedd9cd091af3d4714e00d35f110634fd3dee47 GIT binary patch literal 2009 zcmd5+X;>3i6wOSA1cC@A7y<|kBC?YSK{0?VNq``-sE7*kv6z7jgv2i!i$x(wP|ymB zwJaiH-6|?7Zn%OJ5O+~jwyKqiXlqMx1HmSUAJ#6v`|sUz?mh2*_q}rwCGjqz)H+v* z2LTWS07Q?VW3S?=-sk}Uq=iGWH!^e)9RhwaM4*6NKZXfH(*#7y6t0uoY!??dI4Djc zluG0RltD%eG#rVdv&4_>%=LqP0~m$~S%c|Pbi*Zbsf>e)WT=E;iWqB9JcT@-`6c{NMGf1gC#KQa}rbSAzOD zL!l_iV2m-334b4NmFUvNnk_eMoz$>C~t zjMvW2n3}fa_>rLe_I`t7A5@JiqZn?tQ9>ZD(Uq33II1`)UoPTS@~X|J#PoQWq1CghN9`g=M?Qh z@EN%IEuk7}%E(?cxZk7YRrQoi&OpM|i0FqLLC4BYmVLQum(Tho*CI$fYSAOt9M0|0 zlpGGvajoB-+?H*H4>(swJw-u1R+dMqmIiyooOPa;H5)S1v%gDUU;JT{m2^(xuMe2Z z&3RqV%{TfqMD8Ge-5bGKoqBVTb#*RbWH4{{9uIQu8}E_eIaiw-D~rUc0>DyIbAqzU z==jJyLm2AQbvKtxD)>O*<~ z_sKI558!}ZO3+jNBjzBJ)UGh2Kw1bM06rjrnh1v2h!5gL(2Z5`0M%PRfT%Vp9dROP zI}iXZEg}d|Ed?^!N_RSa%qY$ujY8*P!UU8aCKh5V(&>m2up{VvRA2*okP#AINSBD{-qN|B9A$dTrju5?+VsG)hm7~O`EjF`N-P)CDXiu>nd4xo{W&ZA_1rB$2EZXX{bA_sylUP+beu` zL)So3A$BXbhd6kCmjJ#v+2)V>U*3gwXq^Gc8|sdq6x7u1ah$ukFvP*|b}%&1b!l~< zrAuoSX<2zTZCUkTaMR)Qp|aL?rFYrAl9`3`SQQI!l@4!=Y>3b9Lg6akQwu_iNy9TM zj8!`z-9s7S*~Fcf7J1u_l=)wXES$>2PL&VawzAlwr0t@${f?OSix8Uq>;7*oRsKQk zR&Lv8_?CG?g;<5$I&N$)ot+p9guWU&Rm>Sqp<`&(n z>u0l3$JDecA!~oawDq$K>BjR7U7ETNZmJ^htF}e`+UjoV#|?&G^tBr*Ih+;$jX$L{ ey=xt1l{=;KLD literal 0 HcmV?d00001 diff --git a/tests/samplemsgs/webde-buenemann-signed.cms b/tests/samplemsgs/webde-buenemann-signed.cms new file mode 100644 index 0000000000000000000000000000000000000000..9ed2dc1c42496226e91510d619639be311378975 GIT binary patch literal 3368 zcmdT{dpK0<8lN>Yj9KFmMnmJaB)QLgYowuKqj4!jyHs>xn1!h^YAzIZF+Gu@gxDz^ z-JVoRDrGyBOIt}L+0`y7DH4ZnqR7r!gW}ZQ=b!V>+4ILd>%Fe`{l52ofA0c`s#L3F zujCI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