diff options
Diffstat (limited to 'support')
38 files changed, 75 insertions, 60 deletions
diff --git a/support/src/test/java/tests/resources/x509/cert-alt-dirname.der b/support/src/test/java/tests/resources/x509/cert-alt-dirname.der Binary files differindex 69e4033..e96fc33 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-dirname.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-dirname.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-dns.der b/support/src/test/java/tests/resources/x509/cert-alt-dns.der Binary files differindex d9b1e87..7f245f1 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-dns.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-dns.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-email.der b/support/src/test/java/tests/resources/x509/cert-alt-email.der Binary files differindex f10bc43..94db3e9 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-email.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-email.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-none.der b/support/src/test/java/tests/resources/x509/cert-alt-none.der Binary files differindex fbf543a..6b7ab1d 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-none.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-none.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-other.der b/support/src/test/java/tests/resources/x509/cert-alt-other.der Binary files differindex 7a06ff7..fb66368 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-other.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-other.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-rid.der b/support/src/test/java/tests/resources/x509/cert-alt-rid.der Binary files differindex 242a49d..6773b4f 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-rid.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-rid.der diff --git a/support/src/test/java/tests/resources/x509/cert-alt-uri.der b/support/src/test/java/tests/resources/x509/cert-alt-uri.der Binary files differindex 5a9b882..c21ae4c 100644 --- a/support/src/test/java/tests/resources/x509/cert-alt-uri.der +++ b/support/src/test/java/tests/resources/x509/cert-alt-uri.der diff --git a/support/src/test/java/tests/resources/x509/cert-ca.der b/support/src/test/java/tests/resources/x509/cert-ca.der Binary files differindex 7c787ea..0570113 100644 --- a/support/src/test/java/tests/resources/x509/cert-ca.der +++ b/support/src/test/java/tests/resources/x509/cert-ca.der diff --git a/support/src/test/java/tests/resources/x509/cert-caWithPathLen.der b/support/src/test/java/tests/resources/x509/cert-caWithPathLen.der Binary files differindex 2886091..c964a0b 100644 --- a/support/src/test/java/tests/resources/x509/cert-caWithPathLen.der +++ b/support/src/test/java/tests/resources/x509/cert-caWithPathLen.der diff --git a/support/src/test/java/tests/resources/x509/cert-crl-ca.der b/support/src/test/java/tests/resources/x509/cert-crl-ca.der Binary files differnew file mode 100644 index 0000000..d58022c --- /dev/null +++ b/support/src/test/java/tests/resources/x509/cert-crl-ca.der diff --git a/support/src/test/java/tests/resources/x509/cert-dsa.der b/support/src/test/java/tests/resources/x509/cert-dsa.der Binary files differindex d17c4ce..09f83eb 100644 --- a/support/src/test/java/tests/resources/x509/cert-dsa.der +++ b/support/src/test/java/tests/resources/x509/cert-dsa.der diff --git a/support/src/test/java/tests/resources/x509/cert-ec.der b/support/src/test/java/tests/resources/x509/cert-ec.der Binary files differindex 07bdf7a..ca746cc 100644 --- a/support/src/test/java/tests/resources/x509/cert-ec.der +++ b/support/src/test/java/tests/resources/x509/cert-ec.der diff --git a/support/src/test/java/tests/resources/x509/cert-extendedKeyUsage.der b/support/src/test/java/tests/resources/x509/cert-extendedKeyUsage.der Binary files differindex ac36013..33673aa 100644 --- a/support/src/test/java/tests/resources/x509/cert-extendedKeyUsage.der +++ b/support/src/test/java/tests/resources/x509/cert-extendedKeyUsage.der diff --git a/support/src/test/java/tests/resources/x509/cert-ipv6.der b/support/src/test/java/tests/resources/x509/cert-ipv6.der Binary files differindex 11b440e..0e6c5ed 100644 --- a/support/src/test/java/tests/resources/x509/cert-ipv6.der +++ b/support/src/test/java/tests/resources/x509/cert-ipv6.der diff --git a/support/src/test/java/tests/resources/x509/cert-keyUsage-extraLong.der b/support/src/test/java/tests/resources/x509/cert-keyUsage-extraLong.der Binary files differindex cf5e0f1..1d5fdea 100644 --- a/support/src/test/java/tests/resources/x509/cert-keyUsage-extraLong.der +++ b/support/src/test/java/tests/resources/x509/cert-keyUsage-extraLong.der diff --git a/support/src/test/java/tests/resources/x509/cert-rsa-dates.txt b/support/src/test/java/tests/resources/x509/cert-rsa-dates.txt index d661409..cbd8632 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa-dates.txt +++ b/support/src/test/java/tests/resources/x509/cert-rsa-dates.txt @@ -1,2 +1,2 @@ -notBefore=Jan 2 00:03:12 2013 GMT -notAfter=Dec 31 00:03:12 2022 GMT +notBefore=Mar 6 00:42:06 2013 GMT +notAfter=Mar 4 00:42:06 2023 GMT diff --git a/support/src/test/java/tests/resources/x509/cert-rsa-pubkey.der b/support/src/test/java/tests/resources/x509/cert-rsa-pubkey.der Binary files differindex ab9f3db..4fb898b 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa-pubkey.der +++ b/support/src/test/java/tests/resources/x509/cert-rsa-pubkey.der diff --git a/support/src/test/java/tests/resources/x509/cert-rsa-serial.txt b/support/src/test/java/tests/resources/x509/cert-rsa-serial.txt index ec3cebd..07ed8ec 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa-serial.txt +++ b/support/src/test/java/tests/resources/x509/cert-rsa-serial.txt @@ -1 +1 @@ -serial=B96143E1D6F31E6F +serial=BFC278DBB294AC42 diff --git a/support/src/test/java/tests/resources/x509/cert-rsa-sig.der b/support/src/test/java/tests/resources/x509/cert-rsa-sig.der index 62979ee..54361b5 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa-sig.der +++ b/support/src/test/java/tests/resources/x509/cert-rsa-sig.der @@ -1 +1 @@ -ѴůKȁϏ(",/IL.1 ,xһTK$}xyii.OOM.m>˻VbJQ?ԥ@(>_xGMz%
\ No newline at end of file +7iop_%5:%ت"Rǜoǁ@HējQOA3eCB`Hp>.5'qk{CվqPl-
\ No newline at end of file diff --git a/support/src/test/java/tests/resources/x509/cert-rsa-tbs.der b/support/src/test/java/tests/resources/x509/cert-rsa-tbs.der Binary files differindex 5ec2858..cbe67b7 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa-tbs.der +++ b/support/src/test/java/tests/resources/x509/cert-rsa-tbs.der diff --git a/support/src/test/java/tests/resources/x509/cert-rsa.der b/support/src/test/java/tests/resources/x509/cert-rsa.der Binary files differindex 23d7cc8..e27787b 100644 --- a/support/src/test/java/tests/resources/x509/cert-rsa.der +++ b/support/src/test/java/tests/resources/x509/cert-rsa.der diff --git a/support/src/test/java/tests/resources/x509/cert-sigopt.der b/support/src/test/java/tests/resources/x509/cert-sigopt.der Binary files differnew file mode 100644 index 0000000..d808282 --- /dev/null +++ b/support/src/test/java/tests/resources/x509/cert-sigopt.der diff --git a/support/src/test/java/tests/resources/x509/cert-unsupported.der b/support/src/test/java/tests/resources/x509/cert-unsupported.der Binary files differindex 0239b68..c0db35a 100644 --- a/support/src/test/java/tests/resources/x509/cert-unsupported.der +++ b/support/src/test/java/tests/resources/x509/cert-unsupported.der diff --git a/support/src/test/java/tests/resources/x509/cert-userWithPathLen.der b/support/src/test/java/tests/resources/x509/cert-userWithPathLen.der Binary files differindex c29c933..e5ec37e 100644 --- a/support/src/test/java/tests/resources/x509/cert-userWithPathLen.der +++ b/support/src/test/java/tests/resources/x509/cert-userWithPathLen.der diff --git a/support/src/test/java/tests/resources/x509/certs-pk7.der b/support/src/test/java/tests/resources/x509/certs-pk7.der Binary files differindex 327d072..f7f8abc 100644 --- a/support/src/test/java/tests/resources/x509/certs-pk7.der +++ b/support/src/test/java/tests/resources/x509/certs-pk7.der diff --git a/support/src/test/java/tests/resources/x509/certs-pk7.pem b/support/src/test/java/tests/resources/x509/certs-pk7.pem index acdbefc..feef173 100644 --- a/support/src/test/java/tests/resources/x509/certs-pk7.pem +++ b/support/src/test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Gx2WFrhpY1u2YYnDV +5xGFpLH4MV0Nvw0iDMD+q+Wo2sH5MgUbCmnlwtZ8xhQYF3M2Cyb4fnm+tQsNnKMa +MBgwCQYDVR0TBAIwADALBgNVHQ8EBAMCADcwCQYHKoZIzjgEAwMxADAuAhUAt3Mt +TCmXGAdJ8gGtrg/BfAQ/lPoCFQCMlyzUwS31EtfnLSu/SGFR6xxTMqEAMQA= -----END PKCS7----- diff --git a/support/src/test/java/tests/resources/x509/certs.der b/support/src/test/java/tests/resources/x509/certs.der Binary files differindex 89585a6..d454c5b 100644 --- a/support/src/test/java/tests/resources/x509/certs.der +++ b/support/src/test/java/tests/resources/x509/certs.der diff --git a/support/src/test/java/tests/resources/x509/certs.pem b/support/src/test/java/tests/resources/x509/certs.pem index 515fbb7..448227e 100644 --- a/support/src/test/java/tests/resources/x509/certs.pem +++ b/support/src/test/java/tests/resources/x509/certs.pem @@ -1,18 +1,18 @@ -----BEGIN CERTIFICATE----- -MIIEvDCCBCWgAwIBAgIJALlhQ+HW8x5vMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV +MIIEvDCCBCWgAwIBAgIJAL/CeNuylKxCMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRIwEAYDVQQHEwlTYW4gTWF0ZW8x FzAVBgNVBAoTDkdlbml1cy5jb20gSW5jMQ8wDQYDVQQLEwZOZXRPcHMwHhcNMTMw -MTAyMDAwMzEyWhcNMjIxMjMxMDAwMzEyWjBgMQswCQYDVQQGEwJVUzETMBEGA1UE +MzA2MDA0MjA2WhcNMjMwMzA0MDA0MjA2WjBgMQswCQYDVQQGEwJVUzETMBEGA1UE CBMKQ2FsaWZvcm5pYTESMBAGA1UEBxMJU2FuIE1hdGVvMRcwFQYDVQQKEw5HZW5p dXMuY29tIEluYzEPMA0GA1UECxMGTmV0T3BzMIGfMA0GCSqGSIb3DQEBAQUAA4GN -ADCBiQKBgQC5z1kj/9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5rqYL4fWuSgA/LXOv+qJgPnguBWbneyO6v0dlpI/ +mHlTW7R/u5iufF3mvyez+k0nUedV0/NsUSAFTQtGNS0CFQC9y5Dmn2vFE856B/Z7 +cM/x2Bz4twKBgAnY4bcHgl046jAmJ014gUvYTzqdD1ipj7JCfvrSDcvbc9f62Mlq +DW8l+9LanBTVfTDdjC92g8EUvAF/LS8TAQWpHvSIkL8Tay3eB5mps+NlaShRLpGr +f74mwqgvFgwuez/ZT3++mX8oXbTnddrdC9PJ3QPGzWjdPSaDauE/wWV0A4GEAAKB +gBgH7DjvrvKllrDVFg0tZaX5QV7gvZx+xkoYzlnx+WpwmR7Ll+GTZU9EVr9hdQRi +5iSBqcZAU2qu/a2UtqWlypFfTQFcsUbHZYWuGljW7ZhicNXnEYWksfgxXQ2/DSIM +wP6r5ajawfkyBRsKaeXC1nzGFBgXczYLJvh+eb61Cw2coxowGDAJBgNVHRMEAjAA +MAsGA1UdDwQEAwIANzAJBgcqhkjOOAQDAzEAMC4CFQC3cy1MKZcYB0nyAa2uD8F8 +BD+U+gIVAIyXLNTBLfUS1+ctK79IYVHrHFMy -----END CERTIFICATE----- diff --git a/support/src/test/java/tests/resources/x509/create.sh b/support/src/test/java/tests/resources/x509/create.sh index dfab42e..0f7cb81 100755 --- a/support/src/test/java/tests/resources/x509/create.sh +++ b/support/src/test/java/tests/resources/x509/create.sh @@ -61,6 +61,8 @@ openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfil openssl req -config ${DIR}/default.cnf -new -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions unsupported_cert -req -signkey privkey.pem -outform d > cert-unsupported.der +openssl req -config ${DIR}/default.cnf -new -nodes -batch -config ${DIR}/default.cnf -extensions usr_cert -x509 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:1 -outform d > cert-sigopt.der + openssl dsaparam -out dsaparam.pem 1024 openssl req -config ${DIR}/default.cnf -newkey dsa:dsaparam.pem -keyout dsapriv.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions keyUsage_cert -req -signkey dsapriv.pem -outform d > cert-dsa.der rm -f dsaparam.pem @@ -76,6 +78,7 @@ touch /tmp/ca/index.txt touch /tmp/ca/index.txt.attr echo "01" > /tmp/ca/serial openssl req -new -nodes -batch -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 -config default.cnf +openssl x509 -in cacert.pem -outform d > cert-crl-ca.der openssl x509 -inform d -in cert-rsa.der -out cert-rsa.pem openssl ca -revoke cert-rsa.pem -keyfile cakey.pem -cert cacert.pem -config default.cnf @@ -89,7 +92,9 @@ openssl asn1parse -in crl-rsa.der -inform d -strparse ${SIG_OFFSET} -noout -out openssl x509 -inform d -in cert-dsa.der -out cert-dsa.pem openssl ca -revoke cert-dsa.pem -keyfile cakey.pem -cert cacert.pem -crl_reason cessationOfOperation -extensions unsupported_cert -config default.cnf openssl ca -gencrl -crldays 30 -keyfile cakey.pem -cert cacert.pem -out crl-rsa-dsa.pem -config default.cnf +openssl ca -gencrl -crldays 30 -keyfile cakey.pem -cert cacert.pem -out crl-rsa-dsa-sigopt.pem -config default.cnf -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:1 openssl crl -in crl-rsa-dsa.pem -outform d -out crl-rsa-dsa.der +openssl crl -in crl-rsa-dsa-sigopt.pem -outform d -out crl-rsa-dsa-sigopt.der # Unsupported extensions openssl ca -gencrl -crlexts unsupported_cert -keyfile cakey.pem -cert cacert.pem -out crl-unsupported.pem -config default.cnf diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-dates.txt b/support/src/test/java/tests/resources/x509/crl-rsa-dates.txt index 50e48f2..4669357 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa-dates.txt +++ b/support/src/test/java/tests/resources/x509/crl-rsa-dates.txt @@ -1,2 +1,2 @@ -lastUpdate=Jan 2 00:03:13 2013 GMT -nextUpdate=Jan 4 22:03:13 2013 GMT +lastUpdate=Mar 6 00:42:08 2013 GMT +nextUpdate=Mar 8 22:42:08 2013 GMT diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-dsa-dates.txt b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-dates.txt index 9976096..7700c7e 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa-dsa-dates.txt +++ b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-dates.txt @@ -1,2 +1,2 @@ -lastUpdate=Jan 2 00:03:13 2013 GMT -nextUpdate=Feb 1 00:03:13 2013 GMT +lastUpdate=Mar 6 00:42:08 2013 GMT +nextUpdate=Apr 5 00:42:08 2013 GMT diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.der b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.der Binary files differnew file mode 100644 index 0000000..ec83979 --- /dev/null +++ b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.der diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.pem b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.pem new file mode 100644 index 0000000..87531a2 --- /dev/null +++ b/support/src/test/java/tests/resources/x509/crl-rsa-dsa-sigopt.pem @@ -0,0 +1,10 @@ +-----BEGIN X509 CRL----- +MIIBejCB3wIBATASBgkqhkiG9w0BAQowBaIDAgEBMGAxCzAJBgNVBAYTAlVTMRMw +EQYDVQQIEwpDYWxpZm9ybmlhMRIwEAYDVQQHEwlTYW4gTWF0ZW8xFzAVBgNVBAoT +Dkdlbml1cy5jb20gSW5jMQ8wDQYDVQQLEwZOZXRPcHMXDTEzMDMwNjAwNDIwOFoX +DTEzMDQwNTAwNDIwOFowRjAaAgkAv8J427KUrEIXDTEzMDMwNjAwNDIwOFowKAIJ +AOgj1gF4KHp/Fw0xMzAzMDYwMDQyMDhaMAwwCgYDVR0VBAMKAQUwEgYJKoZIhvcN +AQEKMAWiAwIBAQOBgQBDETj4knxhTVoHhpHOAwskEfJLk0i5jW6iSn7nJ62ASlwj +lXjpgIbEkohn6AkzLMiHXTzZDWu0iEiPwNK17RKlxWAiqVoH0igL50Luc6rNcsit ++RNnINYIN67JSkLfCxW2iWSDSONRTnbwCo1/XdcpoUFcNkwy5qDWJvcHdjgtGg== +-----END X509 CRL----- diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-dsa.der b/support/src/test/java/tests/resources/x509/crl-rsa-dsa.der Binary files differindex 9282b30..32366fa 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa-dsa.der +++ b/support/src/test/java/tests/resources/x509/crl-rsa-dsa.der diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-sig.der b/support/src/test/java/tests/resources/x509/crl-rsa-sig.der Binary files differindex f6ebf4f..80c915b 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa-sig.der +++ b/support/src/test/java/tests/resources/x509/crl-rsa-sig.der diff --git a/support/src/test/java/tests/resources/x509/crl-rsa-tbs.der b/support/src/test/java/tests/resources/x509/crl-rsa-tbs.der Binary files differindex 679427d..c444c3a 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa-tbs.der +++ b/support/src/test/java/tests/resources/x509/crl-rsa-tbs.der diff --git a/support/src/test/java/tests/resources/x509/crl-rsa.der b/support/src/test/java/tests/resources/x509/crl-rsa.der Binary files differindex 994f1a8..bde1720 100644 --- a/support/src/test/java/tests/resources/x509/crl-rsa.der +++ b/support/src/test/java/tests/resources/x509/crl-rsa.der diff --git a/support/src/test/java/tests/resources/x509/crl-unsupported.der b/support/src/test/java/tests/resources/x509/crl-unsupported.der Binary files differindex 15eef95..19ffc9c 100644 --- a/support/src/test/java/tests/resources/x509/crl-unsupported.der +++ b/support/src/test/java/tests/resources/x509/crl-unsupported.der |