aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/x509/pss_certs
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-16 13:34:51 -0500
committerJack Lloyd <[email protected]>2017-11-16 13:34:51 -0500
commitf458becc9c2ecb004557daad63623b8dafefe163 (patch)
tree3639e5e7bc56123e5ed550cfb891a41f947b6a62 /src/tests/data/x509/pss_certs
parent24173844eb629f6316ea0523a97b2f9561fee9e6 (diff)
Move all the various X509 test data files under src/tests/data/x509
Diffstat (limited to 'src/tests/data/x509/pss_certs')
-rw-r--r--src/tests/data/x509/pss_certs/01/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/01/end.crt28
-rw-r--r--src/tests/data/x509/pss_certs/01/root.crt31
-rw-r--r--src/tests/data/x509/pss_certs/02/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/02/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/02/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/03/end.crt53
-rw-r--r--src/tests/data/x509/pss_certs/03/root.crt26
-rw-r--r--src/tests/data/x509/pss_certs/04/end.crt54
-rw-r--r--src/tests/data/x509/pss_certs/04/root.crt26
-rw-r--r--src/tests/data/x509/pss_certs/05/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/05/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/06/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/06/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/07/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/07/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/08/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/08/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/09/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/09/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/10/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/10/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/100/end.crt19
-rw-r--r--src/tests/data/x509/pss_certs/100/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/101/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/101/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/102/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/102/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/103/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/103/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/104/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/104/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/105/end.crt19
-rw-r--r--src/tests/data/x509/pss_certs/105/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/106/end.crt19
-rw-r--r--src/tests/data/x509/pss_certs/106/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/107/end.crt22
-rw-r--r--src/tests/data/x509/pss_certs/108/crl-rsa-pss-sha1.crl14
-rw-r--r--src/tests/data/x509/pss_certs/108/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/108/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/109/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/109/crl-rsa-pss-sha1-badsign.crl14
-rw-r--r--src/tests/data/x509/pss_certs/109/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/109/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/11/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/11/root.crt34
-rw-r--r--src/tests/data/x509/pss_certs/110/crl-rsa-pss-sha224.crl16
-rw-r--r--src/tests/data/x509/pss_certs/110/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/110/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/111/crl-rsa-pss-sha256.crl16
-rw-r--r--src/tests/data/x509/pss_certs/111/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/111/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/112/crl-rsa-pss-sha384.crl16
-rw-r--r--src/tests/data/x509/pss_certs/112/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/112/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/113/crl-rsa-pss-sha512.crl16
-rw-r--r--src/tests/data/x509/pss_certs/113/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/113/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/114/server9.req.sha1.csr11
-rw-r--r--src/tests/data/x509/pss_certs/115/server9.req.sha224.csr12
-rw-r--r--src/tests/data/x509/pss_certs/116/server9.req.sha256.csr12
-rw-r--r--src/tests/data/x509/pss_certs/117/server9.req.sha384.csr12
-rw-r--r--src/tests/data/x509/pss_certs/118/server9.req.sha512.csr12
-rw-r--r--src/tests/data/x509/pss_certs/12/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/12/root.crt34
-rw-r--r--src/tests/data/x509/pss_certs/13/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/13/root.crt34
-rw-r--r--src/tests/data/x509/pss_certs/14/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/14/root.crt34
-rw-r--r--src/tests/data/x509/pss_certs/15/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/15/root.crt34
-rw-r--r--src/tests/data/x509/pss_certs/16/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/16/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/17/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/17/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/18/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/18/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/19/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/19/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/20/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/20/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/21/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/21/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/22/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/22/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/23/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/23/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/24/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/24/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/25/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/25/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/26/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/26/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/27/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/27/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/28/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/28/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/29/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/29/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/30/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/30/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/31/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/31/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/32/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/32/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/33/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/33/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/34/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/34/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/35/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/35/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/36/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/36/root.crt37
-rw-r--r--src/tests/data/x509/pss_certs/37/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/37/root.crt37
-rw-r--r--src/tests/data/x509/pss_certs/38/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/38/root.crt37
-rw-r--r--src/tests/data/x509/pss_certs/39/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/39/root.crt37
-rw-r--r--src/tests/data/x509/pss_certs/40/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/40/root.crt37
-rw-r--r--src/tests/data/x509/pss_certs/41/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/41/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/42/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/42/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/43/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/43/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/44/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/44/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/45/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/45/root.crt40
-rw-r--r--src/tests/data/x509/pss_certs/46/end.crt25
-rw-r--r--src/tests/data/x509/pss_certs/46/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/47/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/47/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/48/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/48/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/49/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/49/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/50/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/50/root.crt28
-rw-r--r--src/tests/data/x509/pss_certs/51/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/51/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/52/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/52/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/53/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/53/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/54/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/54/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/55/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/55/root.crt35
-rw-r--r--src/tests/data/x509/pss_certs/56/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/56/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/57/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/57/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/58/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/58/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/59/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/59/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/60/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/60/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/61/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/61/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/62/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/62/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/63/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/63/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/64/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/64/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/65/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/65/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/66/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/66/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/67/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/67/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/68/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/68/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/69/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/69/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/70/end.crt30
-rw-r--r--src/tests/data/x509/pss_certs/70/root.crt32
-rw-r--r--src/tests/data/x509/pss_certs/71/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/71/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/72/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/72/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/73/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/73/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/74/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/74/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/75/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/75/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/76/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/76/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/77/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/77/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/78/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/78/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/79/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/79/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/80/end.crt26
-rw-r--r--src/tests/data/x509/pss_certs/80/root.crt29
-rw-r--r--src/tests/data/x509/pss_certs/81/end.crt32
-rw-r--r--src/tests/data/x509/pss_certs/81/root.crt36
-rw-r--r--src/tests/data/x509/pss_certs/82/end.crt40
-rw-r--r--src/tests/data/x509/pss_certs/83/end.crt24
-rw-r--r--src/tests/data/x509/pss_certs/84/end.crt42
-rw-r--r--src/tests/data/x509/pss_certs/85/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/86/end.crt33
-rw-r--r--src/tests/data/x509/pss_certs/87/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/88/end.crt35
-rw-r--r--src/tests/data/x509/pss_certs/89/end.crt37
-rw-r--r--src/tests/data/x509/pss_certs/90/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/91/end.crt42
-rw-r--r--src/tests/data/x509/pss_certs/92/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/93/end.crt41
-rw-r--r--src/tests/data/x509/pss_certs/94/end.crt36
-rw-r--r--src/tests/data/x509/pss_certs/95/end.crt29
-rw-r--r--src/tests/data/x509/pss_certs/96/end.crtbin0 -> 1270 bytes
-rw-r--r--src/tests/data/x509/pss_certs/97/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/97/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/97/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/98/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/98/end.crt20
-rw-r--r--src/tests/data/x509/pss_certs/98/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/99/README.txt1
-rw-r--r--src/tests/data/x509/pss_certs/99/end.crt19
-rw-r--r--src/tests/data/x509/pss_certs/99/root.crt21
-rw-r--r--src/tests/data/x509/pss_certs/Sources.txt6
-rw-r--r--src/tests/data/x509/pss_certs/expected.txt118
-rw-r--r--src/tests/data/x509/pss_certs/validation_times.txt118
230 files changed, 6850 insertions, 0 deletions
diff --git a/src/tests/data/x509/pss_certs/01/README.txt b/src/tests/data/x509/pss_certs/01/README.txt
new file mode 100644
index 000000000..300dbea58
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/01/README.txt
@@ -0,0 +1 @@
+default params \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/01/end.crt b/src/tests/data/x509/pss_certs/01/end.crt
new file mode 100644
index 000000000..017738f90
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/01/end.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIEvDCCA3OgAwIBAgICEAEwPgYJKoZIhvcNAQEKMDGgCzAJBgUrDgMCGgUAoRgw
+FgYJKoZIhvcNAQEIMAkGBSsOAwIaBQCiAwIBFKMDAgEBMIGzMQswCQYDVQQGE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A1Ud
+IwQYMBaAFN8f4gGiPvT5afg6x5bWmQ0vts4zMD4GCSqGSIb3DQEBCjAxoAswCQYF
+Kw4DAhoFAKEYMBYGCSqGSIb3DQEBCDAJBgUrDgMCGgUAogMCARSjAwIBAQOCAQEA
+rO3xdxs9GkamZwXImt+wRWwYs+MpPEVFyMFq5CY2gmbuKKNb/x15MxmXg6ic9VzM
+SC/flOVlcN+4e305FApeR4yhkf5oYC5b52jXsD2Vozt7jELeXFdiw3Ylfe1G1vcZ
+vVSHngekonYIVFxMw0IXiEVphwX7SmfjTjgzhN0n+1LOppdktpbx69Yv66Yr6K2a
+8joa1Sguz1LJmzwDUtAaVQkZv7W3O41GpRSXk5Kahv5DgeN/1U+caHiNLK9tKfNE
+xD0kXtALc/VKdhsOTrv6i2X/HopFPwEifSPxwp32KePtnb93Ueqkc3jFMm0lxvy2
+Hgwyk/rtCq5eH32tODWomw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/01/root.crt b/src/tests/data/x509/pss_certs/01/root.crt
new file mode 100644
index 000000000..bc0d14590
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/01/root.crt
@@ -0,0 +1,31 @@
+-----BEGIN CERTIFICATE-----
+MIIFazCCBCKgAwIBAgIJAKmJV6cI/tYpMD4GCSqGSIb3DQEBCjAxoAswCQYFKw4D
+AhoFAKEYMBYGCSqGSIb3DQEBCDAJBgUrDgMCGgUAogMCARSjAwIBATCBszELMAkG
+A1UEBhMCREUxDzANBgNVBAgTBkhlc3NlbjESMBAGA1UEBxMJRnJhbmtmdXJ0MR4w
+HAYDVQQKExVQU1MgdGVzdCBjZXJ0aWZpY2F0ZXMxOTA3BgNVBAsTMGNyZWF0ZWQg
+YnkgTWFydGluIEthaXNlciAoaHR0cDovL3d3dy5rYWlzZXIuY3gvKTEkMCIGA1UE
+AxMbUFNTIHRlc3RSb290IENBIENlcnRpZmljYXRlMB4XDTEwMDcxMzE5NTc1NVoX
+DTE2MDEwMzE5NTc1N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wEB/zA+BgkqhkiG9w0BAQowMaALMAkGBSsOAwIaBQChGDAWBgkqhkiG
+9w0BAQgwCQYFKw4DAhoFAKIDAgEUowMCAQEDggEBAJ8GcFT/Jdhz65JK0c9EFdAq
+8FKa9VWX7QDQlIuu0UbZaHYaFmY1NbXcxlvTOD1ArByCHpFQ8+wrXgLrxedlm/fI
+9WkvFsyvC1kSeV88C90E3mh+w9i2Qsz0Gjj2RjD98cPsqqQO7q/7uvKNcHMN5nKi
+VuIPMr5fisx0C/IBQAunBfzBfdGmjoNaahDBYCKiyAaU7A+dYorRbMJF7SxBhTr1
+WI/N3LlBKLF5mvtDYg7sXx6ULR/xAKKkVeUTIgGMYq/s46ZMP11QrfRHx4zNAwP9
+aARZeUz1X0/LM6LgaQvVIhZqbyB637eZhusOP3226TDn7hGx/UdS0UxSwfjrzS8=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/02/README.txt b/src/tests/data/x509/pss_certs/02/README.txt
new file mode 100644
index 000000000..ec0a7e431
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/02/README.txt
@@ -0,0 +1 @@
+empty params
diff --git a/src/tests/data/x509/pss_certs/02/end.crt b/src/tests/data/x509/pss_certs/02/end.crt
new file mode 100644
index 000000000..b94b89126
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/02/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEWjCCA0KgAwIBAgICEAEwDQYJKoZIhvcNAQEKMAAwgbMxCzAJBgNVBAYTAkRF
+MQ8wDQYDVQQIEwZIZXNzZW4xEjAQBgNVBAcTCUZyYW5rZnVydDEeMBwGA1UEChMV
+UFNTIHRlc3QgY2VydGlmaWNhdGVzMTkwNwYDVQQLEzBjcmVhdGVkIGJ5IE1hcnRp
+biBLYWlzZXIgKGh0dHA6Ly93d3cua2Fpc2VyLmN4LykxJDAiBgNVBAMTG1BTUyB0
+ZXN0Um9vdCBDQSBDZXJ0aWZpY2F0ZTAeFw0x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2GS+JaSmk/1CE23BA6Cn
+bNejFoWaL4RVmifQsqw44vnI+tFvlO3H4JVgkaezt6RpPpz+kzY3mEqCsisgfGrE
+QrITP7+uiqilzOn/jsovQJDAsZSSIHlGkwrkqJd2SjIawpoPwLQ6DZrmCBc8A2t4
+2n4EHJ7mVPcwMUJ5Oyk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/02/root.crt b/src/tests/data/x509/pss_certs/02/root.crt
new file mode 100644
index 000000000..f069139d3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/02/root.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIFCTCCA/GgAwIBAgIJALCOVlO1QTu1MA0GCSqGSIb3DQEBCjAAMIGzMQswCQYD
+VQQGEwJERTEPMA0GA1UECBMGSGVzc2VuMRIwEAYDVQQHEwlGcmFua2Z1cnQxHjAc
+BgNVBAoTFVBTUyB0ZXN0IGNlcnRpZmljYXRlczE5MDcGA1UECxMwY3JlYXRlZCBi
+eSBNYXJ0aW4gS2Fpc2VyIChodHRwOi8vd3d3LmthaXNlci5jeC8pMSQwIgYDVQQD
+ExtQU1MgdGVzdFJvb3QgQ0EgQ2VydGlmaWNhdGUwHhcNMTAwNzEzMTk1NjAzWhcN
+MTYwMTAzMTk1NjAzWjCBszELMAkGA1UEBhMCREUxDzANBgNVBAgTBkhlc3NlbjES
+MBAGA1UEBxMJRnJhbmtmdXJ0MR4wHAYDVQQKExVQU1MgdGVzdCBjZXJ0aWZpY2F0
+ZXMxOTA3BgNVBAsTMGNyZWF0ZWQgYnkgTWFydGluIEthaXNlciAoaHR0cDovL3d3
+dy5rYWlzZXIuY3gvKTEkMCIGA1UEAxMbUFNTIHRlc3RSb290IENBIENlcnRpZmlj
+YXRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2haEKyn8mtVODAPA
+EMV9VlNm+HPBh+Mve5nPoU4PZ198E2JQ1llvXbDWmhuKzn/ZyB2janx/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END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/03/end.crt b/src/tests/data/x509/pss_certs/03/end.crt
new file mode 100644
index 000000000..f6298057d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/03/end.crt
@@ -0,0 +1,53 @@
+-----BEGIN CERTIFICATE-----
+MIIErDCCA2CgAwIBAgIGAVyhUN7SMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
+BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
+VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
+bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
+bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMGoxETAPBgNVBAMM
+CFBTUy1DZXJ0MRQwEgYDVQQLDAtCb3Rhbi1UZXN0czEOMAwGA1UECgwFQm90YW4x
+DzANBgNVBAcMBkJvY2h1bTEMMAoGA1UECAwDTlJXMRAwDgYDVQQGEwdHZXJtYW55
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAodW01rU/fvHj0hzb/BbR
+uB+XW+Hu63eVygItU8qP7XJc4DSMW+uCy8BAMQ1/V+fAiKC343tTooGItmXcGrq5
+UcR9OROv5iyb5JVnwOx6Q0AZKM92ySBMuysh2TQwhuOMfPylwTC5ufOrk+Lt7KgJ
+PKPe8MTFkG5OUOhwZudcYTijE6FFSMJ0AfSlQw/BsIG1Vs55dOrsqHjHtrmpehnm
+NeET39j7nm6QZjJ2tVZr++rpy2mz5FJ7aiIxwER7Zy6QNojvAUiOj0A9LlTwZGZS
+fc3mfST4HJfiriI5zC4RrwtdJ/xwgLS5Z3Mr67afguVkAsPk7mb8q2FkqKn79M4T
+dQIDAQABo4HvMIHsMA4GA1UdDwEB/w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7gkAu
+uUwlnybtBTF7J2aDoA/M+vN6AkuWlJUc3A5TnsKQE1KkLmENp8ofD8UgUZjlQP8H
+JBQ7YnPzdpCdh1yI1uOn6rxYkFq5BR+Wqj6wI9oYMTPSiZFhTnC1zYC1wJuJRR70
+imkMHZsJ3Ov4vMCBfnkf7ONte/HUcc14VW8q/vmiGONfER/JXm1D+bJHwZGBerHC
+4s369aikQMYGi3mav6GIUQOPrnPCQpOmocl0QsG/QTcKJot1K4kDR3uwAsOy
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/03/root.crt b/src/tests/data/x509/pss_certs/03/root.crt
new file mode 100644
index 000000000..deb03ade9
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/03/root.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEeTCCAy2gAwIBAgIGAVygrFzUMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
+BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
+VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
+bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
+bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMGgxDzANBgNVBAMM
+BlBTUy1DQTEUMBIGA1UECwwLQm90YW4tVGVzdHMxDjAMBgNVBAoMBUJvdGFuMQ8w
+DQYDVQQHDAZCb2NodW0xDDAKBgNVBAgMA05SVzEQMA4GA1UEBhMHR2VybWFueTCC
+ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKZpazi/xuB2EDdsNCln3XAz
+njxyuwsGetZ4PK9OfEoxaDznFIv8Ll/MV2nO8tG5BiUzxw1KbfOFJOFKFaT1r7Y6
+/ipzOEAN+0ixx8c2PQWTs5oc1k4yJmhf8UpWHmqfyH4dXNqgJG2n3+3m8pK4D/G2
+ciE+fPaSHpJF1I0lQ+g+zKHoq2J1HR0KOz6hQBMSOxNe557GGecgKPwsnI7cJMFS
+CRUtA3njIhxcPNMix332NLz6Hi3H5TxPA+o3Y/Demfs/quauM3hb7M/DyLZ9k3no
+IUsQiSCZC8JyUkHTJAoRlL5FHPWP4CkKQ7CBF8evaiVm/RBZfI2CZ1ygTXaNOW8C
+AwEAAaOBvjCBuzAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zCBlwYD
+VR0jBIGPMIGMgBR55YocDXsws/9PkHw3jSYzxx1JTqFspGowaDEPMA0GA1UEAwwG
+UFNTLUNBMRQwEgYDVQQLDAtCb3Rhbi1UZXN0czEOMAwGA1UECgwFQm90YW4xDzAN
+BgNVBAcMBkJvY2h1bTEMMAoGA1UECAwDTlJXMRAwDgYDVQQGEwdHZXJtYW55ggYB
+XKCsXNQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3
+DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBAQAtcKFeatctcgDoJdx5nPK5JLrp
+cQL09M1DEDvmw+qlo9z9hUI60cD8r351jMQ2aMV+ba0NT/El2P7WWumRpW+7gkAu
+uUwlnybtBTF7J2aDoA/M+vN6AkuWlJUc3A5TnsKQE1KkLmENp8ofD8UgUZjlQP8H
+JBQ7YnPzdpCdh1yI1uOn6rxYkFq5BR+Wqj6wI9oYMTPSiZFhTnC1zYC1wJuJRR70
+imkMHZsJ3Ov4vMCBfnkf7ONte/HUcc14VW8q/vmiGONfER/JXm1D+bJHwZGBerHC
+4s369aikQMYGi3mav6GIUQOPrnPCQpOmocl0QsG/QTcKJot1K4kDR3uwAsOy
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/04/end.crt b/src/tests/data/x509/pss_certs/04/end.crt
new file mode 100644
index 000000000..b4269b27f
--- /dev/null
+++ b/src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R+Wqj6wI9oYMTPSiZFhTnC1zYC1wJuJRR70
+imkMHZsJ3Ov4vMCBfnkf7ONte/HUcc14VW8q/vmiGONfER/JXm1D+bJHwZGBerHC
+4s369aikQMYGi3mav6GIUQOPrnPCQpOmocl0QsG/QTcKJot1K4kDR3uwAsOy
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/04/root.crt b/src/tests/data/x509/pss_certs/04/root.crt
new file mode 100644
index 000000000..deb03ade9
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/04/root.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEeTCCAy2gAwIBAgIGAVygrFzUMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
+BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
+VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
+bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
+bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMGgxDzANBgNVBAMM
+BlBTUy1DQTEUMBIGA1UECwwLQm90YW4tVGVzdHMxDjAMBgNVBAoMBUJvdGFuMQ8w
+DQYDVQQHDAZCb2NodW0xDDAKBgNVBAgMA05SVzEQMA4GA1UEBhMHR2VybWFueTCC
+ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKZpazi/xuB2EDdsNCln3XAz
+njxyuwsGetZ4PK9OfEoxaDznFIv8Ll/MV2nO8tG5BiUzxw1KbfOFJOFKFaT1r7Y6
+/ipzOEAN+0ixx8c2PQWTs5oc1k4yJmhf8UpWHmqfyH4dXNqgJG2n3+3m8pK4D/G2
+ciE+fPaSHpJF1I0lQ+g+zKHoq2J1HR0KOz6hQBMSOxNe557GGecgKPwsnI7cJMFS
+CRUtA3njIhxcPNMix332NLz6Hi3H5TxPA+o3Y/Demfs/quauM3hb7M/DyLZ9k3no
+IUsQiSCZC8JyUkHTJAoRlL5FHPWP4CkKQ7CBF8evaiVm/RBZfI2CZ1ygTXaNOW8C
+AwEAAaOBvjCBuzAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zCBlwYD
+VR0jBIGPMIGMgBR55YocDXsws/9PkHw3jSYzxx1JTqFspGowaDEPMA0GA1UEAwwG
+UFNTLUNBMRQwEgYDVQQLDAtCb3Rhbi1UZXN0czEOMAwGA1UECgwFQm90YW4xDzAN
+BgNVBAcMBkJvY2h1bTEMMAoGA1UECAwDTlJXMRAwDgYDVQQGEwdHZXJtYW55ggYB
+XKCsXNQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3
+DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBAQAtcKFeatctcgDoJdx5nPK5JLrp
+cQL09M1DEDvmw+qlo9z9hUI60cD8r351jMQ2aMV+ba0NT/El2P7WWumRpW+7gkAu
+uUwlnybtBTF7J2aDoA/M+vN6AkuWlJUc3A5TnsKQE1KkLmENp8ofD8UgUZjlQP8H
+JBQ7YnPzdpCdh1yI1uOn6rxYkFq5BR+Wqj6wI9oYMTPSiZFhTnC1zYC1wJuJRR70
+imkMHZsJ3Ov4vMCBfnkf7ONte/HUcc14VW8q/vmiGONfER/JXm1D+bJHwZGBerHC
+4s369aikQMYGi3mav6GIUQOPrnPCQpOmocl0QsG/QTcKJot1K4kDR3uwAsOy
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/05/end.crt b/src/tests/data/x509/pss_certs/05/end.crt
new file mode 100644
index 000000000..f47043633
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/05/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGNjCCA+qgAwIBAgIIA3YyOyA0LO4wQQYJKoZIhvcNA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GSju/pBymRfgw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/05/root.crt b/src/tests/data/x509/pss_certs/05/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/05/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTAyNzEyMzIxNloXDTI0
+MDMxOTEyMzIxNlowTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC4cSXeMAuvtH1wVcrG3cZu/joz
+kRWaCwnVM1NcnZpCjfdaVftSvvSlxMZHT0fPpTZswsmCdR4yrHe7d4Z6lj+Y8+Uw
+rT6qpSRcDDJFW7mDNYj/iELyeBu1mwphaTwsNE2Gr8ZOV1LvMQjxBe4T+kaIUiRZ
+KZWsKajgo1Ipg9ROg+7eTWp0WE7AZstGfqcxAyU9MrxtqRW4KIKCfIbW6NeyWvVj
+FTYwFRsU0DjHYwyW2VY+oyDV8KtYNE0FkHH0uI6ygF6ohDntRjqDw2QZrHX8/SPj
+vEIOxVG3pEK6nWr/9yqTahwJycGsqPGmsLxAXrzF9FZxfWF+W8mT4XJc2GxqaVYQ
+00BY9SsrSyT5aXlZAAfNYlBbAX4lO2vY2r4j3qmubkfwjJY5wlxUZVoLlhlRogL1
+UR9cFgPrZhAx0P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tL1Fq2y+5TE53+d9ksv/lFZmgMhEb6mKs+mOW1a01+AG9LCv30L1I8
+3o0r3Wq5aDksKr8NNQgDvcMfgdK0UZYlhTpoPfrU7tqQR7NHgFmkHWgNd+TtYO+1
+GBgqQLK5j/g4VOqq17BaTMvIrL6lEG8o8t7hPGkCeeDdg3pHVm0OwcNjAi2l2jJl
+D1NUAnkmLV4ZiY7ifLHUuceQOklUCZ0tgSvpeIvebvqdi6H5OLAXRk9nhh57xgIS
+VNEmupANRQclCgg3aapz359/0c2cgawzdrmRzRwsXZERxya+7QKw5UwQc44P7ouW
+MQEVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/06/end.crt b/src/tests/data/x509/pss_certs/06/end.crt
new file mode 100644
index 000000000..b6824290c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/06/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGNjCCA+qgAwIBAgIIS0EslWJVqbgwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTEwNTE0MzY1OVoXDTIx
+MTAxMDE0MzY1OVowczEjMCEGA1UEAwwaU3dlZGlzaCBSUCBEb2N1bWVudCBTaWdu
+ZXIxCzAJBgNVB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vcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEB
+CDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQBOUd1lP/h6XEAcHGieL7l5mMfoxVlx
+H3XiLz7CnjFrSiBvYA3vyB/XfiLV0PTjIrHcJjPpDTSUDt/cPdMOFDemjKZPsdZA
+iCkZ0Jfo0BUZGLsx+cZVIRuIEssKqRlOC1g3AayqXujEWzEz2kDJDYAJPdM45HVk
+W0275hCtFVZO8rKiqTZsrWjUSG/AtWtoTCoKDfObtdXTODaJUiBCA0/KRXjhlGDU
+7F+FaODtzkwU6BQPCR1QNZMb0W8AKvKVc3DI7SurTZzIz/kid7Z7aTIn7tj8uzNp
+8RIwdcnGpFaVAym+bpZOMV3cOQN9wLYLuZQFvFi0u8WsicwMNrOQq/HcoGjmHpZE
+86cSh87Yy8nCBWGFM1BTpEwJbbgbi/BsGx49l2HzdOkxmCf0ZjFnvzaluRSVItTx
+iCPdyAQTHvqjV+WOzbPxIBfr11OF81D98UNEvwBW5X+EzOqFFpvZy+OXczj2LPAV
+x1FkdvcFmcdzoNCtlAFTdG7tw2FJBEHnqG5t9JBZx/d7VlTbaFAOx8AWUYiJDJyL
+jXRhFK+DRWIt3Umd0DEYvaz7ftN5WHOy3TnLJEeJyxv2Ir8obDnHItBM85DXJD1F
+9A2tQ7qnBqu6MKuiAlPe/K64+KppmtiJq9TgAjY/f1cLc1VjXv+gHSI81FHmx0Eu
+COEg9Dyzi5TSkQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/06/root.crt b/src/tests/data/x509/pss_certs/06/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/06/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBgl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2cgawzdrmRzRwsXZERxya+7QKw5UwQc44P7ouW
+MQEVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/07/end.crt b/src/tests/data/x509/pss_certs/07/end.crt
new file mode 100644
index 000000000..b27704edd
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/07/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGPDCCA/CgAwIBAgIIL/52TY28sFswQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTEwNTE0NTMzMVoXDTIx
+MTAxMDE0NTMzMVoweTEpMCcGA1UEAwwgU3dlZGlzaCBQYXNzcG9ydCBEb2N1bWVu
+dCBTaWduZXIxCzAJBgNVBAUTAjQ4MRgwFgYDVQQLDA9BQiBTdmVuc2thIFBhc3Mx
+GDAWBgNVBAoMD0FCIFN2ZW5za2EgUGFzczELMAkGA1UEBhMCU0UwggEiMA0GCSqG
+SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCwZXpCxwAfncfl0VZqA2jOqtX40x4VprVY
+Di05wXD3CbRvRkYPLGz1BSjc2fV+1i/9f4jn8GmIUh9cxz/y3fk23MRtyswYn1AM
+mIxfek4xQOgtjGimTgqRWsnUAHteCF8a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YVbipxCTQMeCQIaAsJd/1tRLU0VNw1xVqc
+Q6ahIn7pTctKCAuIRvVlA1le2ZY2a8OUtecipOvB5uXYX23kJloeqatTdIkHp+yl
+lSjeD/EOB5Z/fsf+/0EqxPWXbMdi5wVaXPDaWTFgqoHy6u8/NGp2BOLOiAkjwwfl
+QZQmaTqojkQm6fbcelvtDWRFrwyuseVuXE3dJEXIjW9DDNwJ9wlroQSeZCCzvJKl
+5JV2mneLBhVHYJ7zuaWe8kfnNRalDE2ZXiFmNLxhVRlNZYSe7FOXuqjQYrQRwvTx
+naFkMfDU50f1YS1oiW8QYI59qNaDIzWpLaDg4K6OxtDWXnA0I88bZOsdK8Spunrp
+IUmuPWKNNo8cKc+yPe/AQgwveNYqG5AfJ53eY4D/rSxxnrQy9lb5bLhLV+nc0Dgd
+EYs5hOI6MkfI5iWiol8B1KSU3rCkoZcb8LxN7DH++juRIiK//bBsJbV9++dNuW1e
+roo9RE/mjjWU4QpA831rHA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/07/root.crt b/src/tests/data/x509/pss_certs/07/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/07/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTAyNzEyMzIxNloXDTI0
+MDMxOTEyMzIxNlowTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMA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----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/08/end.crt b/src/tests/data/x509/pss_certs/08/end.crt
new file mode 100644
index 000000000..c75b64a57
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/08/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGNjCCA+qgAwIBAgIIc3BzihYzDiowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTEwNTE0MzQ1MFoXDTIx
+MDcxOTE0MzQ1MFowczEjMCEGA1UEAwwaU3dlZGlzaCBSUCBEb2N1bWVudCBTaWdu
+ZXIxCzAJBgNVBAUTAjI2MRgwFgYDVQQLDA9BQiBTdmVuc2thIFBhc3MxGDAWBgNV
+BAoMD0FCIFN2ZW5za2EgUGFzczELMAkGA1UEBhMCU0UwggEiMA0GCSqGSIb3DQEB
+AQUAA4IBDwAwggEKAoIBAQCdJplcoOXHyN1tbCHAhBj0UXgqp7ZHooP9KEVCI9SJ
+S32BEGfMbAxKwX1EcF9oiqAomQmGma/9u2GD/peYtb3tCyQhJZHjITOvO1EK1JzW
+7ZoeRUi/gbnmjoL5sVCHI8nh7sWtA7kdZ4K1f4xyBZlvFSude6miNO9LU3Y9PdR2
+8OiAd19fU79fEMnJBeVkkCrB4WtT3C2Cv8mjOETlpNZD1x8fGJ0jbWXpPhU0N1Cm
+lJMJPs6xQd8xVFW6zkqNu8Gcchlw1ieqD3GkUD6FUBYz93cPY5k+SanmvF7CfU5H
+FCs7lOf+mfkvJemu1zW7DiMoKpV8YDTWcON/Cw46YudxAgMBAAGjggGIMIIBhDAO
+BgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFI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3CuV3FSv8b4YN2Uvqlc/iB
+diZLtUYKxOsp0cSJC5JkgD0eMn//6hspeUz4CPF0gbWhlQE3KJUl21BIs2i6kpEW
+8p/48xV7AeX6uXZmAsSt5vJyo3BtEN1Q4O1OaMHnE4gugN7o4MShoh1Z1qALbYQQ
+Askm0AwaM5AI8GTCzZvqj4FaDOKXADEi3aeSNw8HrjiA0OeyVMRDLIjFzKxiWU3i
+FoQMt3DImAKF1w==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/08/root.crt b/src/tests/data/x509/pss_certs/08/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/08/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTAyNzEyMzIxNloXDTI0
+MDMxOTEyMzIxNlowTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC4cSXeMAuvtH1wVcrG3cZu/joz
+kRWaCwnVM1NcnZpCjfdaVftSvvSlxMZHT0fPpTZswsmCdR4yrHe7d4Z6lj+Y8+Uw
+rT6qpSRcDDJFW7mDNYj/iELyeBu1mwphaTwsNE2Gr8ZOV1LvMQjxBe4T+kaIUiRZ
+KZWsKajgo1Ipg9ROg+7eTWp0WE7AZstGfqcxAyU9MrxtqRW4KIKCfIb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DQEBCjA0oA8wDQYJ
+YIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOC
+AgEAFLPYUFm8KT6VfrcyeoyszYaf0xZYk8TALErw1kCbS/sJR9x3kkQ6gxL0RNtX
+Xnc94+SBJQU7Y8jFJiKlPkCLhLVefaaDxRGD0QEkYmGmVHKxMq2oagverzypcz9O
+K0x39uskzGtL1Fq2y+5TE53+d9ksv/lFZmgMhEb6mKs+mOW1a01+AG9LCv30L1I8
+3o0r3Wq5aDksKr8NNQgDvcMfgdK0UZYlhTpoPfrU7tqQR7NHgFmkHWgNd+TtYO+1
+GBgqQLK5j/g4VOqq17BaTMvIrL6lEG8o8t7hPGkCeeDdg3pHVm0OwcNjAi2l2jJl
+D1NUAnkmLV4ZiY7ifLHUuceQOklUCZ0tgSvpeIvebvqdi6H5OLAXRk9nhh57xgIS
+VNEmupANRQclCgg3aapz359/0c2cgawzdrmRzRwsXZERxya+7QKw5UwQc44P7ouW
+MQEVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/09/end.crt b/src/tests/data/x509/pss_certs/09/end.crt
new file mode 100644
index 000000000..b0c5df2bd
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/09/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGPDCCA/CgAwIBAgIIU9yG3gmH3P8wQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEF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pss_certs/09/root.crt b/src/tests/data/x509/pss_certs/09/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/09/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTAyNzEyMzIxNloXDTI0
+MDMxOTEyMzIxNlowTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC4cSXeMAuvtH1wVcrG3cZu/joz
+kRWaCwnVM1NcnZpCjfdaVftSvvSlxMZHT0fPpTZswsmCdR4yrHe7d4Z6lj+Y8+Uw
+rT6qpSRcDDJFW7mDNYj/iELyeBu1mwphaTwsNE2Gr8ZOV1LvMQjxBe4T+kaIUiRZ
+KZWsKajgo1Ipg9ROg+7eTWp0WE7AZstGfqcxAyU9MrxtqRW4KIKCfIbW6NeyWvVj
+FTYwFRsU0DjHYwyW2VY+oyDV8KtYNE0FkHH0uI6ygF6ohDntRjqDw2QZrHX8/SPj
+vEIOxVG3pEK6nWr/9yqTahwJycGsqPGmsLxAXrzF9FZxfWF+W8mT4XJc2GxqaVYQ
+00BY9SsrSyT5aXlZAAfNYlBbAX4lO2vY2r4j3qmubkfwjJY5wlxUZVoLlhlRogL1
+UR9cFgPrZhAx0PT7lf2ZwohVqKFpyjHmpszFvxQi0Q/QxPjUEfQQIKbAgR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LCv30L1I8
+3o0r3Wq5aDksKr8NNQgDvcMfgdK0UZYlhTpoPfrU7tqQR7NHgFmkHWgNd+TtYO+1
+GBgqQLK5j/g4VOqq17BaTMvIrL6lEG8o8t7hPGkCeeDdg3pHVm0OwcNjAi2l2jJl
+D1NUAnkmLV4ZiY7ifLHUuceQOklUCZ0tgSvpeIvebvqdi6H5OLAXRk9nhh57xgIS
+VNEmupANRQclCgg3aapz359/0c2cgawzdrmRzRwsXZERxya+7QKw5UwQc44P7ouW
+MQEVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/10/end.crt b/src/tests/data/x509/pss_certs/10/end.crt
new file mode 100644
index 000000000..916ab1999
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/10/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGPDCCA/CgAwIBAgIIJ970GrM5mAcwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE1MTEwNTE0NTE0NFoXDTIx
+MDcxOTE0NTE0NFoweTEpMCcGA1UEAwwgU3dlZGlzaCBQYXNzcG9ydCBEb2N1bWVu
+dCBTaWduZXIxCzAJBgNVBAUTAjQ3MRgwFgYDVQQLDA9BQiBTdmVuc2thI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qG
+SIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQCifvZBxGhbsWVer+Ki6q/m
+LqzGDj4zD0LLWEmUfsBaSLbFHps2bpqv8+jtVkoRH+k/XdKEctmfibe5KAG9t0IO
+Fww5FdoRirSX0HaiN2B3MQTzkVzOmmUPZx+xtpU9Ivq8a9b3oYHLGSylXw6wM8iU
+jNWnpWyRwWRYMaDBdus0dZrVst0VnKZ0p8/P49RhRmx36QJhJZaBvue+/YQQPdJa
+Bp5N+jaLzZh9mVSG/sTwUIi0JjDCpx2ZtGf9jggvy8tBTlrywPd5PFZ3r00vI1W7
+LgEZDJ5wKyaqN2UP47A+oIqF5yAwiLFrzojfOpAAFQp7RSQgaLSSw+R82yFWJkbK
+ElMe30ED6EsswkOqwC4+4ajo4nXZyxDmgFHCO67lcw7V4Pptyq3zGL0AZJWwhlbq
+DyLYGztUJHA/bmIUhZ+U/4TeFT3bbxpOVDeSqldoeBcbjcNDE8xF1aYmpDZX8K9H
+vdsNqh4OjTDuq0rkNPPUEimwwLfvaEAFh7ndm+CokyBCD4IyF48tvg3kvLBIUuUG
+3Y7BLMZQgTYGyMkWJ6dnSO3MXM3HDGlDmX4Yql5e4ATsrdhGnXkurrotGW6USr4S
+l3ydOYrTIWLKTRnyvSicukIbtf+ZGs5AwoZEJ6IQyqAE4WOiPi9IcXX4IEHjTuk4
++QtoggW5ZANydMjfZsSo0Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/10/root.crt b/src/tests/data/x509/pss_certs/10/root.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/10/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgowQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMG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EVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/100/end.crt b/src/tests/data/x509/pss_certs/100/end.crt
new file mode 100644
index 000000000..4ce5c8732
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/100/end.crt
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDBjCCAe6gAwIBAgIBSDANBgkqhkiG9w0BAQowADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTQwNjA1MTU1NjUzWhcNMjQwNjAyMTU1NjUzWjA0MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxEjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0B
+AQEFAAOBjQAwgYkCgYEA3RGKn5m6sGjKKuo7am1Zl+1OyVTkDe7OoH2gHqroDsK7
+E0DbihKOiRMkpcX1+tj1kNfIysvF/pMdr9oSI3NSeUYauqBXK3YWMbOor+c4mwiL
+Y5k6CiXuRdIYWLq5kxrt1FiaYxs3/PcUCJ+FZUnzWTJt0eDobd5S7Wa0qQvaQJUC
+AwEAAaOBnzCBnDAJBgNVHRMEAjAAMB0GA1UdDgQWBBTu88f1HxWlTUeJwdMiY7Lf
+p869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0wOzELMAkG
+A1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBU
+ZXN0IENBggEAMAsGA1UdDwQEAwIFoDANBgkqhkiG9w0BAQowAAOCAQEAGUdim4uy
+/rBDFMF8qhjH1qsv0o8ON4HgP3YXbdKdIMfd+p5KtoqHQnrkixWxaIvfORnR4mGm
+f8H5BimwIkNLxy7zS88TVDOYel8g7B2yl0nq4biki83NStNBYZJjxKT0ud5O5mGd
+jHdy9vTEc7h8q+SHzRdgpNFXyKY5OQYng1LHco8h1UR8/nmPMuDtocHMnmMXu68a
+69+TtZxx90/V4gJZOoL1iCi8HEsKoJzm/L8ji54OYt7FxgFfE3VmLsXeMaWYO8GS
+BUxh5kqZ25O8hQXK5ywfuVK83Do/SsoClbgx9mboybseGVFIJaxs9e66GFDMoI3B
+09JqWv4DoLNnwg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/100/root.crt b/src/tests/data/x509/pss_certs/100/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/100/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/101/end.crt b/src/tests/data/x509/pss_certs/101/end.crt
new file mode 100644
index 000000000..1b05f313a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/101/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBFzA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCBKEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgSiBAICAOIwOzELMAkGA1UEBhMC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-----
diff --git a/src/tests/data/x509/pss_certs/101/root.crt b/src/tests/data/x509/pss_certs/101/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/101/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/102/end.crt b/src/tests/data/x509/pss_certs/102/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/102/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/102/root.crt b/src/tests/data/x509/pss_certs/102/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/102/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMI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t b/src/tests/data/x509/pss_certs/103/end.crt
new file mode 100644
index 000000000..aaa63e6ed
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/103/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGTA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAqEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgKiBAICAM4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc1OFoXDTI0MDExODEzNTc1OFowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAqEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgKiBAICAM4DggEBABf8Gyq2VYuN1EBW1nOapDQp
+B/KuafNW2GEJ7FmQKNyA7MIj1Yqo2MtJ6/OQojRQ3F5rnO4yjmvIPsXeQaMxJBiI
+aaoAlLpH++F+oXMq/0aS0WSZrSLrsh2Fpay9cBDGwek2rDOX9kM+ZcPzGitVwWKX
+TnOW22hpcl7u95CpZH+JZTcto5nL3tTyV9pIy+tSKQQfjPB+G0TAZCsOkbCGPLug
+qdjvqFQwOf15VxQMj7NRiXjlqJvsx+I7B2AIhrs4DzQMEyiWq9S/PzpQuFU5v/Kg
+s2iMLJ5ygv5aN3PYqGlE1ZmvgyRp5h/LaTGI2L6lzRTnecOhtPv30N2tyaDAEfo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/103/root.crt b/src/tests/data/x509/pss_certs/103/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/103/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/104/end.crt b/src/tests/data/x509/pss_certs/104/end.crt
new file mode 100644
index 000000000..a211b921d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/104/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGjA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCA6Ea
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgOiBAICAL4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTgxMloXDTI0MDExODEzNTgxMlowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCA6EaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgOiBAICAL4DggEBACdVozFq6rUiXo+ib5Y2oPsR
+6xxl4Ydn3LpUoYrPpTOrhcXJWW/tOLHGuCF/mSRfUzKaMIfL418cZHYnvumvuttu
+6z3tp5E1VsiZCU2MWJnzjKSxFBOss43AmpJHHoapGFZu2pxObBPqegAKHYkKWOLk
+tJDj47PurWgEek9j1nL7Pc1tVf59fm/ySp4fWkXLLvQiKid1516VioLyacUvK3zU
+6Egz8jMt7D5c9KpaExLRTANVsThqO5/dmR36bOwm3Hpbde7DNdgxru41tiLMqJs/
+5pX3ceaJ1XQ/l0idj5/9ipvqHHUguyk7H22HwQHQdSD9oIha8kEM3P6CjpfE7yY=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/104/root.crt b/src/tests/data/x509/pss_certs/104/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/104/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----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+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/105/end.crt b/src/tests/data/x509/pss_certs/105/end.crt
new file mode 100644
index 000000000..a6f9fbc76
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/105/end.crt
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDBTCCAeegAwIBAgIBFjATBgkqhkiG9w0BAQowBqIEAgIA6jA7MQswCQYDVQQG
+EwJOTDERMA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3Qg
+Q0EwHhcNMTQwMTIwMTMzODE2WhcNMjQwMTE4MTMzODE2WjA0MQswCQYDVQQGEwJO
+TDERMA8GA1UEChMIUG9sYXJTU0wxEjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkq
+hkiG9w0BAQEFAAOBjQAwgYkCgYEA3RGKn5m6sGjKKuo7am1Zl+1OyVTkDe7OoH2g
+HqroDsK7E0DbihKOiRMkpcX1+tj1kNfIysvF/pMdr9oSI3NSeUYauqBXK3YWMbOo
+r+c4mwiLY5k6CiXuRdIYWLq5kxrt1FiaYxs3/PcUCJ+FZUnzWTJt0eDobd5S7Wa0
+qQvaQJUCAwEAAaOBkjCBjzAJBgNVHRMEAjAAMB0GA1UdDgQWBBTu88f1HxWlTUeJ
+wdMiY7Lfp869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0w
+OzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xh
+clNTTCBUZXN0IENBggEAMBMGCSqGSIb3DQEBCjAGogQCAgDqA4IBAQDAog/jXydR
+vDIugTzBXtfVK0CEX8iyQ4cVzQmXWSne8204v943K5D2hktSBkjdQUdcnVvVgLR6
+te50jV89ptN/NofX+fo9fhSRN9vGgQVWzOOFiO0zcThy749pirJu1Kq5OJdthIyW
+Pu0UCz5G0k3kTp0JPevGlsNc8S9Ak1tFuB0IPJjrbfODWHS2LDuO+dB6gpkNTdrj
+88ogYtBsN4D5gsXBRUfobXokUwejBwLrD6XwyQx+0bMwSCxgHEhxvuUkx1vdlXGw
+JG3aF92u8mIxoKSAPaPdqy930mQvmpUWcN5Y1IMbtEGoQCKMYgosFcazJpJcjnX1
+o4Hl/lqjwCEG
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/105/root.crt b/src/tests/data/x509/pss_certs/105/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/105/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/106/end.crt b/src/tests/data/x509/pss_certs/106/end.crt
new file mode 100644
index 000000000..21357be50
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/106/end.crt
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDBTCCAeegAwIBAgIBFjATBgkqhkiG9w0BAQowBqIEAgIA6jA7MQswCQYDVQQG
+EwJOTDERMA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3Qg
+Q0EwHhcNMTQwMTIwMTMzODE2WhcNMjQwMTE4MTMzODE2WjA0MQswCQYDVQQGEwJO
+TDERMA8GA1UEChMIUG9sYXJTU0wxEjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkq
+hkiG9w0BAQEFAAOBjQAwgYkCgYEA3RGKn5m6sGjKKuo7am1Zl+1OyVTkDe7OoH2g
+HqroDsK7E0DbihKOiRMkpcX1+tj1kNfIysvF/pMdr9oSI3NSeUYauqBXK3YWMbOo
+r+c4mwiLY5k6CiXuRdIYWLq5kxrt1FiaYxs3/PcUCJ+FZUnzWTJt0eDobd5S7Wa0
+qQvaQJUCAwEAAaOBkjCBjzAJBgNVHRMEAjAAMB0GA1UdDgQWBBTu88f1HxWlTUeJ
+wdMiY7Lfp869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0w
+OzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xh
+clNTTCBUZXN0IENBggEAMBMGCSqGSIb3DQEBCjAGogQCAgDqA4IBAQDAog/jXydR
+vDIugTzBXtfVK0CEX8iyQ4cVzQmXWSne8204v943K5D2hktSBkjdQUdcnVvVgLR6
+te50jV89ptN/NofX+fo9fhSRN9vGgQVWzOOFiO0zcThy749pirJu1Kq5OJdthIyW
+Pu0UCz5G0k3kTp0JPevGlsNc8S9Ak1tFuB0IPJjrbfODWHS2LDuO+dB6gpkNTdrj
+88ogYtBsN4D5gsXBRUfobXokUwejBwLrD6XwyQx+0bMwSCxgHEhxvuUkx1vdlXGw
+JG3aF92u8mIxoKSAPaPdqy930mQvmpUWcN5Y1IMbtEGoQCKMYgosFcazJpJcjnX1
+o4Hl/lqjwCEG
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/106/root.crt b/src/tests/data/x509/pss_certs/106/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/106/root.crt
@@ -0,0 +1,21 @@
+-----BE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Ks4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/107/end.crt b/src/tests/data/x509/pss_certs/107/end.crt
new file mode 100644
index 000000000..8165dc0e7
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/107/end.crt
@@ -0,0 +1,22 @@
+-----BEGIN CERTIFICATE-----
+MIIDsTCCAmmgAwIBAgIBATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBKDAUMRIwEAYDVQQDDAlsb2Nh
+bGhvc3QwIhgPMjAxMjAzMzAxMTQ2MjhaGA8yMDMwMDEwMTAwMDAwMFowFDESMBAG
+A1UEAwwJbG9jYWxob3N0MIIBUjA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQC
+AaEaMBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBKAOCAQ8AMIIBCgKCAQEA
+r+oAaTK0SFtKChcNyiS56Tm7NJgIgeHC5fZ4dOVz63GIBsP1tJ/wSsTZePeqSky/
+DDeTj4tpyy6+Cdq04yji/ZKv4o4IVCdVW2Stf7Sf4cLQm8so7B35WZ3Dp0OPAGmn
+2oviJ7S6EDRrqwdOciOSzd5siGCkPlPbOzp+7iGXXVc/BF+EDaw5Ge24OGhgSjE7
+z/Q/U24y+g02C6ybqAqsXE7y7kgBgElHHNcuaciHFA7HnDEMU/4USIsJyA2p5WOO
+TwSyhi7MZ0VYZatcfESlj/ZB/u2YSHOsWzryYzT8Lct2szseR4ujiuNS3SGODVUZ
+5HF2278L/hPbFiX89T9MkQIDAQABo3oweDAJBgNVHRMEAjAAMA4GA1UdDwEB/wQE
+AwIBBjAdBgNVHQ4EFgQUVIk5QUZ/Tn+Yvlpb+8akSFtSegAwPAYDVR0jBDUwM4AU
+VIk5QUZ/Tn+Yvlpb+8akSFtSegChGKQWMBQxEjAQBgNVBAMMCWxvY2FsaG9zdIIB
+ATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEaMBgGCSqGSIb3DQEBCDAL
+BglghkgBZQMEAgGiAwIBKAOCAQEAqIcn0OB/2p3HcSVE0tvMn1JhsN4N05/XencZ
+/HsgZenxvE4LZ106XCbPvES224aSGZWt49Oidmk6A9E+26plUiiOHT0K1Ye0fXaY
+npPOyeXeEhhw9+DSL08V+vItwT0lN6rD/H1RrDuHGvw68A5ZDE34+PPgFPnpq2uA
+anUaLZXSI55Hq1qbWumCCJAJSlOwqOLjuwjF9nxtT008UOvhAkeJ/eLkRubNGTFC
+EMXCKURFxvTQtwlPG1MPfQeze8se1L40EnNRjXnJOJouu9kZApv3mKbKvEVGRoAA
+eK3G/hzEfON+dYfmhSi13OyNDB394aUU0xlBXj3EX2wBiCZ1lA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/108/crl-rsa-pss-sha1.crl b/src/tests/data/x509/pss_certs/108/crl-rsa-pss-sha1.crl
new file mode 100644
index 000000000..59ca4f703
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/108/crl-rsa-pss-sha1.crl
@@ -0,0 +1,14 @@
+-----BEGIN X509 CRL-----
+MIICJDCCAQYCAQEwEwYJKoZIhvcNAQEKMAaiBAICAOowOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBFw0x
+NDAxMjAxMzQ2MzVaFw0yNDAxMTgxMzQ2MzVaMCgwEgIBChcNMTMwOTI0MTYyODM4
+WjASAgEWFw0xNDAxMjAxMzQzMDVaoGcwZTBjBgNVHSMEXDBagBS0WuSls97SUva5
+1aaVD+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NM
+MRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBggEAMBMGCSqGSIb3DQEBCjAGogQC
+AgDqA4IBAQB8ZBX0BEgRcx0lfk1ctELRu1AYoJ5BnsmQpq23Ca4YIP2yb2kTN1ZS
+4fR4SgYcNctgo2JJiNiUkCu1ZnRUOJUy8UlEio0+aeumTNz6CbeJEDhr5NC3oiV0
+MzvLn9rJVLPetOT9UrvvIy8iz5Pn1d8mu5rkt9BKQRq9NQx8riKnSIoTc91NLCMo
+mkCCB55DVbazODSWK19e6yQ0JS454RglOsqRtLJ/EDbi6lCsLXotFt3GEGMrob1O
+7Qck1Z59boaHxGYFEVnx90+4M3/qikVtwZdcBjLEmfuwYvszFw8J2y6Xwmg/HtUa
+y6li0JzWNHtkKUlCv2+SESZbD3NU8GQZ
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/108/end.crt b/src/tests/data/x509/pss_certs/108/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/108/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/108/root.crt b/src/tests/data/x509/pss_certs/108/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/108/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sY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ZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/109/README.txt b/src/tests/data/x509/pss_certs/109/README.txt
new file mode 100644
index 000000000..27274f304
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/109/README.txt
@@ -0,0 +1 @@
+crl with invalid signature \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/109/crl-rsa-pss-sha1-badsign.crl b/src/tests/data/x509/pss_certs/109/crl-rsa-pss-sha1-badsign.crl
new file mode 100644
index 000000000..7e2a59677
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/109/crl-rsa-pss-sha1-badsign.crl
@@ -0,0 +1,14 @@
+-----BEGIN X509 CRL-----
+MIICJDCCAQYCAQEwEwYJKoZIhvcNAQEKMAaiBAICAOowOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBFw0x
+NDAxMjAxMzQ2MzVaFw0yNDAxMTgxMzQ2MzVaMCgwEgIBChcNMTMwOTI0MTYyODM4
+WjASAgEWFw0xNDAxMjAxMzQzMDVaoGcwZTBjBgNVHSMEXDBagBS0WuSls97SUva5
+1aaVD+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NM
+MRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBggEAMBMGCSqGSIb3DQEBCjAGogQC
+AgDqA4IBAQB8ZBX0BEgRcx0lfk1ctELRu1AYoJ5BnsmQpq23Ca4YIP2yb2kTN1ZS
+4fR4SgYcNctgo2JJiNiUkCu1ZnRUOJUy8UlEio0+aeumTNz6CbeJEDhr5NC3oiV0
+MzvLn9rJVLPetOT9UrvvIy8iz5Pn1d8mu5rkt9BKQRq9NQx8riKnSIoTc91NLCMo
+mkCCB55DVbazODSWK19e6yQ0JS454RglOsqRtLJ/EDbi6lCsLXotFt3GEGMrob1O
+7Qck1Z59boaHxGYFEVnx90+4M3/qikVtwZdcBjLEmfuwYvszFw8J2y6Xwmg/HtUa
+y6li0JzWNHtkKUlCv2+SESZbD3NU8GQY
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/109/end.crt b/src/tests/data/x509/pss_certs/109/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/109/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/109/root.crt b/src/tests/data/x509/pss_certs/109/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/109/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/11/end.crt b/src/tests/data/x509/pss_certs/11/end.crt
new file mode 100644
index 000000000..0ed3c04b5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/11/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE+DCCAqygAwIBAgIESUK/qjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlA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+3NT+N50Jy5pIEk6Wb68YqoCH+59Lf17je5GpC3rPJEfJ3aZvdc2NziIcdtsvDZGV
+GN5vd3HXkENXUm9yOVImu5VDiOo8EzfGIQwSTiyg6IDaRIjV/GzUc48+Xltrwvis
+Vl++Bn30qT5Ayytw0r6smI3TRKmmvRCKJbGhD/e/YfHqq6ooNJy/X5sPPm5K8lfP
+sDMMXKqu7++bYSlej5gF5NVr3kcfMV4YlO8Shd81rGUi6c6qqHWJQfKOV8CsfQbI
+N3Nv+amWxFvCDmnchC2e7VNkO1GBFMrF+mcOT+RG14EoWFGcNvr1stYOQRSlrGab
+S5jyQSa6gGJo0mLG7eMr4BC8Oa3G0OD+ZJo/927UB6as+2SUyq7W6B2cN587qXgq
+AlZRBjT/vyYhlq+WcL1dmmiuMdTK9E+X5+YlgvuoXeQ65ZYsTf8uhNJU4Kd5XSF2
+NvSdJkCAsoQEjJ/i1D47dcD5YEpRPzmnY74Qw/jyZ0mjpXShv94ovkjlCXIdt2ny
+8KIeO3By5QWEU93kdoNGwqf2lperZklWewhz960D9g+mdTJuQjdd4zsSj+fxc5kZ
+4CohFXzUOZRW53LZAhiO3n/8kWThh/5Z/6CsQw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/11/root.crt b/src/tests/data/x509/pss_certs/11/root.crt
new file mode 100644
index 000000000..cbc90da2d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/11/root.crt
@@ -0,0 +1,34 @@
+-----BEGIN CERTIFICATE-----
+MIIF+TCCA62gAwIBAgIESUK04zBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCY2ExCzAJBgNVBAoTAmdjMQ0wCwYDVQQLEwRwcHRjMRQwEgYDVQQDEwtjc2Nh
+LWNhbmFkYTAeFw0wODEyMTIxODMwNTNaFw0xOTA0MTIxOTAwNTNaMD8xCzAJB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CGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQC
+AQUAogMCASADggIBAJTZM0S8uNtK2kh+VLT8PTLO93YFvIhF6PgeyhT+LNoe4wfH
+jRXZjmH2tWanSB55OTV19mo5hGqgmno0kMX0LwNLPJZIF1gsOkaBj0FmkK0Ws2mu
+ZE7mErAGGbMD17ksxvOFUIrmfH62qhFfPNV0Ri9cm7ZlePtPYX2BIJlFIVutCMOh
+hStYRYTdEeG+L6sS4J7fB6uefpqTQk3BOWwS+h9xa2PDgaZs2ZpNreo8xt6eyMlL
+c3trMA0CmrQWNCSZt2a32sqUK1yWbzzXVC6ZuugpLg1Nyev6iaqWwBgO3MmyMZRk
+Djm2AN1gm8wriyYBqPfmgP6UIuU6f2rSXUvr9Dip4iyGSM0SvP7AzQmKIlXMWHKQ
+z+CoATKgvzcRPfPQ9FBT2wu4xJxa6Oju7c48ktQiSGsoqMkBTbaUrNqqTglXkJ/U
+lqiLNxbsP/iSOLXxaPR/lGqPp4IW2JXQpR0nqb/nCBuz/Ng484pwPwwuKlQr8yc8
+uB1qrrKsfZd/F+twc2NxHqD41zT258AERqOXg7YRBvurqo975pdRlysXKBK5Ft78
+lUrC5BTJij5eGR8IAuwI6CVFUIeikUiwcy44fU7UkJcPFaVp9CnlPuVRPdI6oQ0U
++nXnpd8QABTCJPXfEe+4veo7jCj27wrKC5loUWIt/1sRJkURa6Mj013ohAk6
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/110/crl-rsa-pss-sha224.crl b/src/tests/data/x509/pss_certs/110/crl-rsa-pss-sha224.crl
new file mode 100644
index 000000000..a51d5d911
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/110/crl-rsa-pss-sha224.crl
@@ -0,0 +1,16 @@
+-----BEGIN X509 CRL-----
+MIICejCCATECAQEwPgYJKoZIhvcNAQEKMDGgDTALBglghkgBZQMEAgShGjAYBgkq
+hkiG9w0BAQgwCwYJYIZIAWUDBAIEogQCAgDiMDsxCzAJBgNVBAYTAk5MMREwDwYD
+VQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVzdCBDQRcNMTQwMTIw
+MTM1NjA2WhcNMjQwMTE4MTM1NjA2WjAoMBICAQoXDTEzMDkyNDE2MjgzOFowEgIB
+FhcNMTQwMTIwMTM0MzA1WqBnMGUwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/r
+PrzH/f+hP6Q9MDsxCzAJBgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcG
+A1UEAxMQUG9sYXJTU0wgVGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCG
+SAFlAwQCBKEaMBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgSiBAICAOIDggEBAEJI
+i9sQOzMvvOTksN48+X+kk/wkLMKRGI222lqU6y6tP1LX3OE/+KN8gPXR+lCC+e0v
+TsRTJkpKEcmHZoP/8kOtZnLb9PdITKGMQnZ+dmn5MFEzZI/zyrYWuJTuK1Q83w0e
+Mc88cAhu8i4PTk/WnsWDphK1Q2YRupmmwWSUpp1Z2rpR+YSCedC01TVrtSUJUBw9
+NSqKDhyWYJIbS6/bFaERswC8xlMRhyLHUvikjmAK36TbIdhTnEffHOPW75sEOEEB
+f0A3VtlZ7y5yt2/a6vOauJCivxKt/PutdHfBqH43QQmoVLWC2FmT9ADTJwcsZB3D
+a6JSqCIMRCQY2JOUn0A=
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/110/end.crt b/src/tests/data/x509/pss_certs/110/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/110/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA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rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/110/root.crt b/src/tests/data/x509/pss_certs/110/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/110/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/111/crl-rsa-pss-sha256.crl b/src/tests/data/x509/pss_certs/111/crl-rsa-pss-sha256.crl
new file mode 100644
index 000000000..f16a49118
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/111/crl-rsa-pss-sha256.crl
@@ -0,0 +1,16 @@
+-----BEGIN X509 CRL-----
+MIICejCCATECAQEwPgYJKoZIhvcNAQEKMDGgDTALBglghkgBZQMEAgGhGjAYBgkq
+hkiG9w0BAQgwCwYJYIZIAWUDBAIBogQCAgDeMDsxCzAJBgNVBAYTAk5MMREwDwYD
+VQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVzdCBDQRcNMTQwMTIw
+MTM1NjE2WhcNMjQwMTE4MTM1NjE2WjAoMBICAQoXDTEzMDkyNDE2MjgzOFowEgIB
+FhcNMTQwMTIwMTM0MzA1WqBnMGUwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/r
+PrzH/f+hP6Q9MDsxCzAJBgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcG
+A1UEAxMQUG9sYXJTU0wgVGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCG
+SAFlAwQCAaEaMBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAEZ4
+oqp9i5eXrN6aCSTaU1j07MVTFW/U1jQAq6GseB6bEvoEXFMUHJsgAObqCK9flfEC
+FEqXqWSo33hhPU7AKKttbDLjUYRNnQAPRUnRIl1/a1+UjqgKchWWD9ityeW8ICxo
+IdATX9reYmPDLIMqTC7zuflYkvrvdEOuBORQP5mn4j8t84MSQF/p4qzaU0XxLo4X
+ckzZCcHpa45AApCDjJMd9onhFVCYsykiYrF9NQFO8TI4lQ5jv79GoufEzvhY1SPB
+r1xz4sMpfyaoPaa3SM2/nD65E5jzXell2u2VWNGKv4zAQP0E5yGel+1rklBltadb
+XLdJyyak33CLBKu+nJc=
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/111/end.crt b/src/tests/data/x509/pss_certs/111/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/111/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/111/root.crt b/src/tests/data/x509/pss_certs/111/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/111/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgN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ests/data/x509/pss_certs/112/crl-rsa-pss-sha384.crl b/src/tests/data/x509/pss_certs/112/crl-rsa-pss-sha384.crl
new file mode 100644
index 000000000..50f7e4cd2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/112/crl-rsa-pss-sha384.crl
@@ -0,0 +1,16 @@
+-----BEGIN X509 CRL-----
+MIICejCCATECAQEwPgYJKoZIhvcNAQEKMDGgDTALBglghkgBZQMEAgKhGjAYBgkq
+hkiG9w0BAQgwCwYJYIZIAWUDBAICogQCAgDOMDsxCzAJBgNVBAYTAk5MMREwDwYD
+VQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVzdCBDQRcNMTQwMTIw
+MTM1NjI4WhcNMjQwMTE4MTM1NjI4WjAoMBICAQoXDTEzMDkyNDE2MjgzOFowEgIB
+FhcNMTQwMTIwMTM0MzA1WqBnMGUwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/r
+PrzH/f+hP6Q9MDsxCzAJBgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcG
+A1UEAxMQUG9sYXJTU0wgVGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCG
+SAFlAwQCAqEaMBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgKiBAICAM4DggEBAAco
+SntUGDLBOAu0IIZaVea5Nt1NMsMcppC0hWPuH1LKAwyUODBqpT+0+AuALK0eIdYR
+a7mAB+cv2fFwmwxnQWJ1Fvx4ft/N2AAfB83VRKpSo3xR8bxloHfTWKmyxJHmH9j1
+EYmLS86rj3Nhjf4m/YlQQ3Im5HwOgSgBOE8glq5D+0Wmsi9LsNEZXEzMw7TMUgbs
+y9o/ghYF/shKU4mewK3DeM9gQiTcH5A4ISXR87hBQ08AKJRAG1CLvTyzqWiUUY+k
+q8iZDYF17sHrPi2yn8q9c4zdxiaWDGDdL0Lh90wXGTAageoGEq25TMuL5FpX+u1u
+KUH/xf1jEnNzbYNGiZw=
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/112/end.crt b/src/tests/data/x509/pss_certs/112/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/112/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/112/root.crt b/src/tests/data/x509/pss_certs/112/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/112/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/113/crl-rsa-pss-sha512.crl b/src/tests/data/x509/pss_certs/113/crl-rsa-pss-sha512.crl
new file mode 100644
index 000000000..0f1d6510b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/113/crl-rsa-pss-sha512.crl
@@ -0,0 +1,16 @@
+-----BEGIN X509 CRL-----
+MIICejCCATECAQEwPgYJKoZIhvcNAQEKMDGgDTALBglghkgBZQMEAgOhGjAYBgkq
+hkiG9w0BAQgwCwYJYIZIAWUDBAIDogQCAgC+MDsxCzAJBgNVBAYTAk5MMREwDwYD
+VQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVzdCBDQRcNMTQwMTIw
+MTM1NjM4WhcNMjQwMTE4MTM1NjM4WjAoMBICAQoXDTEzMDkyNDE2MjgzOFowEgIB
+FhcNMTQwMTIwMTM0MzA1WqBnMGUwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/r
+PrzH/f+hP6Q9MDsxCzAJBgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcG
+A1UEAxMQUG9sYXJTU0wgVGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCG
+SAFlAwQCA6EaMBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgOiBAICAL4DggEBAB9F
+ywBfxOjetxNbCFhOYoPY2jvFCFVdlowMGuxEhX/LktqiBXqRc2r5naQSzuHqO8Iq
+1zACtiDLri0CvgSHlravBNeY4c2wj//ueFE89tY5pK9E6vZp7cV+RfMx2YfGPAA2
+t7tWZ2rJWzELg8cZ8hpjSwFH7JmgJzjE5gi2gADhBYO6Vv5S3SOgqNjiN1OM31AU
+p6GHK5Y1jurF5Zwzs+w3wXoXgpOxxwEC4eiS86c9kNSudwTLvDTU0bYEQE1cF+K0
+sB8QWABFJfuO5kjD2w3rWgmAiOKsZoxd1xrda+WD3JhDXnoVq3oVBIVlWVz6YID8
+enMfMvwScA5AImzu9xA=
+-----END X509 CRL-----
diff --git a/src/tests/data/x509/pss_certs/113/end.crt b/src/tests/data/x509/pss_certs/113/end.crt
new file mode 100644
index 000000000..7d0aa3956
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/113/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4DggEBAH0+knqkcLaxeDkenBQgd4Qg
+3ZyAhtpiLU689mw+3cXB/uzFrCIxEL5aGh1eSj+DszB+FtsZ06ux7JVQqVOA2Wm9
+yLxC6wF8OOYj0nBa91BWLhRAHLhmIdWsVk7Hl9KojZd4TwV2N+ZEV/BLxyoRvK4H
+V4xCpzgDSiTPe8Etk4r+0akbr6bsOUBayPb7MGLHubZKq8NsFAmmynp+fPmHd3SE
+0ooJdiZ1MmKPKLE5Og/hXCI8qeiXQUR6oQ7b2XONsrI2HIj2SA9dA5qmHwE5PbMu
+zqxQ3R83boqLXbkFORn+UiYLmffqdoWuNy00BHMCrxRA9DUv+WyN4npLMF8rOJw=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/113/root.crt b/src/tests/data/x509/pss_certs/113/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b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Tok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/114/server9.req.sha1.csr b/src/tests/data/x509/pss_certs/114/server9.req.sha1.csr
new file mode 100644
index 000000000..b9d005382
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/114/server9.req.sha1.csr
@@ -0,0 +1,11 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBojCCAQYCAQAwNDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRIw
+EAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0R
+ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
+yMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsIi2OZOgol7kXSGFi6uZMa7dRY
+mmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCVAgMBAAGgKTAnBgkqhkiG9w0B
+CQ4xGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMBIGCSqGSIb3DQEBCjAFogMC
+AWoDgYEA2n8SOoiJCs+YyH2VXoUVxhutdXGP4+7cECakl2mmVEKhxXDMEG7hEFkB
+mkk4b1kRNOQHKqUq3crfi0OkMcPGkPiLlYLKgT51CgsBhuJaMsdCYo/5POgTZD4u
+FI5gfyO70Xpq9QmrWEqqTdalRG7+UmGa3VEUVyXTDnQZfU1N2QE=
+-----END CERTIFICATE REQUEST-----
diff --git a/src/tests/data/x509/pss_certs/115/server9.req.sha224.csr b/src/tests/data/x509/pss_certs/115/server9.req.sha224.csr
new file mode 100644
index 000000000..fe1c797ed
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/115/server9.req.sha224.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBzTCCAQYCAQAwNDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRIw
+EAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0R
+ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
+yMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsIi2OZOgol7kXSGFi6uZMa7dRY
+mmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCVAgMBAAGgKTAnBgkqhkiG9w0B
+CQ4xGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMD0GCSqGSIb3DQEBCjAwoA0w
+CwYJYIZIAWUDBAIEoRowGAYJKoZIhvcNAQEIMAsGCWCGSAFlAwQCBKIDAgFiA4GB
+AMlYYZKqpDqg5UZZq3NB3QUR9qftY/52/0gPfruw5s2gNtFmG1uyEBJX/oc7C/fU
+lxo74HDraWJyvP7c3MMhOuwr/RfPNQhA2Hgwz9RuJIBhQrJfiZuHsCfiKVofMuMf
+ar/4EKfyoELDdilhg6i+abahGOkqyXsjavFtyDSeCpXH
+-----END CERTIFICATE REQUEST-----
diff --git a/src/tests/data/x509/pss_certs/116/server9.req.sha256.csr b/src/tests/data/x509/pss_certs/116/server9.req.sha256.csr
new file mode 100644
index 000000000..0ef9ef028
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/116/server9.req.sha256.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBzTCCAQYCAQAwNDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRIw
+EAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0R
+ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
+yMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsIi2OZOgol7kXSGFi6uZMa7dRY
+mmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCVAgMBAAGgKTAnBgkqhkiG9w0B
+CQ4xGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMD0GCSqGSIb3DQEBCjAwoA0w
+CwYJYIZIAWUDBAIBoRowGAYJKoZIhvcNAQEIMAsGCWCGSAFlAwQCAaIDAgFeA4GB
+ACUaCTidvzWVJNKmRrriufThGUfw5Xgdsc3Ga8Cx+vRf+bPZmR3NVkc0Zq9uc0+8
+d1WXaLzbmge6IbcvTPWCLNDAWI9UzoQ6WS9myM3eDEGdruClYwb5BVLx3MvhvooK
+L/H6snE1dHNPXyCNVFTJIll3bRlVMRsfZpDhmz8/ImJ4
+-----END CERTIFICATE REQUEST-----
diff --git a/src/tests/data/x509/pss_certs/117/server9.req.sha384.csr b/src/tests/data/x509/pss_certs/117/server9.req.sha384.csr
new file mode 100644
index 000000000..010345027
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/117/server9.req.sha384.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBzTCCAQYCAQAwNDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRIw
+EAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0R
+ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
+yMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsIi2OZOgol7kXSGFi6uZMa7dRY
+mmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCVAgMBAAGgKTAnBgkqhkiG9w0B
+CQ4xGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMD0GCSqGSIb3DQEBCjAwoA0w
+CwYJYIZIAWUDBAICoRowGAYJKoZIhvcNAQEIMAsGCWCGSAFlAwQCAqIDAgFOA4GB
+ANfZGK6nE/CP9PuALFzbA/mvOnYlI60pMowscRfCYpvR25iQJVhAJfYVXADRN3qd
+NAiFWNVcjFMIkRlq7qifBN97VHGeYoWIuw9gYEb3OqDGzOsYP0KIgMNt8/A4qCkj
+5MzolOYyT+N+QFGV0pdCNpX7QppfNdFyFAmWXa171RzG
+-----END CERTIFICATE REQUEST-----
diff --git a/src/tests/data/x509/pss_certs/118/server9.req.sha512.csr b/src/tests/data/x509/pss_certs/118/server9.req.sha512.csr
new file mode 100644
index 000000000..676b5c996
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/118/server9.req.sha512.csr
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIBzTCCAQYCAQAwNDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRIw
+EAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0R
+ip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7CuxNA24oSjokTJKXF9frY9ZDX
+yMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsIi2OZOgol7kXSGFi6uZMa7dRY
+mmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCVAgMBAAGgKTAnBgkqhkiG9w0B
+CQ4xGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMD0GCSqGSIb3DQEBCjAwoA0w
+CwYJYIZIAWUDBAIDoRowGAYJKoZIhvcNAQEIMAsGCWCGSAFlAwQCA6IDAgE+A4GB
+ACxWBhPkhyVlBY/mwkrW7OjYsaN2/ZlFSv76w63b61BpigReJsggMut5EPOgfGYJ
+rzygKDlF/NtmMN22jWrFup9LsZJAX0gYbLmliiaG9Hch+i/8b42oaQTDWGFZ9LiY
+W7F7X0f9lpzNKOtQ8ix0s+nYS2ONyzfu55+Rlzf8/63M
+-----END CERTIFICATE REQUEST-----
diff --git a/src/tests/data/x509/pss_certs/12/end.crt b/src/tests/data/x509/pss_certs/12/end.crt
new file mode 100644
index 000000000..2ff368bd6
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/12/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE+DCCAqygAwIBAgIESUK+tDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCY2ExCzAJBgNVBAoTAmdjMQ0wCwYDVQQLEwRwcHRjMRQwEgYDVQQDEwtjc2Nh
+LWNhbmFkYTAeFw0xMDA2MDMxNDUxMjhaFw0xNTEwMDMxNTIxMjhaMDcxCzAJBgNV
+BAYTAmNhMQswCQYDVQQKEwJnYzENMAsGA1UECxMEcHB0YzEMMAoGA1UEAxMDRFMy
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7PTUuM+8ds3xrWb+V6DV
+y3/v+sK7Hq6AtljhtdloM76UsBDkW9Jszwdd8GxKnqjvQXXYf8jx9ryTSZXAqk3u
+omDfMWVkxbzoJFFMZ3/zvOxl3LjPuK9ZYMu14GFYFRYNOl3YB7eo7TE75PnBCJdV
+mwr3Qv/lg8cWvl6r19G7lDFtR3XemYMTc9yQiS49AAmJKQxSx9em1wUNoE4T+EUN
+fdQUiFde3YXQb2itmH+QSCVUF4/PAzE+aQfqVfIOLXuJAiFFX7Pa0ixAJdiWBRtL
+R3KHSARupK/75W2u8bZ2CjodVtYcDclafV5WzQvSaAP5ePpRvZUPmE7PrbDmLD25
+MQI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b/src/tests/data/x509/pss_certs/12/root.crt
new file mode 100644
index 000000000..cbc90da2d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/12/root.crt
@@ -0,0 +1,34 @@
+-----BEGIN CERTIFICATE-----
+MIIF+TCCA62gAwIBAgIESUK04zBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCY2ExCzAJBgNVBAoTAmdjMQ0wCwYDVQQLEwRwcHRjMRQwEgYDVQQDEwtjc2Nh
+LWNhbmFkYTAeFw0wODEyMTIxODMwNTNaFw0xOTA0MTIxOTAwNTNaMD8xCzAJBgNV
+BAYTAmNhMQswCQYDVQQKEwJnYzENMAsGA1UECxMEcHB0YzEUMBIGA1UEAxMLY3Nj
+YS1jYW5hZGEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC20yCfEODF
+wBEoS9ASPdRy7EBiVs/Z+XKDrNBG3SMInbcQnl3TTN6AOojRDa8rlyME+ypDgbLI
+dcXd2+KjIZR01henLenwGyVdZMoUUyMdtDwsXU7znDPBGWWO60GDc5BLOblHAxRc
+H3xi+NFs/2Fku6YXfCuyaMsMngSfkiDEL/cioAvwMTR9xlzLx6TdmFJJi/019H/t
+x0304pZN/lGCPZhjYlNKKk71st+/f9u5bu7KN7af81Oh4RmrH1SK70+YZ427yEtO
+fvPVOAaBlyefmQNipRK4G9ydA9b4/OiH+4m/pZharendskeu+2OFwYah/aqSbkEn
+D0VPbju2x3CyWB1jaOFgJbnXmO6peOoK1ylmw0JVOW1VyAHluWJ1cnDavGaSXQCV
+Vx4s1HKGAOK7XmAhNNFZ3+IosraODY/VlsKAcTolqYfw37rHwPpHnCDf4aJytZ/D
+Z4+9d3xlaws6ibtTwl2gCftGn3LO+UbzjAb8/uLGiqpGdkwNg5IOfSGSw+JGFgOA
+f8+jRXVDr1gh190UG2XEmuqrQRL8SVgU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44fU7UkJcPFaVp9CnlPuVRPdI6oQ0U
++nXnpd8QABTCJPXfEe+4veo7jCj27wrKC5loUWIt/1sRJkURa6Mj013ohAk6
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/13/end.crt b/src/tests/data/x509/pss_certs/13/end.crt
new file mode 100644
index 000000000..c191560d3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/13/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE+DCCAqygAwIBAgIESUK+LzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCY2ExCzAJBgNVBAoTAmdjMQ0wCwYDVQQLEwRwcHRjMRQwEgYDVQQDEwtjc2Nh
+LWNhbmFkYTAeFw0xMDAxMTUxNTI1NDdaFw0xNTA1MTUxNTU1NDdaMDcxCzAJBgNV
+BAYTAmNhMQswCQYDVQQKEwJnYzENMAsGA1UECxMEcHB0YzEMMAoGA1UEAxMDRFMy
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApK6tUOlvRSzNc5gHI5t5
+v5nJGkhiSremqMvYIU3BRnoNVUMoDKmbAZuS6R3kZ0uXo5uE4MkLpAhYPR4qkIGr
+ejv4B7JgNYbhMLLTt/84SGkQvL1e1P2355eIjE85UX9ulnNLKXHDitDekAW/ciWy
+q+mPvttaxxxc3i7th7Hw6isYgE7PR5pvCzzy5wQfvKqepGATgbeN6x85iLACzmys
+YOLLYbqbfuA6WHAwlT9Dk8ZXfOKeFskfBTag70EBa2xdU68RS2/25y0oCKD0c1Eh
+1W/jEckxAtfCNglufDOoAsHFXA0n8L43QZN8zBnqajOeQk+E16v/M+8MXkno5+l0
+DwIDAQABo4GbMIGYMA4GA1UdDwEB/wQEAwIHgDArBgNVHRAEJDAigA8yMDEwMDEx
+NTE1MjU0N1qBDzIwMTAwNTEyMDk1NTQ3WjAZBgNVHSAEEjAQMA4GDGB8ZQGCGwgF
+AQIBATAfBgNVHSMEGDAWgBQtsW3hQwPYdcOHuaoVEAG1gRZPGDAdBgNVHQ4EFgQU
+rVnXlhrT4uOS0QtxMT2jHLPQxZQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQME
+AgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQBFa9wU
+CNU1aGlFtKW6/yTY2wHD+z4+FbrwSdlTor6BlXFPfbcFtR6/a9nQyoA7FeyykYA/
+pfYg1hKRMzSatxSe/R5ezKY+B2Ic784OoeqnIFXE+CnA2CZ4I5u85fUAcBlz2vm/
+XHHFhRPb43YPkTVFdaIzDjnKmyb6foss9w7OXEmfNAmMvdN8su99nkO/H79m/JAr
+tqOWduEafnN7sAd9ibSLf2hMsUmMFgOYbzkhKOYIhE2s5f++FyC8bZY1tx72BaNf
+7dAfzHk/6zQg5zK65NeqI7btCMWZJ6cL8MeoY/WGujcC5G8iavZUP78VpOzJPqrV
+K6Wm8q9u2GKjJ2iipQeVPZGFdC0ItFSFQFGSQTuV3ygotHx9vtibpMbBRUrxyrPv
+rH5sNQbDOJd+6IkBKrIm7U6WaZ933KGTvajYcgJX5vQ8VZlJFrQLD62sYShX5kcz
+V1Ih093PSO39tWoy+/GZ/WpmakKM64MIBt6gQyTiNnNAJU4dmva5ecav697yrgl+
+GS3qoPyNYMFy1/ijJFzBfbkHmcZQQcyy8zWImPF+KfGi+VkJ9r70Hi+q9sAqvvPT
+LtGX3buhToHTmyANOgwoIWK5ZNNfgHYRZ8U0PcOtKEZAQENTkdZrcFxgbtJ2G/1u
+Tolcoo7Bry2bftPqs3o8LTx/NCmbDVj/gqCNWA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/13/root.crt b/src/tests/data/x509/pss_certs/13/root.crt
new file mode 100644
index 000000000..cbc90da2d
--- /dev/null
+++ b/src/tests/data/x509/pss_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URa6Mj013ohAk6
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/14/end.crt b/src/tests/data/x509/pss_certs/14/end.crt
new file mode 100644
index 000000000..d3cd8d60b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/14/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE+DCCAqygAwIBAgIESUK+0DBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCY2ExCzAJBgNVBAoTAmdjMQ0wCwYDVQQLEwRwcHRjMRQwEgYDVQQDEwtjc2Nh
+LWNhbmFkYTAeFw0xMDA3MTUxMzU4MzhaFw0xNTExMTUxNDI4MzhaMDcxCzAJBgNV
+BAYTAmNhMQswCQYDVQQKEwJnYzENMAsGA1UECxMEcHB0YzEMMAoGA1UEAxMDRFMx
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHRoTSoz69zq5AN+cV2l
+YQt3004e0MSUdObS7D9h9/rIgHsSm0BJd3y8lTpOUwWG8W3rbaHDa2ZmBo+NskVo
+no8WUacuBqkhibd+g3hG8NVRclTFZUK2oHerVGRgUHuYBpE7pBDANPRUenYiO7AW
+beyITrf4WpfhoDSXC7b0RoEObuLGkhN+KQU+rBIjd8HvQf5mjQJPNjj1L2IceIwd
+pbLwtlpPVebQuCRVmF6H6WZhawnXOjQBNUP1B/1kLlg4XwQceXh3mY7X47J+dv0G
+ND2eWm9PHsqoAnCtf+QTbOQpbqOFiyzRw3aUfnaaXIwXHlc7ZYm8sWGcg0xDCWzR
+gQIDAQABo4GbMIGYMA4GA1UdDwEB/wQEAwIHgDArBgNVHRAEJDAigA8yMDEwMDcx
+NTEzNTgzOFqBDzIwMTAxMTA5MTIyODM4WjAZBgNVHSAEEjAQMA4GDGB8ZQGCGwgF
+AQIBATAfBgNVHSMEGDAWgBQtsW3hQwPYdcOHuaoVEAG1gRZPGDAdBgNVHQ4EFgQU
+IhprWMoJ0i9wpMLpe1a5Uq7mvjcwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQME
+AgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQAt047C
+llnvDbaGYGWlAhrixFw22wJjcZDIt3p7PPq0C1cCrE9yausuD/ltrdNK3ysX1b84
+evhRyC6WZdYDNeCepCDTp5GqzDEk73bjKHsQlY9VmTY3m7HjzFVBIrnZAlGMl0MN
+LFDgShzDHNX2vlxL/qTz/zyIGAfvOvAFdog3Q/onGRYvu7CabSEKHb8jxrwCO++T
+tlWg4GCCx03rgKzruEUl2oybdFhbP6PEYXidvXOUUEkMlJ8dFjmJ9d3nBCPrMbPd
+3eCTOTRTLA+VhVYlXLuhzi4ZzhmK86IVLRaVHva0BDos1tkp2uwWLzZRy0+CPE3J
+Cga0yLpcSrztGV+yzS4vRQXsHhvWH5hMxHUX3bmDpAEYY+uhvx4AYkjvpk3LzaQ8
+SuEDQgI+aAfvAFgW+wAwFmcDgQdXQOGdFZ16fmreD8V9nI9VwpmtK1muSSD6zc8w
+QW7lVIedSX2OG9Ml4aUa/NGDtwTgfZ6xnPaqSkrr8EHUsGGbw9U6pSQCSLQf6zfW
+f4XZG6qjys04kJL+qilPZTrlliToByLbWrQOII/46qJvqsoy9XFEDvgxFNjvqDVV
+j6V6n6IbzyMJFkTj6i4PH6Mt+Olr8AYPzbM5FoXwl0db+7kAvY6WnASkfVTwb2tM
+Na0Ngjf4IIKDoR3zVxC62H/Qg+AhSC9RgtAP0w==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/14/root.crt b/src/tests/data/x509/pss_certs/14/root.crt
new file mode 100644
index 000000000..cbc90da2d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/14/root.crt
@@ -0,0 +1,34 @@
+-----BEGIN CERTIFICATE-----
+MIIF+TCCA62gAwIBAg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hmSkAjv3GYWBuLur4QwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQME
+AgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQCSJzgS
+FZUmdgX895IOklhNjzmqZgP6o+bJdJrlVyENDXpjy7gH5MznGru4K+0Cd45fO7JV
+yV/7PUkm7yjRkCA5byyTRPnvQ3ltPyVYosIK2UaBLy+VYHL+IhqZZxagzUbHJzOW
+BFalW/BB0rxXJvDdv/E8T/W1lXjIE+0aaB6gviP7/JbbFaNcmC5k5/p+v+CsVtP3
+twt/iVsyOyrGJwqJJHNpa5b8SlahgNVrdjDLETbo6gQbxIfoteWhHd5Om8ifuiCp
+RZcTHfN0Oz0vR3VMe6t/PB2uNvdR3rlVgmS2FSk5wc18CohK5PoS8DbZJE8BrXXa
+5jAXCzeMs0Pu34djoDd6qfGAZ/OjlQTyd788agKw5L3T1xxaXf4Dnw2yi7ocSUAg
+4+Da139jvWYNCxrSITspY59ofjpAe42/YVxFHBYVOjrxHQ4/O8XXpssH3fFkHaUh
+8ClRAYXmlyuGfr35V7SwFfllKCbzBdyFz0xG8T9OkHOHLNFLYMzULfwGuzcVlcWB
+afRfDPi/1CwamyvYDNvr/U+zmJ8ziaWhzkJFcKqGVxLBM8dOrGcVrzIWGK7AorBF
+/ekAET0ZItgwk6LkoHdy9vwVsTuSFdgyQ//BE4JrbwqKInJ8Euc9wtlzTXNvwkIg
+CMZPslf5xbLTauUqyZ9lXkIxO3fHtCoAHUb0sw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/15/root.crt b/src/tests/data/x509/pss_certs/15/root.crt
new file mode 100644
index 000000000..cbc90da2d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/15/root.crt
@@ -0,0 +1,34 @@
+-----BEGIN CERTIFICATE-----
+MIIF+TCCA62gAwIBAgIESUK04zBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZ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A1UdEAQkMCKADzIwMDgxMjEyMTgz
+MDUzWoEPMjAxOTA0MTIxOTAwNTNaMB8GA1UdIwQYMBaAFC2xbeFDA9h1w4e5qhUQ
+AbWBFk8YMB0GA1UdDgQWBBQtsW3hQwPYdcOHuaoVEAG1gRZPGDBBBgkqhkiG9w0B
+AQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQC
+AQUAogMCASADggIBAJTZM0S8uNtK2kh+VLT8PTLO93YFvIhF6PgeyhT+LNoe4wfH
+jRXZjmH2tWanSB55OTV19mo5hGqgmno0kMX0LwNLPJZIF1gsOkaBj0FmkK0Ws2mu
+ZE7mErAGGbMD17ksxvOFUIrmfH62qhFfPNV0Ri9cm7ZlePtPYX2BIJlFIVutCMOh
+hStYRYTdEeG+L6sS4J7fB6uefpqTQk3BOWwS+h9xa2PDgaZs2ZpNreo8xt6eyMlL
+c3trMA0CmrQWNCSZt2a32sqUK1yWbzzXVC6ZuugpLg1Nyev6iaqWwBgO3MmyMZRk
+Djm2AN1gm8wriyYBqPfmgP6UIuU6f2rSXUvr9Dip4iyGSM0SvP7AzQmKIlXMWHKQ
+z+CoATKgvzcRPfPQ9FBT2wu4xJxa6Oju7c48ktQiSGsoqMkBTbaUrNqqTglXkJ/U
+lqiLNxbsP/iSOLXxaPR/lGqPp4IW2JXQpR0nqb/nCBuz/Ng484pwPwwuKlQr8yc8
+uB1qrrKsfZd/F+twc2NxHqD41zT258AERqOXg7YRBvurqo975pdRlysXKBK5Ft78
+lUrC5BTJij5eGR8IAuwI6CVFUIeikUiwcy44fU7UkJcPFaVp9CnlPuVRPdI6oQ0U
++nXnpd8QABTCJPXfEe+4veo7jCj27wrKC5loUWIt/1sRJkURa6Mj013ohAk6
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/16/end.crt b/src/tests/data/x509/pss_certs/16/end.crt
new file mode 100644
index 000000000..f99602bc9
--- /dev/null
+++ b/src/tests/data/x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dW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRo
+b3JpdHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdy
+YXRpb24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ06CAQEwDgYDVR0PAQH/BAQDAgeA
+MD0GCSqGSIb3DQEBCjAwoA0wCwYJYIZIAWUDBAIBoRowGAYJKoZIhvcNAQEIMAsG
+CWCGSAFlAwQCAaIDAgEgA4ICAQCBZdgeXx+HC1NXk6hoU5MIplzyicm7lo4aubVA
+g7c4v0KEaZs9H7ZTNOXPGrLC2Qym+EgXGAj6FJlM1HOCMidgV652V5fBBc4tTb96
+sjufVmpYLN0qWQ086T3ULpfR9MX7YKaNbYw9QkBEu+A/7hrMoxdsl3D+ZQ2j2Pf2
+aqv/tYSQscF4wHui0yC+m4UZvd1baQa/2Szwxpg220JGsEDJf2ptqgLHMUwsFjU7
+5hDdxVZUJwfO+VooCs7xAVkIDq2vLjCj9HVckoNZ6GDu3o37Z4ZUYJgzN0K1CsAw
+ADJRKXHz9w41xfqNLDJdXOkIBOYyH4OxzDhll1ojf2nOtP5wqcrcgh1P4NbVQ/zz
+/FY0yfinS94KYPjd+j8I/V1sDb9rQreK9LF6OKtLTNKadmXu0XqWBSI0audZNdYQ
+d5ekziKVWrICePuTtN6MBaZGxYEjN682732+aosPPJZPm1PFRQOQY8qHlsbEmaTl
+Rve6a++6TQdLnoboiNQ+RIOm5Wwl2GUxAhXRPjyAzT1D0fHd/ICtyOm4TKgbz879
+RHarjQFsYrHSyfa3Rt0G1sYAYDDjd2UX0hk6tnQYnZMkZ5mpnmLQmsoSamuxGgVt
+x/jQjuIfUCnbsXkOPGj1AG+9l0dN9XRdoNxSnqVQ5pukMIs2dG38vPBuMHnWSVit
+1lztYQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/16/root.crt b/src/tests/data/x509/pss_certs/16/root.crt
new file mode 100644
index 000000000..b9f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WPWvjdp4BC18jwKEfJJoqfKpFUCJBh
+bZ8+tCznz9pYyvNMPxx8tQV0ELr3KJAOrjBEDd4TLZ+orqRxOZ4HqcXVTYo6zDAq
+K1JDmg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/17/end.crt b/src/tests/data/x509/pss_certs/17/end.crt
new file mode 100644
index 000000000..ff542bb23
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/17/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBCTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMDcwOTA0MTYwMDAxWhcNMTgw
+OTA0MTYwMDAxWjByMSgwJgYDVQQDEx9Ib25nIEtvbmcgQ2hpbmEgRG9jdW1lbnQg
+U2lnbmVyMRgwFgYDVQQKEw9Ib25nIEtvbmcgQ2hpbmExHzAdBgNVBAsTFkltbWln
+cmF0aW9uIERlcGFydG1lbnQxCzAJBgNVBAYTAkNOMIIBIDANBgkqhkiG9w0BAQEF
+AAOCAQ0AMIIBCAKCAQEAkcH3Yh5rFdZbrc4dC3xaksMIPn0HeovTbWu2SpYj/LEE
+Qg75ROIKFQJaB6UqJMQXoeMgLvLyMpH/PzwksFe0AHl9AfrfxIa8ejcakTsF1KT7
+tROZZZrEEPE/dg8/nJC5It+qJFDbKqBCnGvp2KN3rayo264bvyLhVn4WSgx32Tlm
+0C2In8ZweoArD77AVdJUgqNgAj7XQ9wvrFqvd88QPqpeBs+tDhC5TN4qZPEp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2W3tXr9tKkDyUvQxXs5XQbcAE9cMpje99Nz7slRTkjYU29uDUnCZ0S9j2zM9
+DxxOB/nCpJQZUloLB5XFsvy2mbnBOrnYTmto1ECQVHMuLmEf279OUz/aLO3nNp7U
+cLUhpw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/17/root.crt b/src/tests/data/x509/pss_certs/17/root.crt
new file mode 100644
index 000000000..b9f9d3a2f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/17/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMDYxMjA0MTYwMDAxWhcNMjIx
+MjA0MTYwMDAxWjCBiDE+MDwGA1UEAxM1SG9uZyBLb25nIENoaW5hIENvdW50cnkg
+U2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxGDAWBgNVBAoTD0hvbmcgS29u
+ZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRpb24gRGVwYXJ0bWVudDELMAkGA1UE
+BhMCQ04wggIgMA0GCSqGSIb3DQEBAQUAA4ICDQAwggIIAoICAQCQXKBG8WK3H2t6
+j8+PtWdh6JbpqbS3Bv+BqZ7VngFoUX+iDJlIjAWPuhmUPBLGVQgIk5sGGjrbfixQ
+lqLqGK1p27ncsmsd3f1wtXyQlQJbkGzmw/vxb9fX5D3wSWAUggZfK6Eexz47DAls
+mrDuY/Cr882eVgrniAIiOXmWqRqV3WUTi0EU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U6Ukzb0gPDSlcn1xvHYqwa/SPKT2uB1lHHT/Qz1rHCR3oRMAd3H5OTqVM82A
+duvM9dokzAeQYX25e7yU6S6XlBH06a+VHx1jLCoo8bMwlLbleW88Ye49GG7mWdSg
+O5AHCUeyr3893VchN+8E4syalN5arZiCiiTt/mqot8trHp2lhNjfT3vxSmytXtzr
+JNo3E8LVmHZMAYTvaNyY2Kl8DnQzQlKBTnWPWvjdp4BC18jwKEfJJoqfKpFUCJBh
+bZ8+tCznz9pYyvNMPxx8tQV0ELr3KJAOrjBEDd4TLZ+orqRxOZ4HqcXVTYo6zDAq
+K1JDmg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/18/end.crt b/src/tests/data/x509/pss_certs/18/end.crt
new file mode 100644
index 000000000..20a438eea
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/18/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBHTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMTAwMzA0MTYwMDAxWhcNMjEw
+MzA0MTYwMDAxWjByMSgwJgYDVQQDEx9Ib25nIEtvbmcgQ2hpbmEgRG9jdW1lbnQg
+U2lnbmVyMRgwFgYDVQQKEw9Ib25nIEtvbmcgQ2hpbmExHzAdBgNVBAsTFkltbWln
+cmF0aW9uIERlcGFydG1lbnQxCzAJBgNVBAYTAkNOMIIBIDANBgkqhkiG9w0BAQEF
+AAOCAQ0AMIIBCAKCAQEAlYPWw9j43pOzz4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tJwaxRo5CpIcZXcydlEvrcvO
+sxv8FsHPVc10GmyIKItCJ9W8FJ8Wgzvnpr5C3VONxpR8jyOP1k7hCmVZ30+Zgf7y
+3RDlviy+sAAQB7/dWqvL35BJ7SFklxm7R4qPlCtJMbdsSx1cmb11YJZC9rUGlgFA
+iFoDck9qSiZyo6MzncO4glKX7qsy3vlFX/DmNJCWOu37N5XZppZD4Gs5e1GLrpKu
+B7avLfAszPvveeIb2h3FEQbHjIAnN1MHBgsTarVOrqfHEpdQRpYthd0a/mIfnT78
+89CCS8dWzfZ8GvWxl2QSO16ldnCQvWQB03nbYG93+qSGDzIJo/CEhqliBOvLEZrA
+6FeIjw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/18/root.crt b/src/tests/data/x509/pss_certs/18/root.crt
new file mode 100644
index 000000000..b9f9d3a2f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/18/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMDYxMjA0MTYwMDAxWhcNMjIx
+MjA0MTYwMDAxWjCBiDE+MDwGA1UEAxM1SG9uZyBLb25nIENoaW5hIENvdW50cnkg
+U2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxGDAWBgNVBAoTD0hvbmcgS29u
+ZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRpb24gRGVwYXJ0bWVudDELMAkGA1UE
+BhMCQ04wgg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gZkhF+oldQgQeht4NG72O2sfN2DLN
+SdqfFKx0dzYQJdqca1uDnk0fxQWakuezDXLEI96QDsoM7bFOkQr961yQCW4pZKLr
+XOqwXblmdO2FUS7470AnbVrFb8zNdxZc12x648D5oxNY70ZidoeOzgbdwbOWYhBt
+7SEU8KZfIJzxkhgMHqlkkBfIqc9aU3XiZ1MAGs5KJtUUoql1DN8v+VZCRknnOYhq
+7Vo/U6Ukzb0gPDSlcn1xvHYqwa/SPKT2uB1lHHT/Qz1rHCR3oRMAd3H5OTqVM82A
+duvM9dokzAeQYX25e7yU6S6XlBH06a+VHx1jLCoo8bMwlLbleW88Ye49GG7mWdSg
+O5AHCUeyr3893VchN+8E4syalN5arZiCiiTt/mqot8trHp2lhNjfT3vxSmytXtzr
+JNo3E8LVmHZMAYTvaNyY2Kl8DnQzQlKBTnWPWvjdp4BC18jwKEfJJoqfKpFUCJBh
+bZ8+tCznz9pYyvNMPxx8tQV0ELr3KJAOrjBEDd4TLZ+orqRxOZ4HqcXVTYo6zDAq
+K1JDmg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/19/end.crt b/src/tests/data/x509/pss_certs/19/end.crt
new file mode 100644
index 000000000..682cafcb3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/19/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBDzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMDgwNjA0MTYwMDAxWhcNMTkw
+NjA0MTYwM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TDijQPAXB1m+gJcDgzwL0weqUq3ngeB3yt8hkLrb/JXMHeq
+mNFJ7hl4wQUVxX6BxCcRZS0DPdwi5wHvVAqjtEALAV715suw6kCc45rFCsa3MaU1
+12zOkqEoIro2doMVOuqxxU43kWmFur2aX/5WmuosE/KoWUgPxhNle0JvzRaHh5Y3
+BKqS9K9BCg3EPWo6/eIZ5bLQMKJ8yRvRvU1sa4wkJ/6cqUuSCD8UK8lB2HXkAEPT
+ZERVMUNzK0fLBUW/pJfL0KpW847lnCznvwgUjzUrpCkAMpSKBSqp/tPHPsPTdDjW
+/8dFjjJyu6kSBf5lcRCZDNOmpL0kc2iXr9t2PizHv3UZQRyx1NG9YWSMHdMgBh4X
+3ydw10u5wEjBEezDAtqRhIa/+WnPZ9KyKy2ijPrG5qEWIZ99NxXxmjBAZFKdknfw
+DJkrwiQo5IcWtMU7ZLJ7tZiOk/4jtrndomK+Y0pj4jhnKnZifWmwPWx70T9e1ju6
+b2jqXPQNGy97UlVfQ/GeVp4knR21I60vrSdeqQ/4NsTTz9o3Su4hskyX4INN7una
+4Q+HqQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/19/root.crt b/src/tests/data/x509/pss_certs/19/root.crt
new file mode 100644
index 000000000..b9f9d3a2f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/19/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDE+MDwGA1UEAxM1SG9u
+ZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkxGDAWBgNVBAoTD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECxMWSW1taWdyYXRp
+b24gRGVwYXJ0bWVudDELMAkGA1UEBhMCQ04wHhcNMDYxMj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CSqGSIb3DQEBCjAwoA0wCwYJYIZIAWUDBAIBoRowGAYJKoZIhvcNAQEIMAsG
+CWCGSAFlAwQCAaIDAgEgA4ICAQAOv7wU3MNJQv41vW16l9zkoT+Y2FomVJNcNLKw
+m45B/GPcYDA5B4NCDoqjzl8087oIatrchsTlVFdd59mWO/11YmeUFn4HbpnSQq5n
+bVgdKABfLJtjwGPxA22cA5+Q9rpZmziQ9PtgZkhF+oldQgQeht4NG72O2sfN2DLN
+SdqfFKx0dzYQJdqca1uDnk0fxQWakuezDXLEI96QDsoM7bFOkQr961yQCW4pZKLr
+XOqwXblmdO2FUS7470AnbVrFb8zNdxZc12x648D5oxNY70ZidoeOzgbdwbOWYhBt
+7SEU8KZfIJzxkhgMHqlkkBfIqc9aU3XiZ1MAGs5KJtUUoql1DN8v+VZCRknnOYhq
+7Vo/U6Ukzb0gPDSlcn1xvHYqwa/SPKT2uB1lHHT/Qz1rHCR3oRMAd3H5OTqVM82A
+duvM9dokzAeQYX25e7yU6S6XlBH06a+VHx1jLCoo8bMwlLbleW88Ye49GG7mWdSg
+O5AHCUeyr3893VchN+8E4syalN5arZiCiiTt/mqot8trHp2lhNjfT3vxSmytXtzr
+JNo3E8LVmHZMAYTvaNyY2Kl8DnQzQlKBTnWPWvjdp4BC18jwKEfJJoqfKpFUCJBh
+bZ8+tCznz9pYyvNMPxx8tQV0ELr3KJAOrjBEDd4TLZ+orqRxOZ4HqcXVTYo6zDAq
+K1JDmg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/20/end.crt b/src/tests/data/x509/pss_certs/20/end.crt
new file mode 100644
index 000000000..7d0fdfd93
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/20/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBJTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBi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R0PAQH/BAQDAgeA
+MD0GCSqGSIb3DQEBCjAwoA0wCwYJYIZIAWUDBAIBoRowGAYJKoZIhvcNAQEIMAsG
+CWCGSAFlAwQCAaIDAgEgA4ICAQAT+F0g9a9PI0Y1AxtQulRG3YOZlC+vhUXhhtar
+rZps/GFaCityPuIexlmTr2UTxBZOqVef8kp9/DO/entokCh1461uyyV3xTa+ji8+
+VH0TMtizAjNwniFA9//Ll+c+z0IoTk+zTbUYBRaD8Niu3OuSl32NwcW3x7x57CTx
+m+2wUKrvcybFRqsdKDKCpJdiFqFCSyNJmy0K+74Q3tAgYJ6+LhmItkiwxBa+uvd4
+MVoW7T7igYXCs/Ln2kxCYwHHyhLZBbtMAoiN/YgAIGy7jcYvY1gBV5fNtCa9g+im
+kh0ZXBwVpE3sfTCka0iwC82QVwyLtF83k27E98XyLKUITKZP9d+nH1I6dZwxX232
+C8vVmvm9ViUc8LQ+Y4JAJPpSy6PXAwfU/z/61jHIwbR5Z1PG+Zn3zdKeqkFngob5
+HKCBF69LaJWBdre3HaP5gEpD97K0DjQ5XGOqsaTDd6RBCVVSIzZRPlizlEo3mGMC
+Wm+NY3sOpJdrSsDZ39PvzD+7mdCsmcHE7GRsHYDoUcfwgwbqBNew3oT6efrh11oq
+TLPIDKcEozWc2sGnTwygKZmvYyUKIUOKEom5bK2k/4UdltVb0/Mr0vewxLQCZY6+
+PT61toY7stF+ug4LTH/SxbsPMeX8vxPIxfU1GNPCOLyNP9IlHYK4atXp9GPXsu4Q
+2QLI1g==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/20/root.crt b/src/tests/data/x509/pss_certs/20/root.crt
new file mode 100644
index 000000000..b9f9d3a2f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/20/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBATA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBC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x509/pss_certs/21/end.crt
new file mode 100644
index 000000000..95e8e0b1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/21/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBfjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMTAyMjAyMzEzMFoXDTI0MTAyMjAyMzEzMFowgZMxCzAJBgNVBAYT
+AkpQMRwwGgYDVQQKDBNKYXBhbmVzZSBHb3Zlcm5tZW50MSgwJgYDVQQLDB9UaGUg
+TWluaXN0cnkgb2YgRm9yZWlnbiBBZmZhaXJzMRUwEwYDVQQLDAxlLXBhc3Nwb3J0
+RFMxJTAjBgNVBAMMHE1pbmlzdGVyIGZvciBGb3JlaWduIEFmZmFpcnMwggEgMA0G
+CSqGSIb3DQEBAQUAA4IBDQAwggEIAoIBAQCypu7DsNKhL3/N6mMPhYBKPH1dBvUA
+55au+etGdP7KmpvhFij9h6jdAU/RAa80Bp25zQVLyd6Hro2j+m6GMZVNxMGa5wDp
+5Cx+PX08EI8mYrUCpXMjL40hMV7sIn8lsO+XHCtEwivpGD5Vxj2zH10pDKkY8PWF
+gNQdmJvkj/2gczeTbLWFsg17e1Rq0XsFh8iYs33uXk6AIiQP+F2L3s8Z69celYuS
+Ri4+td6dnjt1CeJpe8zuxyUnwosgrAoB2uFei66ETXqBP78hO1P9thH3EwJsPNGq
+ZgXKzXlX/lYuLVyUOG46XDhBJSko8SbWuR+BdU9T+NOlC4/dClCZj8iHAgEDo00w
+SzAfBgNVHSMEGDAWgBQ/qGoWopAU1VK5PNVM+5EUtrMdGjAOBgNVHQ8BAf8EBAMC
+B4AwGAYDVR0gBBEwDzANBgsqgwiGj34GBQEBAjBBBgkqhkiG9w0BAQowNKAPMA0G
+CWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAD
+ggIBAF8cRbZHi8KrmnG5uy9zC6brgTc8NPTiVt2dYcjR2w4n8BdDxZjG4vsZNUF+
+zDCgIrqbHBIPNJRLmihFvpek/9Tt6yuV37p8fGeP03lMHfalKMKW0qQw+mt3KOEs
+REsoDEqxS4F6Odr8ft4EpTtB8w4I4hxjGHAPvffXnTCeoxYQ0nKOt8TfRUVJfwpj
+chAV3cFwC8V5fQnUCIXhfOl1mK8iEjNLMEFnKPhhzNyzJeqBJTJo6/gCcg5tfjZz
+nabGdBc0TgNeDo5upv0MsPXuNYV/ATV/Gky0saGHIb2DXjRAJiX2q/5RdXEMmVOR
+gqg9YQM5fln1EKIgVAYNg5WprmMkRcmbp2kAJviDSdd+A+gu5YWe7a60W66DgSBZ
+voMQIb4RTEZwSJGFO7Ty2dGdwqwksPM867balCxgHKRdLfMgx8kFvf/hfJVGyMfP
+2VMwXAU/6IMh6TF+bKsTDeKBSOt9zLelVx/KzwLbsYlOfCrT/yelMmLJOl2kzecJ
+mhN23f6w8DM85iSqFBimLcipjRIkVKFSvN4hKiAsZEsXCI7J/++RxQ4rh/FabsNV
+2GYlvbe8kiDIEYhk+o7Q/s1DK2sTqq+WxexUhCIlZe90EOFxG9EsPyQQH4FdLDn5
+wT2l4T8yBjb1go/PVSm5au8QWCFEeMRSxzwsYsPkRuAPjJIj
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/21/root.crt b/src/tests/data/x509/pss_certs/21/root.crt
new file mode 100644
index 000000000..b3332e399
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/21/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9Kg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END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/22/end.crt b/src/tests/data/x509/pss_certs/22/end.crt
new file mode 100644
index 000000000..43218fbe5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/22/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBezBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMDczMDAxNTgzNFoXDTI0MDczMDAxNTgzNFowgZMxCzAJBgNVBAYT
+AkpQMRwwGgYDVQQKDBNKYXBhbmVzZSBHb3Zlcm5tZW50MSgwJgYDVQQLDB9UaGUg
+TWluaXN0cnkgb2YgRm9yZWlnbiBBZmZhaXJzMRUwEwYDVQQLDAxlLXBhc3Nwb3J0
+RFMxJTAjBgNVBAMMHE1pbmlzdGVyIGZvciBGb3JlaWduIEFmZmFpcnMwggEgMA0G
+CSqGSIb3DQEBAQUAA4IBDQAwggEIAoIBAQC0Gb2qEp1keU5x+DTs+AQO0K4eiX7L
+eClPX64QE+ayPCHunYNyj+pPH0x0Z5fCeKYQWI0wVsKqxIvnqV3BSLgmdb4GN9Sc
+2DS26dwgSoW/d8jnbPamvTmNd/NJv8qqS/V+f1KAMiwS9+lff1pxNNwbTholaUG3
+fC+JvKeD7ZNGgy2f7FyG2xvHMOEzE/eKJeG0SvxGGL/dq9aABswJWQ245pRSKLUh
+ZvTqG26KSJEj5f33N1n1t+dSI4eoaPiTuJ8m49KkLRFRVRsX0KlW9C5iO8kTPnrw
+JBgSKe8FkGvFTS3ucFEUePkB+2mS66i06PaXAHsFcxRcq+VNayWEQRejAgEDo00w
+SzAfBgNVHSMEGDAWgBQ/qGoWopAU1VK5PNVM+5EUtrMdGjAOBgNVHQ8BAf8EBAMC
+B4AwGAYDVR0gBBEwDzANBgsqgwiGj34GBQEBAjBBBgkqhkiG9w0BAQowNKAPMA0G
+CWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAD
+ggIBAGOFLtSGrRwPfttLNyJ2JOX1/8ix9knvdmQJFOinlQfl9BH/pOsOQoyiQ+yk
+k0WGg403mn01Y6o4RdXKdqbTAYQ3BypgGtVvzwttLw9qwZlsJCIPM0fRzlthaCFT
+iNMQmvxFHN4GNGBEQVIpmBViAL1bDf99fufzOi1GSkJpzzIiAMLXd8PQR7ub9WnU
+PmnsEN1MkaEMrH9vKHCyFRErWE1FZfD5rQAnAAiS8zWeuckQteaAgBRlclWCzRCS
+Mg4DG5cwC65qvn6kc/AqR4f3VsYXH2A6l56gz8+nxJy1sIocurCLy3gZ0iN8IJAJ
+jPTDryd1WEUPE5AHqMHv75giyLoDZ4wI333a19gFmb/7eUX3aGBfmEzA2wsmp7K7
+dMEk5mSmuCiXKbLZY9tH4SwyhUKrv1JRdl77wokAQiP+JNHTQViIdPXvZSZSak68
+5eLDIIMQtowozPemcdTkPJBHY9C2Cq8Ew+q7DcMySlF55y669SqW9XDndnKFpKPA
+7l9TcnljLRzhiBrY2I63GGzIJA5yA13k5AVxXN4R1p6mAnj0i91LZtj+tQ+xMYli
+2rNy+Lzoeabxi4dY+Am9D4JELFfRCJiH11vrlu/YiDpBjIq1g4ptHKkKOOJlWiiV
+9shsv4BLQg11eBoeD7IOpKlzOeAXf6hJqc1ZfpaRNiozbHSt
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/22/root.crt b/src/tests/data/x509/pss_certs/22/root.crt
new file mode 100644
index 000000000..b3332e399
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/22/root.crt
@@ -0,0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VyjlUL7uHxowWrT2AtTchDH22wTEtqLEF9Z3Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/23/end.crt b/src/tests/data/x509/pss_certs/23/end.crt
new file mode 100644
index 000000000..e95631826
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/23/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBeTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMDczMDAxNTc0NloXDTI0MDczMDAxNTc0NlowgZMxCzAJBgNVBAYT
+AkpQMRwwGgYDVQQKDBNKYXBhbmVzZSBHb3Zlcm5tZW50MSgwJgYDVQQLDB9UaGUg
+TWluaXN0cnkgb2YgRm9yZWlnbiBBZmZhaXJzMRUwEwYDVQQLDAxlLXBhc3Nwb3J0
+RFMxJTAjBgNVBAMMHE1pbmlzdGVyIGZvciBGb3JlaWduIEFmZmFpcnMwggEgMA0G
+CSqGSIb3DQEBAQUAA4IBDQAwggEIAoIBAQC39utMhY5hS2SlUWwxN0fsjpp/P6+j
+UAMW6SWLdlU6k5Koh8t2pygoinRMc4Z/Q87/KfeNagdTJJ77YkNYnwCa9sAmlHO4
+G0rzlpxGf61u5Ee8Kt8owBeSSlC3WXlyhlJ0Qmps38ooJm6eg45tB0MglrTccjHH
+EsD3HQqcPXDDr8WOQ46hxCIhBzJNU/l+NVaHzvTebywVO7d3F5Rd8wWH+VTnB2ig
+c9a8+mUz0TQ7QFkVsc8PupU/ng3sLQVHEbrcZ3S+7khxw9DCusqlmyTcuPh0bao2
+KmVU3xYGnM5zgiFgGwnxrA4Ikw64iQbJFK+iue9T9jIOzF/FTzxrucGfAgEDo00w
+SzAfBgNVHSMEGDAWgBQ/qGoWopAU1VK5PNVM+5EUtrMdGjAOBgNVHQ8BAf8EBAMC
+B4AwGAYDVR0gBBEwDzANBgsqgwiGj34GBQEBAjBBBgkqhkiG9w0BAQowNKAPMA0G
+CWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAD
+ggIBAKKfI8r/G4cUpV7Tj8ZauMMmcd7bOjhM6RCJJEZIc7WMCtUtWWAXJbihtB0T
+2m2khwCW4s3VjkXbAqEzXGO4mQMvV+0i5sdGu2zln25imWMnEJnhaqPuQ1yZv6/z
+FDFCwZ+w0C5mwHn+ox++xyPor3YswiUsK5EoT/6nPdZ4g0YI2ID6nUxuU5N0Zo0i
+cR2qxmAxNXFV6DeWTtlF3Ro5nS4SRsVlpPrMp2+fc7KltpaXAvqzesyWKn9mfcNC
+ISGUMoHH2bFdQzJJp8ToOYVm07DoiF8mztv835NtR2+tghUt5/Eg2GGg+OxARp+0
+fd4PCqWriTH3d5jHgFBgChC1/Obb+FFHSugKKudf5PKLBqMgdxHmdSHK2XTsbc1A
+/bnayUI/ajicmnMYKMLYmX7gsGe6fqEp9CgDkdMUKMtwdPcr09kr7m/G1erCCq3G
+x/1RPvEaj5rRswWmRk9c7qBwObrGNAyA3TdqEFFcGhuWBoy5hCGKSoppWmEGENKy
+VAXTnjCLrt4PUr/NFtw/cBiuFvJ1v1x9GGd7FVpsOOlGftIGCxbYbrDkTex09GNH
+Itye3jVAs/W2fAGMhl3SartM5MlyYOHOxAlt2AMK0yTEmJAK05VpYmDpYzNGEJTP
+5C9CNM6jj51SOI6ekrCHdtOGu8XXcj3XKRAsFSFQgBkPrhl3
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/23/root.crt b/src/tests/data/x509/pss_certs/23/root.crt
new file mode 100644
index 000000000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Q5jO/FtUJcAVXVVp20LxPemfatAHpW31WdJYeWSQWky2
++f9b5TXKXVyjlUL7uHxowWrT2AtTchDH22wTEtqLEF9Z3Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/24/end.crt b/src/tests/data/x509/pss_certs/24/end.crt
new file mode 100644
index 000000000..724db77f0
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/24/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBfTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMTAyMjAyMzExN1oXDTI0MTAyMjAyMzExN1owgZMxCzAJBgNVBAYT
+AkpQMRwwGgYDVQQKDBNKYXBhbmVzZSBHb3Zlcm5tZW50MSgwJgYDVQQLDB9UaGUg
+TWluaXN0cnkgb2YgRm9yZWlnbiBBZmZhaXJzMRUwEwYDVQQLDAxlLXBhc3Nwb3J0
+RFMxJTAjBgNVBAMMHE1pbmlzdGVyIGZvciBGb3JlaWduIEFmZmFpcnMwggEgMA0G
+CSqGSIb3DQEBAQUAA4IBDQAwggEIAoIBAQDxpBVhzobyha46IUb8WdudooWE5Ief
+WtqJ3yR1jjrUf9kbKyZzateafKS6B+JfL8Q71PvoDujLg8iyz4o0Jj7xScJo/BdR
+kE3Nj1KbCCVyp7wx6iC13RN0I1fpbhANkIak5fN6G4QIBXUgzXntn6+ARF4wuKmC
+hAVJbEi6mO1ZcsEteUsKF4JMl8NUumkRbl3/IFZo56L3bJawRI9IdIkeIGOWYZwE
+GJfY3j9t4WTb+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t b/src/tests/data/x509/pss_certs/24/root.crt
new file mode 100644
index 000000000..b3332e399
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/24/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBdjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMDUxNDA1MDczMFoXDTI5MDUxNDA1MDczMFowbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAx/E3WRVxcCDXhoST
+8nVSLjW6hwM4Ni99AegWzcGtfGFo0zjFA1Cl5URqxauvYu3gQgQHBGA1CovWeGrl
+yVSRzOL1imcYsSgLOcnhVYB3Xcrof4ebv9+W+TwNdc9YzAwcj8rNd5nP6PKXIQ+W
+PCkEOXdyb80YEnxuT+NPjkVfFSPBS7QYZpvT2fwy4fZ0eh48253+7VleSmTO0mqj
+7TlzaG56q150SLZbhpOd8jD8bM/wACnLCPR88wj4hCcDLEwoLyY85HJCTIQQMnoT
+UpqyzEeupPREIm6yi4d8C9YqIWFn2YTnRcWcmMaJLzq+kYwKoudfnoC6RW2vzZXn
+defQs68IZuK+uALu9G3JWGPgu0CQGj0JNDT8zkiDV++4eNrZczWKjr1YnAL+VbLK
+bApwL2u19l2WDpfUklimhWfraqHNI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f6TXO2Tdy6G++YUs9
+qsGZWxzFvvkXUkQSl0dQQ5jO/FtUJcAVXVVp20LxPemfatAHpW31WdJYeWSQWky2
++f9b5TXKXVyjlUL7uHxowWrT2AtTchDH22wTEtqLEF9Z3Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/25/end.crt b/src/tests/data/x509/pss_certs/25/end.crt
new file mode 100644
index 000000000..e77507547
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/25/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBejBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMDczMDAxNTgxMVoXDTI0MDczMDAxNTgxMVowgZMxCzAJBgNVBAYT
+AkpQMRwwGgYDVQQKDBNKYXBhbmVzZSBHb3Zlcm5tZW50MSgwJgYDVQQLDB9UaGUg
+TWluaXN0cnkgb2YgRm9yZWlnbiBBZmZhaXJzMRUwEwYDVQQLDAxlLXBhc3Nwb3J0
+RFMxJTAjBgNVBAMMHE1pbmlzdGVyIGZvciBGb3JlaWduIEFmZmFpcnMwggEgMA0G
+CSqGSIb3DQEBAQUAA4IBDQAwggEIAoIBAQD98JqVDyxf69vjGDpYcUxBLS2tiuBW
+iwWIqSeIqCsb0RR8hePU7jBj7BnAXHTet6B2T4e48C5l7OO5E/nDEPYfZpLz7KoK
+ud4pUhpEB2W0CjrZbS3P7VzWsFv0gQNu1xfj90C2UuprhCdcuFKQqbXr6aM2UKkq
+Nlr6G5li3WwTeSkiMnXa/RBTOHS7Iy+uj5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+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/25/root.crt b/src/tests/data/x509/pss_certs/25/root.crt
new file mode 100644
index 000000000..b3332e399
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/25/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBdjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTEzMDUxNDA1MDczMFoXDTI5MDUxNDA1MDczMFowbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAx/E3WRVxcCDXhoST
+8nVSLjW6hwM4Ni99AegWzcGtfGFo0zjFA1Cl5URqxauvYu3gQgQHBGA1CovWeGrl
+yVSRzOL1imcYsSgLOcnhVYB3Xcrof4ebv9+W+TwNdc9YzAwcj8rNd5nP6PKXIQ+W
+PCkEOXdyb80YEnxuT+NPjkVfFSPBS7QYZpvT2fwy4fZ0eh48253+7VleSmTO0mqj
+7TlzaG56q150SLZbhpOd8jD8bM/wACnLCPR88wj4hCcDLEwoLyY85HJCTIQQMnoT
+UpqyzEeupPREIm6yi4d8C9YqIWFn2YTnRcWcmMaJLzq+kYwKoudfnoC6RW2vzZXn
+defQs68IZuK+uALu9G3JWGPgu0CQGj0JNDT8zkiDV++4eNr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b6UKdHcPLR1VZtAdTdTMjSJxUqD/35Cdfqs7oDJXz8f6TXO2Tdy6G++YUs9
+qsGZWxzFvvkXUkQSl0dQQ5jO/FtUJcAVXVVp20LxPemfatAHpW31WdJYeWSQWky2
++f9b5TXKXVyjlUL7uHxowWrT2AtTchDH22wTEtqLEF9Z3Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/26/end.crt b/src/tests/data/x509/pss_certs/26/end.crt
new file mode 100644
index 000000000..f13802d4b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/26/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBOzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xNDAxMjExNjAwMDFaFw0yOTAx
+MjExNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IERvY3VtZW50IFNpZ25lciBDZXJ0aWZpY2F0ZSAoTWFj
+YW8pMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAl9R8zu89ZcKVrhfe
+TizKp7KQHDuntSfaD/3IMplVayuyjKJpL4UxMm7ixmOmewhd860fBWMjgC3SQn30
+L6LPsRGbUdQCPNbFWs2laa4xNvWqoDKwxa/zjzjtkM0zciQvyARUhD6Dy0NkK1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VeuuyD57DLvXktbAc+LT6adY6aBuXo9vWwsYfGQ9l
+VZjjQ4KNUaIwB+SUOtmkZ8vpYfkf78hAHuKCF7BsCa2NwbePrXl5ZKRPPfG1bvop
+U5fSxK8BFjAl8BbNd9Sf7SOtsbRW5J1MoBGjHA0I7jIRhmAClHJt3u7JOCTOA8NV
+lLE17G5T/HFOrFD0Qg48ekZFNnk2g4zA
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/26/root.crt b/src/tests/data/x509/pss_certs/26/root.crt
new file mode 100644
index 000000000..3f930da5d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/26/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBMzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xMzA3MTAxNjAwMDFaFw0zMzA3
+MTAxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSAoTWFj
+YW8pMIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEAk36aawkcMmYilDNV
+N0fuiObdvnW6CnYeLvpuY9PDUMojs6rVrvSJgNX4znqFx3djaXoeunXfxSNUA+Ec
+AbJHUTOYxpzUiy7hLT8zPzeoE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3ozemOdJpxBajlEO
+6Y/UuItNRyC16+W2XzxzaCkOQbe6UBOVYPM0hQcK/CfQU9FInY6E4ULN1BDzYnbN
+eczSWvJbxdHUCEJixpCPdOdslbEM1wStTXxCZsUDJPSwVCYvWM7XcD5waJ5tr4S5
+6EAC/EIk5EkrbeEXQSwKubE+Vs6s3lg5KUXwUP42FWv7rkSOR78F88n9X6Dz2e3h
+Di2uGWn3kjgxChKVmvbdF9wG+sw4CjVfBwSbHomoTKj976Y1ddmrlcla9ar9BOLi
+7czP8+y0yuOFhzOC5wir897u8rTDneCIIB+qaS9AZBAffHxznP8CYBi7bXflkN+T
+3YVlUVPjJZy3v2864F1oUmfqb8Qkzc5Ac7419FdemeMyihSZbdPq4phmRrwXj3vb
+3TI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/27/end.crt b/src/tests/data/x509/pss_certs/27/end.crt
new file mode 100644
index 000000000..650445e0e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/27/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBQTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xNDA5MjgxNjAwMDFaFw0yOTA5
+MjgxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IERvY3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eyc2ET521tIUo9ELip
+Nzl5v4LSKVn0y3T+eWtcWZ3RxONSArabA9CRfc1dOcVq/0F2Th7LeMFJcH4Fo0hc
+dsJOLecBRQgl0IC5fWjT34B4hmAU+WhITfnoGIfYzu0lMJX0BAsa2TcohRgFuZhN
+0KYX0HrDwbAvyDlY+UCFXUJPWLtNqQJ5eTTG5OWZkJT5IrLQ5BL9isyGgKH9Q9ty
++Zaju1rk1719gTf+lS/RVj7qJKXSA2QkHhOfvXcXiMKnRrkuNQ8Pk/WFW2JbOltB
+O9nj9/0bZl/txn8Ai5mY+yvoVQhg3ju0TqR6r1kDXpNEPNH6NPoTdNj4eFeESr1F
+Zz0aQzcl8nR5M3AnNtcLey+PX9kJMHvx8cqA2g3WSL2eptWTuMhVeCQZytN3M0Bh
+i0MX8B6KA8PfO7wK7Ie5KUKkiHaxCa4m
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/27/root.crt b/src/tests/data/x509/pss_certs/27/root.crt
new file mode 100644
index 000000000..3f930da5d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/27/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBMzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xMzA3MTAxNjAwMDFaFw0zMzA3
+MTAxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyB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xrDzxDIisyYrlIjwMXOdA4eK1wz1MUOaPm/P7OsJpGO0gam5WoiNYIatWTcX/
+ojg/ZsMm/83o1/lZKx8/oDS2SeMUIjuILawPynXwxjRAyUbLdlHo9sVbsssWEoI/
+r1eG0UjDvLTnbeFlt+f85fJGv8bM1VN7Wjx+2fDpo9Vpc8CB/A6c3p+r1Omg3/zJ
+teLuKE+R7cekDaAQ98TQQJ4QB4kvKDB3EK2hQMKCdCohEhRD3ozemOdJpxBajlEO
+6Y/UuItNRyC16+W2XzxzaCkOQbe6UBOVYPM0hQcK/CfQU9FInY6E4ULN1BDzYnbN
+eczSWvJbxdHUCEJixpCPdOdslbEM1wStTXxCZsUDJPSwVCYvWM7XcD5waJ5tr4S5
+6EAC/EIk5EkrbeEXQSwKubE+Vs6s3lg5KUXwUP42FWv7rkSOR78F88n9X6Dz2e3h
+Di2uGWn3kjgxChKVmvbdF9wG+sw4CjVfBwSbHomoTKj976Y1ddmrlcla9ar9BOLi
+7czP8+y0yuOFhzOC5wir897u8rTDneCIIB+qaS9AZBAffHxznP8CYBi7bXflkN+T
+3YVlUVPjJZy3v2864F1oUmfqb8Qkzc5Ac7419FdemeMyihSZbdPq4phmRrwXj3vb
+3TI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/28/end.crt b/src/tests/data/x509/pss_certs/28/end.crt
new file mode 100644
index 000000000..e6b785241
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/28/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBPTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydC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OMvL
+SFNLKLkHQvildUYWFoS8W8sfNysTKq/VFXxm1bMVBakPhbm2EL1CAlKY1dg1PCEE
+89GQ1FbTtiQFQW8pSNe0+xLip4sXAxYsjFpSH2lRUYnlo394PYaUEzKH6Izhc6H/
+5RabcAatB3DwVXD1edIpOK4V2a5q/X+8c15XqwIyOsXTwouvaYPWJZ8FDauaKoyq
+GLfRKcNFzQK3n8tk8sQJCsEwpFM4FTUJjdcPwB/8mDUFoDgmoITQzYlfV1H3/VCp
+ai7zHUCYIL0aPqCIgpyW7ATPnFbCQbUYXqq6rxkCCC/iAmL07VyuDf3/+NPRAgoW
+WxSkgQKLhQPkOOkxGddL07cL9uQAvFewO74ZLkX/W2qILQTjdzcRGNyvGbTl3sK4
+++j2AQ3mt6zcWU1R3WNpsaEzW4ikREDZCvFEUIInjMTZodb5butN5axAZkFp8FCb
+IQBH0FaCTvHv9SXLK9XeDf7rSkyN9azvI5+ZUD0wjzruOoZqOPMtLFqOn8eDc94D
+mHaMe+l7ExSKywK0+TRZrhZb7h06TgJs3srGl5wkpcvucd37nBDxHI6Vt76k6CVp
+qD7dGSuBZW+UfKJamBTG9VPKZgqfPQC2MWWXn48qR9enl+uyf3TxqWr+qjPO5QV3
+nrlMivRYQuGipNWzceNzi2vmZ4Jrd/1W
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/28/root.crt b/src/tests/data/x509/pss_certs/28/root.crt
new file mode 100644
index 000000000..3f930da5d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/28/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBMzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVy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BDMB0GA1UdDgQWBBRtckHLKyFzYmEZ
+TALTOesDxx1T3DAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADA9
+BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEaMBgGCSqGSIb3DQEBCDALBglg
+hkgBZQMEAgGiAwIBIAOCAgEAEH2OX7BVQfzVq5wRB69SB3DNuHf1shi3HzMS22oB
+px2xrDzxDIisyYrlIjwMXOdA4eK1wz1MUOaPm/P7OsJpGO0gam5WoiNYIatWTcX/
+ojg/ZsMm/83o1/lZKx8/oDS2SeMUIjuILawPynXwxjRAyUbLdlHo9sVbsssWEoI/
+r1eG0UjDvLTnbeFlt+f85fJGv8bM1VN7Wjx+2fDpo9Vpc8CB/A6c3p+r1Omg3/zJ
+teLuKE+R7cekDaAQ98TQQJ4QB4kvKDB3EK2hQMKCdCohEhRD3ozemOdJpxBajlEO
+6Y/UuItNRyC16+W2XzxzaCkOQbe6UBOVYPM0hQcK/CfQU9FInY6E4ULN1BDzYnbN
+eczSWvJbxdHUCEJixpCPdOdslbEM1wStTXxCZsUDJPSwVCYvWM7XcD5waJ5tr4S5
+6EAC/EIk5EkrbeEXQSwKubE+Vs6s3lg5KUXwUP42FWv7rkSOR78F88n9X6Dz2e3h
+Di2uGWn3kjgxChKVmvbdF9wG+sw4CjVfBwSbHomoTKj976Y1ddmrlcla9ar9BOLi
+7czP8+y0yuOFhzOC5wir897u8rTDneCIIB+qaS9AZBAffHxznP8CYBi7bXflkN+T
+3YVlUVPjJZy3v2864F1oUmfqb8Qkzc5Ac7419FdemeMyihSZbdPq4phmRrwXj3vb
+3TI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/29/end.crt b/src/tests/data/x509/pss_certs/29/end.crt
new file mode 100644
index 000000000..53d795214
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/29/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAw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Rpb24gU2VydmljZXMgQnVyZWF1MTswOQYDVQQDDDJD
+aGluYSBQYXNzcG9ydCBDb3VudHJ5IFNpZ25pbmcgQ2VydGlmaWNhdGUgKE1hY2Fv
+KYIBMzAOBgNVHQ8BAf8EBAMCB4AwPQYJKoZIhvcNAQEKMDCgDTALBglghkgBZQME
+AgGhGjAYBgkqhkiG9w0BAQgwCwYJYIZIAWUDBAIBogMCASADggIBABDu6Oku/mT+
+Ny3qjuLOyRIZD3TAc4W1m4X1cKIJ5vPjESyTQ/4q//1Qytr7xSMVU+cCX6Vcihby
+2etFoBsqxL0KUm+DmHhlfoVNS8Yck72HiaxneQbSmltF+4PT/t+WwbFlcWEOFb7w
+ggfnwT8DSZYSwkP3Scm2NnsX3N4l6X+WWFsgG5mLaPQs9spQIZJidaYCe9oA57fW
+kuT7c9rlzyK9IvMDVxErihOI1IXDBK01yiPaWcS211iR1su2ae1J9XSfSmbEvNUC
+3ynPTKigD7Yyn5IU2n7ZmH2wgeNmkfzhpkPWgBjCiVWecfmTFfkm9MKqXX42wDaI
+xkBhG+aJygMCEVB8i4eVd/CqWfRRG/Tysg8usZFkYvcT3aEj4WfF3bDBJjRojJ0k
+aPpU5ic26RwNdxV0gtQVX8IgdRJIVMbfRtdzWJlGOERcONQmCF8ePek5QEc7n3J7
+Dq4YN5IPMmrDp/o8SH+u8//qfwj0goPJotDBpAFQ3m59oUnX+1hc2jkayBe1KNAD
+zZGH1WavWjQLlWeEGFEYWFdVM4hCNdbpl6W9CZSJkrVrCZOZsIbcSxcYlmQYh9bL
+tQOVH4hZ9wwvZbUSc7rUpxypJMRs+q49yhL2Ah0UQERFJTQljLj4OUb5osy6E2Ln
+N5ZxHhz7i7LtOIXADkkejenMWFDt03It
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/29/root.crt b/src/tests/data/x509/pss_certs/29/root.crt
new file mode 100644
index 000000000..3f930da5d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/29/root.crt
@@ -0,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y3v2864F1oUmfqb8Qkzc5Ac7419FdemeMyihSZbdPq4phmRrwXj3vb
+3TI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/30/end.crt b/src/tests/data/x509/pss_certs/30/end.crt
new file mode 100644
index 000000000..e327374a7
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/30/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBPzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xNDA3MDkxNjAwMDFaFw0yOTA3
+MDkxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IERvY3VtZW50IFNpZ25lciBDZXJ0aWZpY2F0ZSAoTWFj
+YW8pMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEA3vBOZu9D6IIvQffZ
+dskff1YMp/dh3K2pyLeH9O42mFPN4yYJ+MRlnZNaBBD39Xau5qNOun/n0hx+UWLM
+ZS0+0k4YlhZHXViXyrmkvrdYXEnQ4PeulmS3siudxxIvUfiL6d/MiO09+FV494Xp
+GwUNi61TQarly0q7NTn4H6o5TAMg3Esgogv20H8zLb/W0RP7adpXqGjVr6MOW8XD
+dy87JygMnAuNETUiujaVrLtAoyCcZpA5Ismqi3QSjOSybLITgVaQ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vh5+SLLqo5Gqbxs7vZxe28IhpI+7t76rUQxSmmD0r4NwTCVJmW67HsVLj48s
+cmn2cyNGoksYev71FP4xfRdfrWndgQ6Z
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/30/root.crt b/src/tests/data/x509/pss_certs/30/root.crt
new file mode 100644
index 000000000..3f930da5d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/30/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBMzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzELMAkGA1UEBhMCQ04x
+EjAQBgNVBAoMCU1hY2FvIFNBUjEnMCUGA1UECwweSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MTswOQYDVQQDDDJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTAeFw0xMzA3MTAxNjAwMDFaFw0zMzA3
+MTAxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSAoTWFj
+YW8pMIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEAk36aawkcMmYilDNV
+N0fuiObdvnW6CnYeLvpuY9PDUMojs6rVrvSJgNX4znqFx3djaXoeunXfxSNUA+Ec
+AbJHUTOYxpzUiy7hLT8zPzeoEFtcXhdEBddQ18isujcf1MvSE55MvjOpQ+4OUey5
+cz8uayuarycxF6MVkFRlpYY0k8mRsUQZqzGysNrYNti5fr3T1QbMqvufAeKkYW3n
+Dx+0P0Ct+bmBEASnm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DJPSwVCYvWM7XcD5waJ5tr4S5
+6EAC/EIk5EkrbeEXQSwKubE+Vs6s3lg5KUXwUP42FWv7rkSOR78F88n9X6Dz2e3h
+Di2uGWn3kjgxChKVmvbdF9wG+sw4CjVfBwSbHomoTKj976Y1ddmrlcla9ar9BOLi
+7czP8+y0yuOFhzOC5wir897u8rTDneCIIB+qaS9AZBAffHxznP8CYBi7bXflkN+T
+3YVlUVPjJZy3v2864F1oUmfqb8Qkzc5Ac7419FdemeMyihSZbdPq4phmRrwXj3vb
+3TI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/31/end.crt b/src/tests/data/x509/pss_certs/31/end.crt
new file mode 100644
index 000000000..719f045b5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/31/end.crt
@@ -0,0 +1,25 @@
+-----BEGIN CERTIFICATE-----
+MIIETDCCAoCgAwIBAgICALswQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTE0MDczMTA4MTY1NFoXDTI0MTAzMTE0NTk1OVowSjELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNVBAsMBE1PRkExFzAVBgNV
+BAMMDkRTMDIyMDE0MDczMSAxMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKC
+AQEAxU5IKVizI6gf0hB/NIJMyLvisUTYR62fUOrR//OJjoebi498PWLn4+tWwQpP
+65XYHR5DqYcZ/Kn47uCAtdG5Ws2Sowj7KsOFinT4+6kvll+wp6Fu/2G063wkVpgt
+toShVuKYdCv1r2memTC5LYNIuHSWzrzPPHtXlN/IF6hok7t3pNcCbWm2bHqNlCbt
+d8kCv7ezl3DivYW+UUhQjibTbRery5bUKctVt5MDlRnlhD4L3vQ9gS8HjuR6pAQ5
+qmgfg4DsVcBLbYNx1qJ+p7BzjIlhhUv7f5PeWOy9PMLCKRlmrsv1EmBY6mSJR5zj
+UcOMT3xzgXvc87qBt7Y2+1LNjQIBA6NgMF4wHwYDVR0jBBgwFoAUfAYmGuN94z/6
+1hRw5au/bRR9J/AwDgYDVR0PAQH/BAQDAgeAMCsGA1UdEAQkMCKADzIwMTQwNzMx
+MTcxNjAwWoEPMjAxNDEwMzEyMzU5MDBaMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZI
+AWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOCAYEA
+JydNd6NknBUxGorOmSuY1lrSanIkChXcvxbaOSEBGAS6vwiyYtzlHpu/L2AMnkK9
+I+b9VxBA6FiZXbJd9ztRCCaz4/Z1hqbnV12p28h3MsQEMRplPrePx7lTHAFeTK2E
+fRnUZhAzpkoeK9+ruXZDFLeXM/N5rCmP3XFfI/+ySdEu+/PxkdQfo5egt15PFlPb
+hWl5o3YvwuZ73Az36S4iuPmz+uBo9yeq1ufQV2IGQqwKFTz3EA3tAeQnuxtQq5Ph
+ksujC9AWHw4o1W8F1susYvnIoJMH4UniEINerqBzzxtmxYkPOGAVbvpJI7+hyEnM
+fCr5NUKjuzQHjBFviOlXzlBvcywNAxiIhUUtzxW+dqD+rGVG7FhBhX94S+NKXK17
+XJR/DyWRE7jDCc8PLfqAelln3B8BWfEozKDtrY3MhwVVmUz36N+SfJfHIrPTTG8W
+0TEFLiptEZ5tngziH6dXMMpTNvRlQ9kUmHVJnv+fVPuJn3fpjWnKe4EIKy8BJYtw
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/31/root.crt b/src/tests/data/x509/pss_certs/31/root.crt
new file mode 100644
index 000000000..6a9dda47e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/31/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE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H/BAgwBgEB/wIBADBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBADgilI6lg++h
+Ksepo0VexD4+zwQFYaygu+dpMLtd5fbyL/ewqYAPt9NReNK1m8mcl5k3isKvcOvp
+p36hxn+DQioBHOEruBxEsmS6yueyE6ZHOANJ0caU31+GO1g+pggmEjjzA+TxhMG8
+AcJsBgquDZmLVGryb5VvbAfotXe6FwiiPtLsHzB1dYoiy1Uyu2HT8cYHRZ5l1v43
+sVqhz+TcdVN+i2E/O8H/ctQYje9ePbepLRetXbiwgpOlYEY90E1XtYeRGpD+91K6
+jKJv6H1PTs88wgMvtDVrPSNHCSz/xWDHylBjwR24ycYMArq6h9hdhOKsXsQHllht
+CA9hr362OsNfHEDxQAYfSoOCz9v13IyJBFtUY8trDVBVO7RWmChZh0OT5ocEGNW3
+mAO5FRtkWQ9O8vdlPdxBkpWX9rn1B2epyPRmH78wo79Ar49d4rLSnR+M1xLt0ClO
+KhV8xz1D7zCkDtel4dbPmFeyCHXDE5AtgTlSGb/Sfr/gz4bwghJWVQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/32/end.crt b/src/tests/data/x509/pss_certs/32/end.crt
new file mode 100644
index 000000000..aa02b258b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/32/end.crt
@@ -0,0 +1,25 @@
+-----BEGIN CERTIFICATE-----
+MIIETDCCAoCgAwIBAgICAKgwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTEzMDUzMTA5MDYzOVoXDTIzMDgzMTE0NTk1OVowSjELMAkGA1UE
+BhMCS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DhIUo+bkxwoKNQpgs7KdtZQFBjSMfAqvhh37O6SQAndYxO5J
+POHEoZgCsKhX3A1nR3MGyzV55GqWAf/6XiG1/2FU10WL1od5fgo+5KU0LbVquR7N
+fYq9yz8W7MeHg2jx22/jsGKEv9azciD46S2yDrGsD5zs/DMb6tG0HC4W6MEtM74F
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/32/root.crt b/src/tests/data/x509/pss_certs/32/root.crt
new file mode 100644
index 000000000..6a9dda47e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/32/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1DCCAwigAwIBAgICAKMwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTEzMDUzMTA4NDE1NloXDTI4MDgzMTE0NTk1OVowQDELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNVBAsMBE1PRkExDTALBgNV
+BAMMBENTQ0EwggGgMA0GCSqGSIb3DQEBAQUAA4IBjQAwggGIAoIBgQDH/nWcas+e
+p0xr3OGgYFg0z0lziSszRIEfBPVm5MXT4I+6zRpttP1rT+bOQSyJw6ceEGTDNVmC
+bEKKENsLXMBnPwJPRUCNtTUoOLTAx3ydLwbjyu4OxMkTXl3LnhwFZkx+aNmmmFXX
+ik/KiybEK60bdKzvBFffAUMwJ4dWidt4tsAsDMpzqbIskX/rUTk30EHu+oxQVfjA
+8T3E/wY2Ftlw7HMQJ+Hpt+YS6FSIMxov0mOOTuASLQH0yNRT8aKreRL5Li7tIYwJ
+0iymEHWs6ZAHNlRyJVrkhlzmZBMmH0n59ljd68e7RZtebcF+2/j82aYNG1QYdey3
+pIYR32WR7Evpl6dVdzBDSZuJfvXU5qO7hyMrkb+AG29MUZUGMsQwQAhw2y/mGylv
+H3mWzOjtRqXeLLfAc1kdwrVCWqRo/HJmAyh0bRMTQq4qbZf59Bct4tXE83+pqqWn
+nJh7l8TGl5UQ8Z9dcWaqiOSgu6YXrKabTxTr6cEp0KSLFSY89wMVYI8CAQOjcjBw
+MB0GA1UdDgQWBBR8BiYa433jP/rWFHDlq79tFH0n8DAOBgNVHQ8BAf8EBAMCAQYw
+KwYDVR0QBCQwIoAPMjAxMzA1MzExNzQxMDBagQ8yMDE4MDUzMTIzNTkwMFowEgYD
+VR0TAQH/BAgwBgEB/wIBADBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBADgilI6lg++h
+Ksepo0VexD4+zwQFYaygu+dpMLtd5fbyL/ewqYAPt9NReNK1m8mcl5k3isKvcOvp
+p36hxn+DQioBHOEruBxEsmS6yueyE6ZHOANJ0caU31+GO1g+pggmEjjzA+TxhMG8
+AcJsBgquDZmLVGryb5VvbAfotXe6FwiiPtLsHzB1dYoiy1Uyu2HT8cYHRZ5l1v43
+sVqhz+TcdVN+i2E/O8H/ctQYje9ePbepLRetXbiwgpOlYEY90E1XtYeRGpD+91K6
+jKJv6H1PTs88wgMvtDVrPSNHCSz/xWDHylBjwR24ycYMArq6h9hdhOKsXsQHllht
+CA9hr362OsNfHEDxQAYfSoOCz9v13IyJBFtUY8trDVBVO7RWmChZh0OT5ocEGNW3
+mAO5FRtkWQ9O8vdlPdxBkpWX9rn1B2epyPRmH78wo79Ar49d4rLSnR+M1xLt0ClO
+KhV8xz1D7zCkDtel4dbPmFeyCHXDE5AtgTlSGb/Sfr/gz4bwghJWVQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/33/end.crt b/src/tests/data/x509/pss_certs/33/end.crt
new file mode 100644
index 000000000..3725dbbc7
---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+djH6jsVQocTA9LJdH8jWeKKHwA787GtF1taFvOrsLEHC0T++9ODEKDfQbFkDCO8H
+7rzLMxtjRKfZIYwHOQ5bqu/FUZwJYelhZzHk8R0eJOyiRDNX9Trs4eIyVhWE9Hjf
+/cYCJe/yd0KGWBIu/UhBZ/c68InyD1IRGqymFCFNP6ekKO01noxyoEvj1GM7iy08
+VdyCPgpylYkChwF7vC3wWcm2aKEcQFsjJa3ewNmLxsUQen50+4Vzd6pZ1SAztgHA
+UmfCA5GusFAsClHbSOBcWNx0/cbcQUM7fwYmhpeTbdM4qvHJfea/qqeiTZqnCP2i
+RbFQDwnnVv4GCkguf0eq0YkR3NVSiZm1c2QgSDdT+nX77BwxxQlRREmO57vCvZ7I
+y8z95ip02cgrcDGmNCTaQZ4BUbjFVTbW3ESfMY/tLc0LrfJDvP5q3HcqQZ7TdbZa
+lxkcS28PLQHRUUSpgE/ehrR83iqJDcfEmTNf6NZPDt0n+BzgWcXwcBnDiWewk3/7
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/33/root.crt b/src/tests/data/x509/pss_certs/33/root.crt
new file mode 100644
index 000000000..6a9dda47e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/33/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1DCCAwigAwIBAgICAKMwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTEzMDUzMTA4NDE1NloXDTI4MDgzMTE0NTk1OVowQDELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNVBAsMBE1PRkExDTALBgNV
+BAMMBENTQ0EwggGgMA0GCSqGSIb3DQEBAQUAA4IBjQAw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K6
+jKJv6H1PTs88wgMvtDVrPSNHCSz/xWDHylBjwR24ycYMArq6h9hdhOKsXsQHllht
+CA9hr362OsNfHEDxQAYfSoOCz9v13IyJBFtUY8trDVBVO7RWmChZh0OT5ocEGNW3
+mAO5FRtkWQ9O8vdlPdxBkpWX9rn1B2epyPRmH78wo79Ar49d4rLSnR+M1xLt0ClO
+KhV8xz1D7zCkDtel4dbPmFeyCHXDE5AtgTlSGb/Sfr/gz4bwghJWVQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/34/end.crt b/src/tests/data/x509/pss_certs/34/end.crt
new file mode 100644
index 000000000..a7cb5e6ec
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/34/end.crt
@@ -0,0 +1,25 @@
+-----BEGIN CERTIFICATE-----
+MIIETDCCAoCgAwIBAgICAK8wQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTEzMTExOTEwMDEzMloXDTI0MDIxOTE0NTk1OVowSjELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNVBAsMBE1PRkExFzAVBgNV
+BAMMDkRTMDMyMDEzMTExOSAxMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKC
+AQEA0ed/CTeGnve7ELXE2sM/+1I3sF8gnVwBqx8dHQu0uGod2I8FUAuTrhnY3OtN
+Lo/iSyFFjrVdhnNnoZd92kmONkEUYHddOzaBLlpw2Ay3E6E5MAvkXa58DnIf81m3
+um6QXrsHsuKrhIoEUunt3GK8SnsLIXErpFyMyEZy+DZIY3WcFsT3kheS0ChSM4+c
+OxcFMYdQri2xK0iCGBcesX9TBvgnKzQpYEqAqH8Q81DIpM6DPtZJD2GbVTlgHP2B
+u5EAOTcrdWUUdkLNCjy43BweGYROq5+Qaed+KuJAeaCVnbowQte6EKV9jwps7p7o
+pFZmbbjBQ/MSnflc6u+iyKwMRwIBA6NgMF4wHwYDVR0jBBgwFoAUfAYmGuN94z/6
+1hRw5au/bRR9J/AwDgYDVR0PAQH/BAQDAgeAMCsGA1UdEAQkMCKADzIwMTMxMTE5
+MTkwMTAwWoEPMjAxNDAyMTkyMzU5MDBaMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZI
+AWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOCAYEA
+Y+27feE2moGjqonS7Mlkob5fw4Yl5YbM/I4PlO+NKUot7AzwZ167zmgo/SG4TCCb
+QSoPJsf41Z0p3mzngbES/cyvWFAzd8ttvArGOtS3GM8KKi8JnA9O/2A23VtUdoE4
+WCuU3+k7MDNjssMFM4u8nX1dSr3zfzNXE79NiaaQDR9GH+22rarBq861RGCmO4fe
+XOuZjKqmSWoF7Bwx2JCMNfkv7xeYu47kGw+8giZIiLHDf/V0bP46tR1nnJlgzP7X
+UM95UK/IOwYjCG9yQxoHVXEFqueihtIvQrXiKsMSIY7cug3dzXBNxw7GGLr4JZZG
+XSwW8p1zalGuEk2sB79tNzLZdLMDZjm3dmENwEPtrsQCvfc0zCIjr6phIKAHgg8j
+6lmdSBH0PWkN4z61Gi0pMcM4jpw+nAjA84tUnN8nrj2y0J100HhRYYkRUgeJb6WM
+xnPz1hwFV4nKECVCEx/Xmx7+GAuh4VQIRaxA4yoF6RIrXvPrlmw6A1J98HMbUNLq
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/34/root.crt b/src/tests/data/x509/pss_certs/34/root.crt
new file mode 100644
index 000000000..6a9dda47e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/34/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1DCCAwigAwIBAgICAKMwQQYJK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owNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBADgilI6lg++h
+Ksepo0VexD4+zwQFYaygu+dpMLtd5fbyL/ewqYAPt9NReNK1m8mcl5k3isKvcOvp
+p36hxn+DQioBHOEruBxEsmS6yueyE6ZHOANJ0caU31+GO1g+pggmEjjzA+TxhMG8
+AcJsBgquDZmLVGryb5VvbAfotXe6FwiiPtLsHzB1dYoiy1Uyu2HT8cYHRZ5l1v43
+sVqhz+TcdVN+i2E/O8H/ctQYje9ePbepLRetXbiwgpOlYEY90E1XtYeRGpD+91K6
+jKJv6H1PTs88wgMvtDVrPSNHCSz/xWDHylBjwR24ycYMArq6h9hdhOKsXsQHllht
+CA9hr362OsNfHEDxQAYfSoOCz9v13IyJBFtUY8trDVBVO7RWmChZh0OT5ocEGNW3
+mAO5FRtkWQ9O8vdlPdxBkpWX9rn1B2epyPRmH78wo79Ar49d4rLSnR+M1xLt0ClO
+KhV8xz1D7zCkDtel4dbPmFeyCHXDE5AtgTlSGb/Sfr/gz4bwghJWVQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/35/end.crt b/src/tests/data/x509/pss_certs/35/end.crt
new file mode 100644
index 000000000..969a02024
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/35/end.crt
@@ -0,0 +1,25 @@
+-----BEGIN CERTIFICATE-----
+MIIETDCCAoCgAwIBAgICANQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTE1MTIxODA3MzQ1NloXDTI2MDMxODE0NTk1OVowSjELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNV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EFU0mZkyzVYON
+5CV1RPTUx7UeWlPLua/mr6mpTNM0Rl6UItLObMp2oldmXULP3B13lI5hNwt6Ej25
+DDGmofO39BD+YH275cF4HDUk5yLFzt/ab6qnNk998MNglPKV8yLaWEEdbEW9Fs7c
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/35/root.crt b/src/tests/data/x509/pss_certs/35/root.crt
new file mode 100644
index 000000000..6a9dda47e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/35/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1DCCAwigAwIBAgICAKMwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMEAxCzAJBgNVBAYT
+AktSMRMwEQYDVQQKDApHb3Zlcm5tZW50MQ0wCwYDVQQLDARNT0ZBMQ0wCwYDVQQD
+DARDU0NBMB4XDTEzMDUzMTA4NDE1NloXDTI4MDgzMTE0NTk1OVowQDELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDTALBgNVBAsMBE1PRkExDTALBgNV
+BAMMBENTQ0EwggGgMA0GCSqGSIb3DQEBAQUAA4IBjQAwggGIAoIBgQDH/nWcas+e
+p0xr3OGgYFg0z0lziSszRIEfBPVm5MXT4I+6zRpttP1rT+bOQSyJw6ceEGTDNVmC
+bEKKENsLXMBnPwJPRUCNtTUoOLTAx3ydLwbjyu4OxMkTXl3LnhwFZkx+aNmmmFXX
+ik/KiybEK60bdKzvBFffAUMwJ4dWidt4tsAsDMpzqbIskX/rUTk30EHu+oxQVfjA
+8T3E/wY2Ftlw7HMQJ+Hpt+YS6FSIMxov0mOOTuASLQH0yNRT8aKreRL5Li7tIYwJ
+0iymEHWs6ZAHNlRyJVrkhlzmZBMmH0n59ljd68e7RZtebcF+2/j82aYNG1QYdey3
+pIYR32WR7Evpl6dVdzBDSZuJfvXU5qO7hyMrkb+AG29MUZUGMsQwQAhw2y/mGylv
+H3mWzOjtRqXeLLfAc1kdwrVCWqRo/HJmAyh0bRMTQq4qbZf59Bct4tXE83+pqqWn
+nJh7l8TGl5UQ8Z9dcWaqiOSgu6YXrKabTxTr6cEp0KSLFSY89wMVYI8CAQOjcjBw
+MB0GA1UdDgQWBBR8BiYa433jP/rWFHDlq79tFH0n8DAOBgNVHQ8BAf8EBAMCAQYw
+KwYDVR0QBCQwIoAPMjAxMzA1MzExNzQxMDBagQ8yMDE4MDUzMTIzNTkwMFowEgYD
+VR0TAQH/BAgwBgEB/wIBADBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBADgilI6lg++h
+Ksepo0VexD4+zwQFYaygu+dpMLtd5fbyL/ewqYAPt9NReNK1m8mcl5k3isKvcOvp
+p36hxn+DQioBHOEruBxEsmS6yueyE6ZHOANJ0caU31+GO1g+pggmEjjzA+TxhMG8
+AcJsBgquDZmLVGryb5VvbAfotXe6FwiiPtLsHzB1dYoiy1Uyu2HT8cYHRZ5l1v43
+sVqhz+TcdVN+i2E/O8H/ctQYje9ePbepLRetXbiwgpOlYEY90E1XtYeRGpD+91K6
+jKJv6H1PTs88wgMvtDVrPSNHCSz/xWDHylBjwR24ycYMArq6h9hdhOKsXsQHllht
+CA9hr362OsNfHEDxQAYfSoOCz9v13IyJBFtUY8trDVBVO7RWmChZh0OT5ocEGNW3
+mAO5FRtkWQ9O8vdlPdxBkpWX9rn1B2epyPRmH78wo79Ar49d4rLSnR+M1xLt0ClO
+KhV8xz1D7zCkDtel4dbPmFeyCHXDE5AtgTlSGb/Sfr/gz4bwghJWVQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/36/end.crt b/src/tests/data/x509/pss_certs/36/end.crt
new file mode 100644
index 000000000..5dddfc7d2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/36/end.crt
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GDAWgBSMjpdpRn6tBofb
+vfhe5ubFyS8HIjAdBgNVHQ4EFgQUAL74agAkgOrvgpuaSzuR2/E5ifYwQQYJKoZI
+hvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgB
+ZQMEAgEFAKIDAgEgA4ICAQCbcB3ESG6A0uX6pOxetmF0Giupoybpi5n0kt/N25k9
+6ii5tsoH/gb0/EsKfXbgUY32kEr8fEf2yPU+dgsyQsG31qwnRfM/LDZflL4lrPBC
+12ltZa+RydEnz7AyH9l7xdch/24RL/ShOfhQCST1i+Kz3q5h06T9RjMYIhXa872u
+ommz5Y7qJULCbCDD91aP+3e9pFH+m01gka3f3b7RJlN5YkDnnMcJtawOVb4Y0fIZ
++QMiZUhLL36ebHPIeJH00/DFuo09R7eA4G6AVkDeWKuR/84GpjV+ogpvXNuYPr+i
+jRCH2JJtCGTKWpDv3cdzRsTSl3paHpSnKh7VCUOHoKgcAYTIhV1WrX0ycHGNCu5t
+Xo4YmWOzkeFig2Oj8WQtAb9pR2VM/B79j2jVqmhLwv2TGa2VbjmT/gmhU9cTauGR
+TaW4IMpEnU2t5OJoa6T9KcQSmmlYn/nghNg0q9ClAZO8Kaqv75FI0OZXAjTtHE1z
+PMGT+/OCC/oVtSJ+nin8ieoAkdH2WZNs5JzRdu2msB+aWd0otKeJS8ttl17tXTPm
+7LyxY1Vw0jTsrpD9Mm9ZgWJCHBhYxhAnH3KGW5uQnbGFsYseoiwx+hFJtT5QZLZM
+hptRsCleOCVMtARyNWGSeM3vQWyQt3v0eULIh4HgADuMu0yuQywSGNPMV3G4mhJj
+uA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/36/root.crt b/src/tests/data/x509/pss_certs/36/root.crt
new file mode 100644
index 000000000..4c5f8fd3d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/36/root.crt
@@ -0,0 +1,37 @@
+-----BEGIN CERTIFICATE-----
+MIIGcTCCBCWgAwI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MHmT2IujyuEyNCHokrrvlYQzn3ORYAtRbplAH1fGLwH43I/shqqcYGRt
+bnL9d29vwYnQ1qBiM8yBslZCS/2nKS5jMCZFUobL1e31eW5t03R7eSFwDHCw4aZV
+Q5qDALmOAOGWdakTLnfOMdiGBqGB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/37/end.crt b/src/tests/data/x509/pss_certs/37/end.crt
new file mode 100644
index 000000000..0f9158a74
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/37/end.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFbTCCAyGgAwIBAgIESULGxzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQDDAtjc2Nh
+LWNhbmFkYTAeFw0xNDA4MDgxNjU4NDVaFw0yNTAyMDgxNzI4NDVaMDgxCzAJBgNV
+BAYTAkNBMQswCQYDVQQKDAJnYzENMAsGA1UECwwEcHB0YzENMAsGA1UEAwwERFMw
+NTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJMw/4rhXQlmVS6j92eM
+JCHAf3hR8qp3X3MrDhoR7pxiqGyRsNWtE5cdx79fM1mkIzUKPCyGlUcwKigAQbpE
+cBCiUqvu55DznABk4IWY7b4FyhnvEfGN4xVUQLyOdJWdS0B12xlS4eHW+zemEswV
+6FoaC72JTIEVkxPCj7g5poAUcEzxUmOR+7eybJIFgvtEvCKbplG6TlYJ3jPMTRmO
+5+l7EJqjhvSTdCfvayPaq5vuIpHn3EP8NCvlbJ9O915ie/gJ5JQ/TW6I6PafoEuz
+xakXyqlxxeRCwUjsEhAILtPvh6IJDcZXDvWqT8ryE6CEtnsvTLrT0UWNPlwz7PQj
+SJsCAwEAAaOCAQ4wggEKMA4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lhN9UZnx2Z6miY1SuIZvvt8yu75zG
+KC1jz7M6G+ahlWCRekKSZapXQQah/7Mr1ICZRUp1ASi01FDseJPP5+n3sWj4/mQr
+mA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/37/root.crt b/src/tests/data/x509/pss_certs/37/root.crt
new file mode 100644
index 000000000..4c5f8fd3d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/37/root.crt
@@ -0,0 +1,37 @@
+-----BEGIN CERTIFICATE-----
+MIIGcTCCBCWgAwIBAgIESULC/DBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQDDAtjc2Nh
+LWNhbmFkYTAeFw0xMjEyMDUxNTU3MzdaFw0yODA2MDUxNjI3MzdaMD8xCzAJBgNV
+BAYTAkNBMQswCQYDVQQKDAJnYzENMAsGA1UECwwEcHB0YzEUMBIGA1UEAwwLY3Nj
+YS1jYW5hZGEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDL5DZMQCWD
+1k+MnU07pU6+p0sixT1s625/XxUQCgQtWpxDBMIYd8llqZnBsy/leHjZfzuNqMro
+dCHg3BjqpWLLEIXsEOsU7TpG/qx6dBTQEq3Z69ZPnuGhwmHFHkRxBqJd1ZNKsP3i
+nTQ7QhGZKp7zB+6kUW9Mi7lfhPovp3UVx5fUce3eCKZ7J08qLQiY/nc+jI+iqVhE
+Auvy7q/Wy3j2hVJCdll2x5YAKolONxILgn42FCCMZxADCEXAo04h/Lsi1cPJ1veS
+zTYKFc+vKW6VqFsEuw5mUkJMTk/JI2/vsV9SEucSCDpFMUeJrS1YeSd4f1nzZIHM
+ccSdqkDFR4ievIU0+D3gUADtCq1TZYbjemqQVf1xEGniCuK4Q73qksL+th+ffsFq
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PS5
+iM0+DS+vKAOXclQxKqPcRnOsJ9Zy2svcBCvCgVOO3QMb+m90s59AQQGeZDGVVI5s
+LsJ3Q6o+AgoDz1v7mXiVkAqYj3ZLMhiWf6/o1I4A8b9Dw8fUKdd+LF5NPjhhUrZG
++/KxvCjYhtwcyw01QHl9VZY4yNywfuI+hXomZHXBKhKFBorISM9gwyMLTMVce8tw
+8Pfyd/Vk57Hq+FAhzH9TgyyTADaBEmiAlnyZA3Xg4LKsY+7SXMRtVzYwWVB+9ohI
+lj5Ub/G8MHmT2IujyuEyNCHokrrvlYQzn3ORYAtRbplAH1fGLwH43I/shqqcYGRt
+bnL9d29vwYnQ1qBiM8yBslZCS/2nKS5jMCZFUobL1e31eW5t03R7eSFwDHCw4aZV
+Q5qDALmOAOGWdakTLnfOMdiGBqGB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/38/end.crt b/src/tests/data/x509/pss_certs/38/end.crt
new file mode 100644
index 000000000..9a5734644
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/38/end.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFbTCCAyGgAwIBAgIESULGojBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQDDAtjc2Nh
+LWNhbmFkYTAeFw0xNDA2MjUxMzI1MzFaFw0yNDEyMjUxMzU1MzFaMDgxCzAJBgNV
+BAYTAkNBMQswCQYDVQQKDAJnYzENMAsGA1UECwwEcHB0YzENMAsGA1UEAwwERFMw
+MjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMEp6hW6+JO0lzfSXgaG
+ftI24gh+Pz4JrB47iTToDmQTOIq9bjQaMfdomvjC0xPsnUOnAyaN71cyW7zaDUid
+NGo+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7WhISrvrFemDFE7GYjN+QK6mPxiuvfslEYrJodrE8
+uX9tPAex2wxj0h3wwYY/5p7fKOiWXbM4FvvNdthg0TmrwL2Of3yLZUWKI7qJku8m
+gVxjSrJxcRhkHKD0PYrx/sM+CXxzqdm0/EKqciBZB8grM5rx3h/g4durT49mvZWZ
+7188YshieWFU5GnH2AAx7bwZQBVqcWzPrzGDQrIKD3LeSW2g2ybj4uLge2WH2Cja
+1qBhsN5yUW0+gIiPQDO4zFTdL4TcTWQGGfkYaJLd5kQ2+xI2aoHaDNPof16LcfqN
+Joic30+Lt60Z7zq8tR3NqQpZFr6tMHuJ242AJlOI3rqQcPqemUKxOGILRBxpx3pg
+mA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/38/root.crt b/src/tests/data/x509/pss_certs/38/root.crt
new file mode 100644
index 000000000..4c5f8fd3d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/38/root.crt
@@ -0,0 +1,37 @@
+-----BEGIN CERTIFICATE-----
+MIIGcTCCBCWgAwIBAgIESULC/DBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQDDAtjc2Nh
+LWNhbmFkYTAeFw0xMjEyMDUxNTU3MzdaFw0yODA2MDUxNjI3MzdaMD8xCzAJBgNV
+BAYTAkNBMQswCQYDVQQKDAJnYzENMAsGA1UECwwEcHB0YzEUMBIGA1UEAwwLY3Nj
+YS1jYW5hZGEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDL5DZMQCWD
+1k+MnU07pU6+p0sixT1s625/XxUQCgQtWpxDBMIYd8llqZnBsy/leHjZfzuNqMro
+dCHg3BjqpWLLEIXsEOsU7TpG/qx6dBTQEq3Z69ZPnuGhwmHFHkRxBqJd1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l6IoRZ9
+Q+jUbYjLlv9gvs+xzCPJIgpeCgqQ4QWUaOmC0Dyy0VAOWA1chF9kMkL/q305Ejz9
+biP0J7ImzgvpkYZo26wGiP0X/m8yyiT2wo3tIdWlG/2C6av9BxZotmZqvXZcRMfs
+C9Do6ELxe5PLRCVmFwODhPasIfyrLuaTx8nEbTCeUwWyTSD5TodyQjOOnijywKu+
+hV6d1Fh60u7AtNxOGSUTyQzfkhNYtWtY5vD/zOYnYDtPUL70pVV6kHC/OF8iSPS5
+iM0+DS+vKAOXclQxKqPcRnOsJ9Zy2svcBCvCgVOO3QMb+m90s59AQQGeZDGVVI5s
+LsJ3Q6o+AgoDz1v7mXiVkAqYj3ZLMhiWf6/o1I4A8b9Dw8fUKdd+LF5NPjhhUrZG
++/KxvCjYhtwcyw01QHl9VZY4yNywfuI+hXomZHXBKhKFBorISM9gwyMLTMVce8tw
+8Pfyd/Vk57Hq+FAhzH9TgyyTADaBEmiAlnyZA3Xg4LKsY+7SXMRtVzYwWVB+9ohI
+lj5Ub/G8MHmT2IujyuEyNCHokrrvlYQzn3ORYAtRbplAH1fGLwH43I/shqqcYGRt
+bnL9d29vwYnQ1qBiM8yBslZCS/2nKS5jMCZFUobL1e31eW5t03R7eSFwDHCw4aZV
+Q5qDALmOAOGWdakTLnfOMdiGBqGB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/39/end.crt b/src/tests/data/x509/pss_certs/39/end.crt
new file mode 100644
index 000000000..5ceb7e8e3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/39/end.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFbTCCAyGgAwIBAgIESULEpzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQ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BFOVLRqcMInIIVvR1E2lH3EtuoKptmLQqUdimoT7EVAIA4SdujfWGWxt
+7qZnslcZf04Rgi8iOB2EpU8P8uF54g95L7NGwUHHfO0+0tAiIm/B/pil3dlp+kjC
+Rx4ii3//NzrLgRlCzMKOwajCw/GmoHLedod7ZduO6eFN81InLocC1TquNWDVXlS/
+IheyIDGhgmVRQU5uuH98/3GLTSQpRV03Ifv+RW3l7He1XEnCxQbbvO6haWzbrzev
+zxaIGerNBwKQv+AQNUREaBopRBJsuatcFpt+T74Qhh9w9tg1u31A8Y4MRL5iTepS
+h+TCEnwNcRZnhh6orRR3dGWP9sH47dwZpd61X0v+lgTYXZ+RDIBNBViXXK8C4tJz
+oxgO9rPu/fTJ9tCFkRV+UC3GDw0qOWlqP5KYLpjWyIGoIjijFn2w3Pq6XgGwV2lG
+TV2Fb1XE1oGZHzSSSBYhi6CzNvmFQ1swL8/i86NCqSplZrHgXlijP84KVAO/kUB5
+UIwJViPGqoU9Ys2pzS8ip2pTQiAWg93UU7rooNminIOezaDBVjPAcHZe3gNZIeRf
+2NqPBwvenZ8ea3b/2AUlnWJDUCK8m/oSSleZzi6IoqggunzNPRnrrPmqmVD/ZgHm
+/Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/39/root.crt b/src/tests/data/x509/pss_certs/39/root.crt
new file mode 100644
index 000000000..4c5f8fd3d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/39/root.crt
@@ -0,0 +1,37 @@
+-----BEGIN CERTIFICATE-----
+MIIGcTCCBCWgAwIBAgIESULC/DBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwPzELMAkGA1UE
+BhMCQ0ExCzAJBgNVBAoMAmdjMQ0wCwYDVQQLDARwcHRjMRQwEgYDVQQDDAtjc2Nh
+LWNhbmFkYTAeFw0xMjEyMDUxNTU3MzdaFw0yODA2MDUxNjI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b3J0Y2FuYWRhLmNh
+MCsGA1UdEAQkMCKADzIwMTIxMjA1MTU1NzM3WoEPMjAxNzExMjEwNDI3MzdaMB8G
+A1UdIwQYMBaAFIyOl2lGfq0Gh9u9+F7m5sXJLwciMB0GA1UdDgQWBBSMjpdpRn6t
+Bofbvfhe5ubFyS8HIjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUAoRww
+GgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggIBAKk/X412wl6IoRZ9
+Q+jUbYjLlv9gvs+xzCPJIgpeCgqQ4QWUaOmC0Dyy0VAOWA1chF9kMkL/q305Ejz9
+biP0J7ImzgvpkYZo26wGiP0X/m8yyiT2wo3tIdWlG/2C6av9BxZotmZqvXZcRMfs
+C9Do6ELxe5PLRCVmFwODhPasIfyrLuaTx8nEbTCeUwWyTSD5TodyQjOOnijywKu+
+hV6d1Fh60u7AtNxOGSUTyQzfkhNYtWtY5vD/zOYnYDtPUL70pVV6kHC/OF8iSPS5
+iM0+DS+vKAOXclQxKqPcRnOsJ9Zy2svcBCvCgVOO3QMb+m90s59AQQGeZDGVVI5s
+LsJ3Q6o+AgoDz1v7mXiVkAqYj3ZLMhiWf6/o1I4A8b9Dw8fUKdd+LF5NPjhhUrZG
++/KxvCjYhtwcyw01QHl9VZY4yNywfuI+hXomZHXBKhKFBorISM9gwyMLTMVce8tw
+8Pfyd/Vk57Hq+FAhzH9TgyyTADaBEmiAlnyZA3Xg4LKsY+7SXMRtVzYwWVB+9ohI
+lj5Ub/G8MHmT2IujyuEyNCHokrrvlYQzn3ORYAtRbplAH1fGLwH43I/shqqcYGRt
+bnL9d29vwYnQ1qBiM8yBslZCS/2nKS5jMCZFUobL1e31eW5t03R7eSFwDHCw4aZV
+Q5qDALmOAOGWdakTLnfOMdiGBqGB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/40/end.crt b/src/tests/data/x509/pss_certs/40/end.crt
new file mode 100644
index 000000000..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AigA8yMDE2MDEw
+NTE0NTQxN1qBDzIwMTYwNjA2MjMyNDE3WjAfBgNVHSMEGDAWgBSMjpdpRn6tBofb
+vfhe5ubFyS8HIjAdBgNVHQ4EFgQUGlKToS9QECMlYKFCZ12AIMioXd8wQQYJKoZI
+hvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgB
+ZQMEAgEFAKIDAgEgA4ICAQAP5WX+DuZZcAM+ONvMz8oJ571W3cbnCSNwqzPFnnLR
+YMWKGx4O0wj9WbshF6VsNe+BzthL+mGyoGS8BSxYCT1JmRUNlTDITdZisNnSpjBg
+c2RKBIZy4Cjca7MeDY0ZtTQRvyXx792kNCFHm+othSSWWstARub4qKyywQ7wnQgF
+y72zsCpSNcToM92ZiUB9nBGYul4oE+QN1ejsGcyZ1NSDIAUKFwY1lwFmf2XAEV/t
+tdWfU7vlZrvGDgrUGmO0DFiPtCGUllU0ZnnbJfzeRmYlGhwXypmNfKHIN/drHHWd
+pBpT0seRi6FpvCN1qxy9WaYraUDdNHactivWwoFOAHY7m0NTx67/YfHWQC3mSAui
+3a06FR36HIESgL9QfBzQhivi8dvqjfmQHuX8LgqrDf/6wRpjUey4K0UQhaXCiJmX
+yVvYDSuhSudKjHKtDed7NELq8AklEvgz1UONDZtYC6xA/cpuwgMZ8/9QswIkAE6A
+ceOl+lLdmNFcroZFqEiPhLjlwokAVzJ25EAdOtx2WhNOvQItisuxlKkWm23OPz0i
+Cuj/JmN5nxY/nrSKcOWhVBHRxjBOga2VEg/IOOSTfqiv02b0UOOF3PnOxnChkpZw
+kGErE1NiRlIO6VZRCGQN5Ix84iUM9OJMRoyRUmR889kxHy8njNGuQSVO+RIXc0Pp
+oA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/40/root.crt b/src/tests/data/x509/pss_certs/40/root.crt
new file mode 100644
index 000000000..4c5f8fd3d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/40/root.crt
@@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EmiAlnyZA3Xg4LKsY+7SXMRtVzYwWVB+9ohI
+lj5Ub/G8MHmT2IujyuEyNCHokrrvlYQzn3ORYAtRbplAH1fGLwH43I/shqqcYGRt
+bnL9d29vwYnQ1qBiM8yBslZCS/2nKS5jMCZFUobL1e31eW5t03R7eSFwDHCw4aZV
+Q5qDALmOAOGWdakTLnfOMdiGBqGB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/41/end.crt b/src/tests/data/x509/pss_certs/41/end.crt
new file mode 100644
index 000000000..4eb61565c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/41/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGPjCCA/KgAwIBAgIILrLXpQDZfIQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE0MTAzMTExMzczMloXDTIw
+MTAwNTExMzczMlowezEjMCEGA1UEAwwaU3dlZGlzaCBSUCBEb2N1bWVudCBTaWdu
+ZXIxCzAJBgNVBAUTAjIyMSAwHgYDVQQLDBdBQiBTdmVuc2thIFBhc3MgUTQgMjAx
+NTEYMBYGA1UECgwPQUIgU3ZlbnNrYSBQYXNzMQswCQYDVQQGEwJTRTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBAL861YxdRDvxVJcFIIOk32VWV4pwXmnn
+nkCH+CifA54jsrSRkCjEfCUhG+9CkNK06qUkpAibqyBTFZFwG3/mIJgxUouwcEHX
+HKDaRZbUlIonBLi5ZCPguMIkg8ViCfCZleJSJ/nPvZB9Ajgc0hVhGVO2TuaPqJoL
+qK0yqH+qHVjpErc2WkwBDFotcRzOWce8n2OtNOmPLeUAQQl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DwkuLuw0zTH6JvcE+5JpKWOXQenJF
+0pXdgyNUjBuWLB000EwvpAiBASGYIGvz1E9MEV9L85dsa565tuTaV056I7GKiEEZ
+GrVOp6F2DcnIxSWVyHyZo2Qvybxa83nIwEvJPp90WEjqywXPHQFW10NMU0Roq0Z9
+bjJchFqlIV3OKJDOguooZTT6XyKKnAfKEPtlD+yrNF+DWpgUxIevqJRKfVTvqTsO
+gMt5bmxknkGzhI/NqRrunuvFXPVgHkFWGNfjNESnfhfGkbyEkCm98b4BhHuijA6p
+xcwdlfmfts09C/2caCfu/hJWTTsUABRpgyayv5SW5MF7/SjkbZhZ3sdNML+2US7r
+KPGAJyI2ozyY8Vq6rrVdjeL/0LuU90r5K2ex1R3y6ItofeYjZIbo8qeDX1smoQRg
+AL5Dzy0uoEYsdaeqaAecfYnU
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/41/root.crt b/src/tests/data/x509/pss_certs/41/root.crt
new file mode 100644
index 000000000..27f142b6e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/41/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIEmYftqGzCYQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTEzMTIxMTEwMjA0N1oXDTIy
+MDUwNDEwMjA0N1owTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO4Sn5Fl67Cu9bJPCX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
+/wQEAwIBBjA4BgNVHREEMTAvpBAwDjEMMAoGA1UEBwwDU1dFhhtodHRwOi8vY2Vy
+dC5wb2xpc2VuLnNlL0NTQ0EwOAYDVR0SBDEwL6QQMA4xDDAKBgNVBAcMA1NXRYYb
+aHR0cDovL2NlcnQucG9saXNlbi5zZS9DU0NBMEEGCSqGSIb3DQEBCjA0oA8wDQYJ
+YIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOC
+AgEAFweKSNX+2NX3WPfbr9gSh7WIiYc97L9nSpZSL9bWnFp+grUQLrWsWqZPMzkq
+nrdSyGHaix1vJV7VDFh0RR+tH9TlewuHyOvgjCSZZ4adyVv5kgK613dEXnn+4neb
+pIqVWYAumCPX8AFSSIzm7BaPiP5mDygNnYe1Sm1qHE3qCfhMEU8j7yS2svQEpYlj
+PydDbAmN31iTlXdDIbr491llt0KzdqmgH9O34TmQYMsbrWdgmoPnD9OflSvwB+PJ
+8OqZrUbafxJWZyr4wDkrQYwAtT1DjRqeIgfUYROLeFznTlSnF3nBi1QKy1NDYX9h
+ppfaGEsJrmtSMzKje7LlaODxy5wfypIciW1i1YiLbp0ZBjbsXV8V7B+XY10WqolO
+8eDZQai65kWV9VFHqMUDV3TvTLGLrfI2CBzqZqGIn5PWe1Qkzfvl3ME7NGix/sX+
+i1/dy+0/taiLZMg/JSKheITJPeVTHhW8kFLg4ZzPsMBS/9flVC7LQfFDe80BEwra
+S/MU8W4e4+91+r6yzd1UD0ae+SwVR7p6/3fVMytu4Xv6CcxhuuxNXQIHaW/Z6eb0
+B7a+Ij2QO4WcnLN8YfpRnJ+s0nbrSq9khg0EfyNNicXmDe2sR5uwDWJw3LrpNewh
+IfAHXXedDVIa7+T2tK/E6kUXQNTTQFc7z8+GFCU+cQth+Hk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/42/end.crt b/src/tests/data/x509/pss_certs/42/end.crt
new file mode 100644
index 000000000..c445af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X+0yk+5xybgkOQbqbvEEcsO63gSH2Qz
+GsvTHssTqfl3vARrdw3WtITvJOfSVFTKTPy/kH7Se/0LKlPEFiZzHc+EF2D1GtFh
+6Lg4jFmLQobyU1qInJHFZ1JfILCDj//qYT1YoYeboGmqkUz3OdqzjDGmj3w9RoTB
+243Xxk9GmFAQ0mXI1ed1Db5HHUYt5NIhgbW6fB8=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/42/root.crt b/src/tests/data/x509/pss_certs/42/root.crt
new file mode 100644
index 000000000..27f142b6e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/42/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIEmYftqGzCYQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTEzMTIxMTEwMjA0N1oXDTIy
+MDUwNDEwMjA0N1owTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO4Sn5Fl67Cu9bJPCXOjCOGG3D
+9DdUqKf1rbej88v/kFGHkRk0bEkRm0CaziRUwPxxQsRrdTSn2IePX8rqm7PBlVg/
+AKHixuXPef9YPx9tp9V1Zd3gKxZThenfIHuoLwkUjto8iADD2WNDhrvkQRl6f9RG
+9lFKVsxpENEIMQ/JR2AL1KBqRFcMsyWCga5jq9SJQjUMI/uH9yl6Tk4Z6tTlypMm
+j4POS82qRndrOtXPmaDQCt4NTzvlM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9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOC
+AgEAFweKSNX+2NX3WPfbr9gSh7WIiYc97L9nSpZSL9bWnFp+grUQLrWsWqZPMzkq
+nrdSyGHaix1vJV7VDFh0RR+tH9TlewuHyOvgjCSZZ4adyVv5kgK613dEXnn+4neb
+pIqVWYAumCPX8AFSSIzm7BaPiP5mDygNnYe1Sm1qHE3qCfhMEU8j7yS2svQEpYlj
+PydDbAmN31iTlXdDIbr491llt0KzdqmgH9O34TmQYMsbrWdgmoPnD9OflSvwB+PJ
+8OqZrUbafxJWZyr4wDkrQYwAtT1DjRqeIgfUYROLeFznTlSnF3nBi1QKy1NDYX9h
+ppfaGEsJrmtSMzKje7LlaODxy5wfypIciW1i1YiLbp0ZBjbsXV8V7B+XY10WqolO
+8eDZQai65kWV9VFHqMUDV3TvTLGLrfI2CBzqZqGIn5PWe1Qkzfvl3ME7NGix/sX+
+i1/dy+0/taiLZMg/JSKheITJPeVTHhW8kFLg4ZzPsMBS/9flVC7LQfFDe80BEwra
+S/MU8W4e4+91+r6yzd1UD0ae+SwVR7p6/3fVMytu4Xv6CcxhuuxNXQIHaW/Z6eb0
+B7a+Ij2QO4WcnLN8YfpRnJ+s0nbrSq9khg0EfyNNicXmDe2sR5uwDWJw3LrpNewh
+IfAHXXedDVIa7+T2tK/E6kUXQNTTQFc7z8+GFCU+cQth+Hk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/43/end.crt b/src/tests/data/x509/pss_certs/43/end.crt
new file mode 100644
index 000000000..a00daa82f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/43/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGRTCCA/mgAwIBAgIIG421l7KvpscwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bn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data/x509/pss_certs/43/root.crt
new file mode 100644
index 000000000..27f142b6e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/43/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIEmYftqGzCYQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTEzMTIxMTEwMjA0N1oXDTIy
+MDUwNDEwMjA0N1owTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO4Sn5Fl67Cu9bJPCXOjCOGG3D
+9DdUqKf1rbej88v/kFGHkRk0bEkRm0CaziRUwPxxQsRrdTSn2IePX8rqm7PBlVg/
+AKHixuXPef9YPx9tp9V1Zd3gKxZThenfIHuoLwkUjto8iADD2WNDhrvkQRl6f9RG
+9lFKVsxpENEIMQ/JR2AL1KBqRFcMsyWCga5jq9SJQjUMI/uH9yl6Tk4Z6tTlypMm
+j4POS82qRndrOtXPmaDQCt4NTzvlMDXnlOxLmO7Oy2g89Kov6R3yjFJS68GZDfVB
+DvNwzeKdimliQwjeO28x7hgeaLTNhXvJ0FxVecDVCisjBEMzKFi+X6KImieCbxCn
+Izz+KXns33M0+iBUezqkvbtBhG9U/VtTv3e7RcgcaOXi8MBXtSig89l42WSMDnoM
+7EE5hXQDdZyM9n5r5nEZnnIoFCsodDkQcrAiV7/1up6dHjId7JQT50bwL0MAcf5i
+DiboqFh3zU1b5HZEiQvFqkLihO5+IyfqL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dqmgH9O34TmQYMsbrWdgmoPnD9OflSvwB+PJ
+8OqZrUbafxJWZyr4wDkrQYwAtT1DjRqeIgfUYROLeFznTlSnF3nBi1QKy1NDYX9h
+ppfaGEsJrmtSMzKje7LlaODxy5wfypIciW1i1YiLbp0ZBjbsXV8V7B+XY10WqolO
+8eDZQai65kWV9VFHqMUDV3TvTLGLrfI2CBzqZqGIn5PWe1Qkzfvl3ME7NGix/sX+
+i1/dy+0/taiLZMg/JSKheITJPeVTHhW8kFLg4ZzPsMBS/9flVC7LQfFDe80BEwra
+S/MU8W4e4+91+r6yzd1UD0ae+SwVR7p6/3fVMytu4Xv6CcxhuuxNXQIHaW/Z6eb0
+B7a+Ij2QO4WcnLN8YfpRnJ+s0nbrSq9khg0EfyNNicXmDe2sR5uwDWJw3LrpNewh
+IfAHXXedDVIa7+T2tK/E6kUXQNTTQFc7z8+GFCU+cQth+Hk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/44/end.crt b/src/tests/data/x509/pss_certs/44/end.crt
new file mode 100644
index 000000000..b7a7c2c23
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/44/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGNjCCA+qgAwIBAgIIQJIvByixO9QwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTEzMTIxNzE1MTkxM1oXDTE5
+MDgzMTE1MTkxM1owczEjMCEGA1UEAwwaU3dlZGlzaCBSUCBEb2N1bWVudCBTaWdu
+ZXIxCzAJBgNVBAUTAjE3MRgwFgYDVQQLDA9BQiBTdmVuc2thIFBhc3MxGDAWBgNV
+BAoMD0FCIFN2ZW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gEFAKIDAgEgA4ICAQAlP2lyeQuzpIqKfaQlW6EroD2qqiaX
+0pzmcJByFFVKx/j1mUolhNQCaTXeWx6Jqhok1jwR8I7b5a09Iq1jf3BqECviII+1
+AurG03RnPqxrOhKFsXbV7wDLhshmIpstlWSzBupEZc2YbTnVmd1D+mEPj3CDTfkx
+1CVmYcmYuiPPCUL4os1+k0eRfz3fdBAlrL4F9fWAoJurnV3Y1dY3Z3Nq2rH5lp/N
+x5vXIXonNQclvAjlUFo/Avbb1RZHMxFTEZEJbrl5M+L5w8lYOwo7eTh5fOWG1hYQ
+WaJ8emFRoDlZHImhnCi9CI+id0wi6H2hNzOQjxJcUPgLsZWzWNVMcciJTtBrRWKz
+6pmpcirhN/Id2MztUhUfefQXSt88LbV/90HwJVfbz2RVc9JEIN4qxqyKksGqq4Kw
+RdFqdT22qCc/h4fy52z3ihO1scYh6QJBt9kfIS04lpHnnLrWH7LG84ed57VfBfEe
+CXDVfnDryPz/FtwECk4LtDCp3RjlG2ZUSZ3iZZAHhbDdwoGdiELgSAR0oO+c2NP+
+ceVrBFsyxVKu7LxKegF2UK3ijQjHRXhkjh7SxiO69uMMyuLj38zjtrWKrr/f2P94
+AywETgtXzinByo1mntvmc9C31m1TmSCslip0Ie795fFcE7fGVwCKrzbcF8HnroUn
+2OqfKJrs+5LP8w==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/44/root.crt b/src/tests/data/x509/pss_certs/44/root.crt
new file mode 100644
index 000000000..27f142b6e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/44/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIEmYftqGzCYQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQK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U8W4e4+91+r6yzd1UD0ae+SwVR7p6/3fVMytu4Xv6CcxhuuxNXQIHaW/Z6eb0
+B7a+Ij2QO4WcnLN8YfpRnJ+s0nbrSq9khg0EfyNNicXmDe2sR5uwDWJw3LrpNewh
+IfAHXXedDVIa7+T2tK/E6kUXQNTTQFc7z8+GFCU+cQth+Hk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/45/end.crt b/src/tests/data/x509/pss_certs/45/end.crt
new file mode 100644
index 000000000..b67e29723
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/45/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGSTCCA/2gAwIBAgIIXZZQ1URLRE4wQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTE0MTAwMjEwMzQyNloXDTE1
+MTAwMjEwMzQyNlowgYUxKTAnBgNVBAMMIFN3ZWRpc2ggUGFzc3BvcnQgRG9jdW1l
+bnQgU2lnbmVyMQswCQYDVQQFEwIxMjEhMB8GA1UECwwYUmlrc3BvbGlzc3R5cmVs
+c2VuIFEwNDE0MRswGQYDVQQKDBJSaWtzcG9saXNzdHlyZWxzZW4xCzAJBgNVBAYT
+AlNFMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhUr6VCCliDxzwpf/
+V0X3m9465UWVSq6vRw1JBgcU2ijUzRXOsvucpwb9hJ+waig+AdYrEC0OuS/3P8/7
+mlela4xO+xzJ3ncSczDk7Bk4Fna7UYU5Nwfne4p6R5dojdxBFB5ZLpP25J1U4BbP
+0JPFEBpwrpIIY/5PB2T9Od1sVE/9T8v9fbWWcyVZdIKqvzOUKv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5KxR
+xnyMy9oU3VbkH0kFo+uzIs+yp2+pxb3ZWXlr7tMzef9Yc45IKKVjFmp52CKFhf/P
+V3I8r7r57hPMZElkZV+zHM9FGeTsNMYOIflgGQol3ysK3g1b+RpH7f3WcgKU7zQP
+edpnfiToQmgQ6s+AhYXd2XSE+R88QtjWQhmSyUgxl0fQW8tFa+NotIcSSRePahEF
+LqQgYM6oyn16QpV98biYA0WpupueEpovYXz386Q9+rl5d58fDqn5sqGB6z57O/LW
+xpbyZrxbTJ3nIjemjXHNWkVZHXjKh2G6ZQdSaHnL83C51Gd0YlNpeiKSmjRj2SvL
+0GlPb2JLrysXLeL/2bi9CHVFkUC40VXIBuzYQgyC0pITz3XLRaTPDfxraVmg1aU0
+HUy7rinJZ1di26NfPAPTdh75PH8ZseE8+LxZuz4=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/45/root.crt b/src/tests/data/x509/pss_certs/45/root.crt
new file mode 100644
index 000000000..27f142b6e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/45/root.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIEmYftqGzCYQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgME8xIzAh
+BgNVBAMMGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRswGQYDVQQKDBJSaWtz
+cG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMB4XDTEzMTIxMTEwMjA0N1oXDTIy
+MDUwNDEwMjA0N1owTzEjMCEGA1UEAwwaU3dlZGlzaCBDb3VudHJ5IFNpZ25pbmcg
+Q0ExGzAZBgNVBAoMElJpa3Nwb2xpc3N0eXJlbHNlbjELMAkGA1UEBhMCU0UwggIi
+MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO4Sn5Fl67Cu9bJPCXOjCOGG3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wIBBjA4BgNVHREEMTAvpBAwDjEMMAoGA1UEBwwDU1dFhhtodHRwOi8vY2Vy
+dC5wb2xpc2VuLnNlL0NTQ0EwOAYDVR0SBDEwL6QQMA4xDDAKBgNVBAcMA1NXRYYb
+aHR0cDovL2NlcnQucG9saXNlbi5zZS9DU0NBMEEGCSqGSIb3DQEBCjA0oA8wDQYJ
+YIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOC
+AgEAFweKSNX+2NX3WPfbr9gSh7WIiYc97L9nSpZSL9bWnFp+grUQLrWsWqZPMzkq
+nrdSyGHaix1vJV7VDFh0RR+tH9TlewuHyOvgjCSZZ4adyVv5kgK613dEXnn+4neb
+pIqVWYAumCPX8AFSSIzm7BaPiP5mDygNnYe1Sm1qHE3qCfhMEU8j7yS2svQEpYlj
+PydDbAmN31iTlXdDIbr491llt0KzdqmgH9O34TmQYMsbrWdgmoPnD9OflSvwB+PJ
+8OqZrUbafxJWZyr4wDkrQYwAtT1DjRqeIgfUYROLeFznTlSnF3nBi1QKy1NDYX9h
+ppfaGEsJrmtSMzKje7LlaODxy5wfypIciW1i1YiLbp0ZBjbsXV8V7B+XY10WqolO
+8eDZQai65kWV9VFHqMUDV3TvTLGLrfI2CBzqZqGIn5PWe1Qkzfvl3ME7NGix/sX+
+i1/dy+0/taiLZMg/JSKheITJPeVTHhW8kFLg4ZzPsMBS/9flVC7LQfFDe80BEwra
+S/MU8W4e4+91+r6yzd1UD0ae+SwVR7p6/3fVMytu4Xv6CcxhuuxNXQIHaW/Z6eb0
+B7a+Ij2QO4WcnLN8YfpRnJ+s0nbrSq9khg0EfyNNicXmDe2sR5uwDWJw3LrpNewh
+IfAHXXedDVIa7+T2tK/E6kUXQNTTQFc7z8+GFCU+cQth+Hk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/46/end.crt b/src/tests/data/x509/pss_certs/46/end.crt
new file mode 100644
index 000000000..0b6f90082
--- /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z7i9VO5QgGIRo9xpxIBNVmeQvyy2g6NKxaWAbXeekyKnqmmP0lC
+FXlxN6X86Ik+Eys/9+h4UWHt46hkrFCxBgsNdYiTL/g9i5Y2X2oY9qrqU+qJH3BA
+6OdEPP3r1JlprzUpxWqtquiBh2vjEP7rQCm87N5i7AcKVdRLEWZvtvPxaN+/KI6U
+IGbeS+1rZ7zJ7tD3vi5sp5N72A8SvEy0ZAA3VoAS6O0lPY8jL/aDFOIcr+0EQwsD
+28d6e+sTGyN6TPtcuRlIT51upxlTZElGq+8VvGrUp7BpGL4tdvyWYaFIWn5OiTfJ
+OX+++7ekKw3eVuYuAS3BCIvuQO6IrZe/TFtxthDa0lwcjm3IXklfsvRS+xYFsCR/
+K9pdHZaqIUfZXN1yg0J1gR6UUFUpAFMjOzYW12vvygG/29iqs6e6cfz9HgbTmRUR
+GXVhXbz6Q6pnaVg1976fvM3ajdyewLtHBGckK5Q9tFFfkK4=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/46/root.crt b/src/tests/data/x509/pss_certs/46/root.crt
new file mode 100644
index 000000000..c22375e1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/46/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1TCCAwmgAwIBAgIBDDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTA4MDMwNzA5MjQxN1oXDTIzMDYwNzE0NTk1OVowQTELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYD
+VQQDDARDU0NBMIIBoDANBgkqhkiG9w0BAQEFAAOCAY0AMIIBiAKCAYEA1v8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
+cL+K7ouUtbKHxFbOO3DJX//r0IWozeLawRmFOPshNYtERJg2FXi/VnPrrn1sHv71
+pAMWZNuLQBitVyq5U8YOt+gAvwlVwd/nXfV8F6f3eCM52N++TF708aPwQqXkvjjG
+SN8v66yfJE5x5yPS5tABJGp7loH7TvvWRYfC05gvHg6ses7stDJS9mageS5Po6Dh
+jxCzEPIwIs8V2bSN+mBkTahovz434Zu8x2IqtkX5f+55hHPxkws9YCo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/47/end.crt b/src/tests/data/x509/pss_certs/47/end.crt
new file mode 100644
index 000000000..eda066a3e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/47/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIETTCCAoGgAwIBAgIBbzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTExMDkyODA5MTk0OFoXDTIxMTIyODE0NTk1OVowSzELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMRcwFQYD
+VQQDDA5EUzAyMjAxMTA5MjggMTCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgC
+ggEBAMlVCAtnfwtm/yRq9Mlq9GaSIMaDO6tENF03bngMHZfwC/iSL/ET33uobbLO
+4dN0jtIVTq3PnOb3G8X8LJ0Oe/WTPZb8WVT+/W5DKof3X7iKFexxChTLjD0CD6B0
+tvK+UxkXoZngEbMRs5KPCHRVaG7pQbBNJsApweP9sdYEwNncCLcALS6uEpTZQIQp
+hylxg4nMkIuuhYnMJFPiidQ7Dkb9XQhp52xZ/CPwXBeRzLR2b9OCh8e3D50zam2t
+npmPYUApzDVEG8R7nb3hVRms9w+rByDeLYCfpZn67sQqVyDpSChsUIT7+UisdA1D
+Co+797Vqpk6vIplIfzOMDc1j+8cCAQOjYDBeMB8GA1UdIwQYMBaAFI2LO1buw24R
+rAWdQJzPYpNkL0c1MA4GA1UdDwEB/wQEAwIHgDArBgNVHRAEJDAigA8yMDExMDky
+ODE4MTkwMFqBDzIwMTExMjI4MjM1OTAwWjBBBgkqhkiG9w0BAQowNKAPMA0GCWCG
+SAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGB
+AAlMLuWIhUTceet6cuYowJI1fbWuPA5lOGIw0BZnUnqaeg4/QhyrHvxelTaTMsbr
+1HUOBlV6H+nW8aG6tH5rVupgY4CArJouKEbEpT04HCLhqavrN1ACx2ET9JAR32Xb
+vBFVv2NbqYGWkoqoTPChhZCubsMt3cJ60aBe888CXUuq9X9Dm7fQ7Va7+JnAERTV
+Mn8sQ79TA8UJwiaWFOO/62TkekUhRpa1Sn5F4AZzsGkYHyl+C6byTMUDKL9JYtb1
+qXlS1vdwH4UAs7P7c7RWoqg/dmtrSumCWCVJ1HSDuwMFl4BwGsElW84PPiKd6/dp
+9dNI6OwwRK2xroMj762NffYZyUn6U0KtFNCN4wFf5X0U+6cYvILtcF20u4k513uk
+s+d+nMBc90AVSyR/mGrJnHWCr4wobNXtjMKIuubfit+mBsX2QobrqGj0Fl1QLy6S
+yhmkB1/Yl27QhgVQxklcTVRtQAF6fCE64RpLhSklZjrgnCpIRhdgqVruo4T83NP8
+FA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/47/root.crt b/src/tests/data/x509/pss_certs/47/root.crt
new file mode 100644
index 000000000..c22375e1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/47/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1TCCAwmgAwIBAgIBDDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFl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AgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQCAdkGmB+BN
+ZQMIX6A9LjC2tg9Ds6PiyQJKGoryY3PBZ2oUk5XXr0NebxqDpaQ4AtBtveSJqthS
+t4o86mp6WOBKkLzAfaG8fpnGz1eb6b/5TMAExOnsdLTLSO7k9PDZQbTsxLeP7Nxw
+WWh7smSvGhGy30nljIL4yC3U4KRE4T8xH2K+ugxwIj/q8eUuDdZRuFRnXaFxPYKC
+w8vS+fac/H+qUfOlA/cIG4z9lV9bQdUAwDetqjWW6HLcHK62kokhEoZec0ZBTl3t
+cL+K7ouUtbKHxFbOO3DJX//r0IWozeLawRmFOPshNYtERJg2FXi/VnPrrn1sHv71
+pAMWZNuLQBitVyq5U8YOt+gAvwlVwd/nXfV8F6f3eCM52N++TF708aPwQqXkvjjG
+SN8v66yfJE5x5yPS5tABJGp7loH7TvvWRYfC05gvHg6ses7stDJS9mageS5Po6Dh
+jxCzEPIwIs8V2bSN+mBkTahovz434Zu8x2IqtkX5f+55hHPxkws9YCo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/48/end.crt b/src/tests/data/x509/pss_certs/48/end.crt
new file mode 100644
index 000000000..22022b2a5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/48/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIETTCCAoGgAwIBAgIBHTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTA4MDYyNTAzNTcyNVoXDTE4MDkyNTE0NTk1OVowSzELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PR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
+WX0spsCl03Qk0uveCFeZV9+ihRYFVvEa1U2/3R45olL812HcPdUSXMgUOCwssWJY
+Eg12EANRmeRm3aCGdxTLsv7PacZJzSXi2QZXWEc77ZGavca8tGrvUBcYw+FKt6y1
+Xg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/48/root.crt b/src/tests/data/x509/pss_certs/48/root.crt
new file mode 100644
index 000000000..c22375e1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/48/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1TCCAwmgAwIBAgIBDDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTA4MDMwNzA5MjQxN1oXDTIzMDYwNzE0NTk1OVowQTELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYD
+VQQDDARDU0NBMIIBoDANBgkqhkiG9w0BAQEFAAOCAY0AMIIBiAKCAYEA1v8yx07z
+90mNKAafu1kNKOoRmc9qbIKH0Fjz1JEtu+5A5X65q9NUfm7uWjaX5mQTkRuEjeP1
+xoWy6g3ReAgRd/62GOFeNGDpnBRcfxtUGUyT5yHxQMWhgdyVgT0452LE+LQUr2xu
+vrzOWPpsigu5ZeDD13NlNGEeYTUxvtKnkskqizmtP2yinGqInWUh27i2hHNqtyBZ
+tcf/CC+E4ilDS6h/lYokhXGpMio8P0QeuPelkQdwRR3+y3Eek87dq2Tb3Uwn0BhB
+ccV/ofq3Lr0vn0kJUL9ukGfnz9CEldhRUgDQ51HebCcQwk9IVJbP4DN/wwaJrqun
+BRz5k1cfL/aRuvi8AoEDCjoZLdqq+nbC5mHKdhLi6V91AF1p7n6hFqs4huWdlrP5
++zO53Srp7GDTjpgZu9kjfljZu0w0XGqZxxzi6uIggEJftUUrHvlv09SXTg2KFxp2
+GBSWy08oHHwsrQh6ERxvvzN1idwASBQ1Aq9MMaYyISRcfceH0jv4SrSPAgEDo3Iw
+cDAdBgNVHQ4EFgQUjYs7Vu7DbhGsBZ1AnM9ik2QvRzUwDgYDVR0PAQH/BAQDAgEG
+MCsGA1UdEAQkMCKADzIwMDgwMzA3MTgyNDAwWoEPMjAxMzAzMDcyMzU5MDBaMBIG
+A1UdEwEB/wQIMAYBAf8CAQAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQCAdkGmB+BN
+ZQMIX6A9LjC2tg9Ds6PiyQJKGoryY3PBZ2oUk5XXr0NebxqDpaQ4AtBtveSJqthS
+t4o86mp6WOBKkLzAfaG8fpnGz1eb6b/5TMAExOnsdLTLSO7k9PDZQbTsxLeP7Nxw
+WWh7smSvGhGy30nljIL4yC3U4KRE4T8xH2K+ugxwIj/q8eUuDdZRuFRnXaFxPYKC
+w8vS+fac/H+qUfOlA/cIG4z9lV9bQdUAwDetqjWW6HLcHK62kokhEoZec0ZBTl3t
+cL+K7ouUtbKHxFbOO3DJX//r0IWozeLawRmFOPshNYtERJg2FXi/VnPrrn1sHv71
+pAMWZNuLQBitVyq5U8YOt+gAvwlVwd/nXfV8F6f3eCM52N++TF708aPwQqXkvjjG
+SN8v66yfJE5x5yPS5tABJGp7loH7TvvWRYfC05gvHg6ses7stDJS9mageS5Po6Dh
+jxCzEPIwIs8V2bSN+mBkTahovz434Zu8x2IqtkX5f+55hHPxkws9YCo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/49/end.crt b/src/tests/data/x509/pss_certs/49/end.crt
new file mode 100644
index 000000000..afcf358a5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/49/end.cr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pu+zltUL7FUmpgLFQz7lt16qYDAoj3pgfs
+1+Ky8dZAOi6qe2al3qAOPQjbnYIBGgmbl8F0jpUN5nEoM/4AU4juABN+ppAs/iFX
+u070bw1uWZzuiaMjWO1AnMuzn2Y2n0SsulyR4HxJ13vXj4NmD+potUOOO2i/6MfN
+t7Z8l/7/lQkhHC9EWyVcYlsWxcXefSAiUEyXgePqWSwozg8kHR7W9dStaDKTtsgS
+P2S9IIjjQpzwhDe3nrzsi63buhXl8+ZM+HPWC5DCbbP/e6U/7epd8ufRmcXB6sBw
+BP31hq6qoLlVre7czzy7ap5cCWdlQqVyQeJs9+GxajfvKXbpWv9gz6om8/iQf7mM
+fm44k8MWfqo15xxk1CY8qxXdiStAYcdJ2oyKDn09HlhxRUxjuqxTA/E7b6sSt/om
+Eqs2+/PB7JyDR7cT6bNIOycO4O773uY+SgOGfK/2p9rhcXBBVautwBF3ZB37Rtze
+KA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/49/root.crt b/src/tests/data/x509/pss_certs/49/root.crt
new file mode 100644
index 000000000..c22375e1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/49/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1TCCAwmgAwIBAgIBDDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTA4MDMwNzA5MjQxN1oXDTIzMDYwNzE0NTk1OVowQTELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYD
+VQQDDARDU0NBMIIBoDANBgkqhkiG9w0BAQEFAAOCAY0AMIIBiAKCAYEA1v8yx07z
+90mN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UtbKHxFbOO3DJX//r0IWozeLawRmFOPshNYtERJg2FXi/VnPrrn1sHv71
+pAMWZNuLQBitVyq5U8YOt+gAvwlVwd/nXfV8F6f3eCM52N++TF708aPwQqXkvjjG
+SN8v66yfJE5x5yPS5tABJGp7loH7TvvWRYfC05gvHg6ses7stDJS9mageS5Po6Dh
+jxCzEPIwIs8V2bSN+mBkTahovz434Zu8x2IqtkX5f+55hHPxkws9YCo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/50/end.crt b/src/tests/data/x509/pss_certs/50/end.crt
new file mode 100644
index 000000000..10cca890c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/50/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIETTCCAoGgAwIBAgIBRzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwQTELMAkGA1UEBhMC
+S1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMQ0wCwYDVQQD
+DARDU0NBMB4XDTA5MTIwMjAxMzUwM1oXDTIwMDMwMjE0NTk1OVowSzELMAkGA1UE
+BhMCS1IxEzARBgNVBAoMCkdvdmVybm1lbnQxDjAMBgNVBAsMBU1PRkFUMRcwFQYD
+VQQDDA5EUzAzMjAwOTEyMDIgMTCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgC
+ggEBAMHUIOxWrNEKYwAI2zt6JVHMbJtGZAreGbo0+7BWP467B9/Rn6AhfcJqYd0j
+5cmD7ruBBeXKWV4UJuLeZrSDiw7q6j+YfT1AlSbvgdd47evL/UouQFAyMRtIYVEk
+kK8bL4h6P6/zsp+LuuuiwRypSn4QNdQ+tf/Y7h/+klGc4nt4eOi6oDl/GdPQ2QON
+rBmOg20W7L3g6rKOYU0RZxcHNfRXSD1pTcfbpzpREvLYPj4+UchDo5zUVuwU9MI8
+Lyx7vw99HhEIs1oX8fH1JVxOswEx1CKHshsDdDMEohfKLnQmAwLpeP42vrspM9W0
+d1pYX1vel7+YfCo6dDTgkHlRwGUCAQOjYDBeMB8GA1UdIwQYMBaAFI2LO1buw24R
+rAWdQJzPYpNkL0c1MA4GA1UdDwEB/wQEAwIHgDArBgNVHRAEJDAigA8yMDA5MTIw
+MjEwMzUwMFqBDzIwMTAwMzAyMjM1OTAwWjBBBgkqhkiG9w0BAQowNKAPMA0GCWCG
+SAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGB
+AMuZn8M97NQWlsQ8kJDuhBIVFajHUKIXGfj0YIv/7sydPDnJN+1gmxRagenIpKY2
+/0QTKOR5lFX/X0F7dPezQpddd4dPuSe0+a3Elvt8yHWnLdLyEX6JPtrJ+n1lXMiY
+ZisjiVzIq5g/dIL08oOTNh3TjnL0+nKrwt7LD8BzB5lKZ/e1JgsqPYp69/iy7FUm
+UJwrQdKAsX7Qz/YQPQ96FPWBRTEkUPh1M2eUDWnzfvAUZ1NK4YcySo8Y+LUs7Kba
+Ij0ztEB/xVfHLqAaLlRe5wZIBL2XbvwitpeJ2Im12MWiQ+WZ2owcK1QjBSdDHHK1
+7XmnIrnGds9r3rxrqKhYUjtFir4HhdDvnl7fBoC335lC4rcOzB8fGnKBwt3Sywlu
+JeCJxPvI2s5XJD2tLoyxRwDykKihNTZ1GmOy5ElktuOgPcENIoFDgM2ufDznCGxB
+bPcdaVFD9R4qZx66xx82wI+Ogs1/9+W4HaGzJcrsUWRnlIH517ETjlI6eI/7++XJ
+lA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/50/root.crt b/src/tests/data/x509/pss_certs/50/root.crt
new file mode 100644
index 000000000..c22375e1a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/50/root.crt
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIE1TCCAwmgAwIBAgIBDDBBBgkqhkiG9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NAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQCAdkGmB+BN
+ZQMIX6A9LjC2tg9Ds6PiyQJKGoryY3PBZ2oUk5XXr0NebxqDpaQ4AtBtveSJqthS
+t4o86mp6WOBKkLzAfaG8fpnGz1eb6b/5TMAExOnsdLTLSO7k9PDZQbTsxLeP7Nxw
+WWh7smSvGhGy30nljIL4yC3U4KRE4T8xH2K+ugxwIj/q8eUuDdZRuFRnXaFxPYKC
+w8vS+fac/H+qUfOlA/cIG4z9lV9bQdUAwDetqjWW6HLcHK62kokhEoZec0ZBTl3t
+cL+K7ouUtbKHxFbOO3DJX//r0IWozeLawRmFOPshNYtERJg2FXi/VnPrrn1sHv71
+pAMWZNuLQBitVyq5U8YOt+gAvwlVwd/nXfV8F6f3eCM52N++TF708aPwQqXkvjjG
+SN8v66yfJE5x5yPS5tABJGp7loH7TvvWRYfC05gvHg6ses7stDJS9mageS5Po6Dh
+jxCzEPIwIs8V2bSN+mBkTahovz434Zu8x2IqtkX5f+55hHPxkws9YCo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/51/end.crt b/src/tests/data/x509/pss_certs/51/end.crt
new file mode 100644
index 000000000..23508bdf3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/51/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBXjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTExMTAyNzAxNDcyMFoXD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2cpce1Fjj7idvglJIQNzY0sG3jtcsc9r
+zlEDUH3QHkA0aavPurr90mx38h83FuZidi9MZnG5pZJou5g1IVpf1zoqcqcGx7o9
+2gvqp2dp9s5YJHhtfnfLVd3n5xOktqFQOFWggC2U+s75om8qaYiexlHg14tCLPVr
+1ky+uplwTuWJ8YhicPDSXvkRjzOtFc825ENRai0/HIURwIVVuaTEDVxOmv4Sgx8g
+Eu/cWMgWvUgidkZs989HQ1R7HnhDmvbm0Z9T8NIIbRCMj+at/CG59aEVxl1eOl1O
+lmmLxdGQULp3BAr5U3ySARumgkiNjuWY/6hr9BHuC1j120qriLpTqKPj1Anwv1Zp
+N7mMCwiqdTQFxSI/Rs6Ve8/k8GoMzDon+Hf2Q7DSRBhZUUjaNuBltJqJGdJvX7+E
+MpvvGZCQoDG5zGcsTBdp0rsO2or8OHUOiBDbQQgQeDcQk2ms
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/51/root.crt b/src/tests/data/x509/pss_certs/51/root.crt
new file mode 100644
index 000000000..247b2cd2c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/51/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBKTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTA4MDYyMzAxNTczMloXDTI0MDYyMzAxNTczMlowbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZ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Ehxz
+2qop9Zf7aKEmt8d/SkUHxb3odHjlgQyRm0f/wwVFDrj9ZtRyC3xG8JLhe+Q24ymC
+o5GiP9RoFB7hbvov6XQ2MxQnYn7ottiuPduHbQ/xV3yl81ovu/xoGaE1UU9fxzm1
+LlBsSAau61BHQxLgx18Afkh3ucu1VOJaRuqQeHLdaeMIJ7FYjsuiyKnCMTaTHHyb
+jF1XM2kSlTxrXbkEYgzX/oJntZZrVY6dGk3jwphreNQKOanXBWPNX6t11e9+q0v0
+LIyv8dm5//Luvd3sOJ1W8VNeR6dEG+HD11k5kMp9Qnknr9uQZHJ972t9xGcBuXmJ
+0VBGmhlHCNujBQn0dH1aLPg3/HjODLMqWla812a09sv2KfxFHsDsEhV2lB4NWaDy
+x3xjN4POSJcOsaQ1rl5oARQ8sa2dLe5fI89b7KRR8gQl4bFZLHEUK69PzvFYGNTS
+bFKW/n+i/1VImD4EEA14Yan6TWUuv98H4dYoyiBElIUElCeLpo5YzIzDq1+avTUO
+hATMdW8WHolZLQqgmOHmGtRrXyFx5wPDStooX9I/GpwlSt1Oe/Pj5xKHZyqG9bWK
+oxd+k3kdlcjur1H4a7r+tc8n/23+AgdrcpM9GUX3Vm5jiA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/52/end.crt b/src/tests/data/x509/pss_certs/52/end.crt
new file mode 100644
index 000000000..4398c10b3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/52/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBcTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUt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38AVp
+47jfw9wX4fYSoufEkNIkiZ3OsWoQi2OepMLh9KXpAnBrmX6gTiqdoNXc3bKIS3o6
+GB+ZHtnHWtKmzS3Jlc++6F1oM3feg6a3bM5kpkgj93BOMN2LgrTVo9zVAJHO9nfG
+4kkl8C85t3YhFhr2Y7dRnFYY4cJSJwML9bxYijxOadqlQ9VajGFKNz1neUt5xPYZ
+N57Y2h07w2YR2D1qNGkGJ7IfB+tAz1ePT61jtEUKKB9kgnpuq9I6uZ6cHmm3p0vj
+0U6FV10xvwkSVEKOfuR+q7gOp75Np+vERBKD/dL4Gdq5eGts34VtZKp/qYZfCPVu
+Tp38e0iTR8TM6z33BM5ZArC0SehAzGtRSiUVwLLruUVprCrICfi43QHx/qKxX6J8
+XOOytTfTxig3hu0RKYIh+Bh5xqbZpAmrKjhA6uRMJO+YziBDNOR0uPleePcWB7Rd
+OlRf+FhbyqGbvNDvEZO7WOjIqb1IMxexC8zQ7oIk61b/ESJC
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/52/root.crt b/src/tests/data/x509/pss_certs/52/root.crt
new file mode 100644
index 000000000..247b2cd2c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/52/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBKTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTA4MDYyMzAxNTczMloXDTI0MDYyMzAxNTczMlowbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBg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iqWO5Wp49rbjoReFS+8d9ows94+/OaM8hn9AJBM/oiTYP/JEhxz
+2qop9Zf7aKEmt8d/SkUHxb3odHjlgQyRm0f/wwVFDrj9ZtRyC3xG8JLhe+Q24ymC
+o5GiP9RoFB7hbvov6XQ2MxQnYn7ottiuPduHbQ/xV3yl81ovu/xoGaE1UU9fxzm1
+LlBsSAau61BHQxLgx18Afkh3ucu1VOJaRuqQeHLdaeMIJ7FYjsuiyKnCMTaTHHyb
+jF1XM2kSlTxrXbkEYgzX/oJntZZrVY6dGk3jwphreNQKOanXBWPNX6t11e9+q0v0
+LIyv8dm5//Luvd3sOJ1W8VNeR6dEG+HD11k5kMp9Qnknr9uQZHJ972t9xGcBuXmJ
+0VBGmhlHCNujBQn0dH1aLPg3/HjODLMqWla812a09sv2KfxFHsDsEhV2lB4NWaDy
+x3xjN4POSJcOsaQ1rl5oARQ8sa2dLe5fI89b7KRR8gQl4bFZLHEUK69PzvFYGNTS
+bFKW/n+i/1VImD4EEA14Yan6TWUuv98H4dYoyiBElIUElCeLpo5YzIzDq1+avTUO
+hATMdW8WHolZLQqgmOHmGtRrXyFx5wPDStooX9I/GpwlSt1Oe/Pj5xKHZyqG9bWK
+oxd+k3kdlcjur1H4a7r+tc8n/23+AgdrcpM9GUX3Vm5jiA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/53/end.crt b/src/tests/data/x509/pss_certs/53/end.crt
new file mode 100644
index 000000000..038e16d19
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/53/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBXzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3Ry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R7Zd0H3vIo1GY2Fr4vAOdDbjM9K+LxL8aVdVb7yqF6P
+OfJtsockGL5rUUDSwKqgSrMaSuJzoKTVAhFZz3ajV+ZUnWNbStaGk1QhAZ30clgA
+TM0URjz/lBOWNfYiy97Pcs+N4MOJ3qIXPZi+XlrRQcPf4xHFQWFuJUlLZhNji5Ix
+ExuXmEplnYO7ELQrtZsQBj6lfqbFJhAVMQb35E/tyOI0kKRhpWaw3R/FDu2K1o0t
+IO17uP3YxcpVRvIlPk99cXxzNZ7B6jSw/5dEO9bpM4lkur0AHbFGxtOTpYAbhwnD
+24rLhcXG7ZtNZet71ibC4MHstrouyAscsQk3fSZPuuck7xcxL96ricZ4JuI6hv3T
+TKjuRdAb5SJCBz7ZF1mZy8SR93i7hJbWA2bNuoFgZJ1xMWLJZETDYJrPbNF4PR/7
+0v/kymmeHXO+23rnQ83opTj/t5EwjDij38C6cUm232ZuzOuoQw5DFL72+wqq4e5a
+uo1FSEa2RrgI56uMQOV/o5/7ws2HfzqPue6k2c6VSqXUu7cj
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/53/root.crt b/src/tests/data/x509/pss_certs/53/root.crt
new file mode 100644
index 000000000..247b2cd2c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/53/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBKTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTA4MDYyMzAxNTczMloXDTI0MDYyMzAxNTczMlowbjELMAkGA1UEBhMC
+SlAxHDAaBg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glghkgBZQMEAgEFAKIDAgEgA4IC
+AQCON478iP4WqiqWO5Wp49rbjoReFS+8d9ows94+/OaM8hn9AJBM/oiTYP/JEhxz
+2qop9Zf7aKEmt8d/SkUHxb3odHjlgQyRm0f/wwVFDrj9ZtRyC3xG8JLhe+Q24ymC
+o5GiP9RoFB7hbvov6XQ2MxQnYn7ottiuPduHbQ/xV3yl81ovu/xoGaE1UU9fxzm1
+LlBsSAau61BHQxLgx18Afkh3ucu1VOJaRuqQeHLdaeMIJ7FYjsuiyKnCMTaTHHyb
+jF1XM2kSlTxrXbkEYgzX/oJntZZrVY6dGk3jwphreNQKOanXBWPNX6t11e9+q0v0
+LIyv8dm5//Luvd3sOJ1W8VNeR6dEG+HD11k5kMp9Qnknr9uQZHJ972t9xGcBuXmJ
+0VBGmhlHCNujBQn0dH1aLPg3/HjODLMqWla812a09sv2KfxFHsDsEhV2lB4NWaDy
+x3xjN4POSJcOsaQ1rl5oARQ8sa2dLe5fI89b7KRR8gQl4bFZLHEUK69PzvFYGNTS
+bFKW/n+i/1VImD4EEA14Yan6TWUuv98H4dYoyiBElIUElCeLpo5YzIzDq1+avTUO
+hATMdW8WHolZLQqgmOHmGtRrXyFx5wPDStooX9I/GpwlSt1Oe/Pj5xKHZyqG9bWK
+oxd+k3kdlcjur1H4a7r+tc8n/23+AgdrcpM9GUX3Vm5jiA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/54/end.crt b/src/tests/data/x509/pss_certs/54/end.crt
new file mode 100644
index 000000000..66d1accf1
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/54/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBYDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmV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zcZ4fEX
+7t3xGRX4eKMoC5eCtgx8bz5FWMO2PlJuq5GtUe3sVxOfmFlTdVms+YqrwBFUdkIb
+ItN8PkHUOmCpQh6L1wWQscDKzMNDjJfooILZ2hdTKV6rocmzRwFp+z4m18swDEKx
+gLuto0q7rf1xdBCVqkssCEoWXia23+xNjthmPRMnjyQzsqzzwM7xR5/0JFg/Uxb0
+lsHTX5xwdK251IXAztNTwSOW1v2bc0kt/mOfjg6VqqR+SAd0wM0GYK66dMgRyu9a
+DCVhoAxbtF9CXwcYEj0RvTn9j3S0JFX4fjXu74P7T1U5zH06tFmDxcCln7pgHAro
+Ns3MzCDoYZM/H7G3NXhRw+zfz2Ej+rkJo6TPXI1zPEYI7PEJfvg7L//MvPvASmSA
+70RC4J1AQROVHpRfH2sTpXJIa46y+jChHVbYlkSFbFmj2I4E7yAAR2TeB0m6W2Yn
+FJ0uFb5O596Zm0XfP2kWAE4vI6yNWP3mt3zfzLIxDDa5k3Dhocdw1Idlc826T952
+AjP+orbl0BiQ8b5aUyn5HqfymmijPTZgRY/yCquzPCTToOQW
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/54/root.crt b/src/tests/data/x509/pss_certs/54/root.crt
new file mode 100644
index 000000000..247b2cd2c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/54/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBKTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTA4MDYyMzAxNTczMloXDTI0MDYyMzAxNTczMlowbjELM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KEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IC
+AQCON478iP4WqiqWO5Wp49rbjoReFS+8d9ows94+/OaM8hn9AJBM/oiTYP/JEhxz
+2qop9Zf7aKEmt8d/SkUHxb3odHjlgQyRm0f/wwVFDrj9ZtRyC3xG8JLhe+Q24ymC
+o5GiP9RoFB7hbvov6XQ2MxQnYn7ottiuPduHbQ/xV3yl81ovu/xoGaE1UU9fxzm1
+LlBsSAau61BHQxLgx18Afkh3ucu1VOJaRuqQeHLdaeMIJ7FYjsuiyKnCMTaTHHyb
+jF1XM2kSlTxrXbkEYgzX/oJntZZrVY6dGk3jwphreNQKOanXBWPNX6t11e9+q0v0
+LIyv8dm5//Luvd3sOJ1W8VNeR6dEG+HD11k5kMp9Qnknr9uQZHJ972t9xGcBuXmJ
+0VBGmhlHCNujBQn0dH1aLPg3/HjODLMqWla812a09sv2KfxFHsDsEhV2lB4NWaDy
+x3xjN4POSJcOsaQ1rl5oARQ8sa2dLe5fI89b7KRR8gQl4bFZLHEUK69PzvFYGNTS
+bFKW/n+i/1VImD4EEA14Yan6TWUuv98H4dYoyiBElIUElCeLpo5YzIzDq1+avTUO
+hATMdW8WHolZLQqgmOHmGtRrXyFx5wPDStooX9I/GpwlSt1Oe/Pj5xKHZyqG9bWK
+oxd+k3kdlcjur1H4a7r+tc8n/23+AgdrcpM9GUX3Vm5jiA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/55/end.crt b/src/tests/data/x509/pss_certs/55/end.crt
new file mode 100644
index 000000000..d33ffe292
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/55/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFMDCCAuSgAwIBAgIBRjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBg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39xU+fvXgujkaMT0L9na8PQICoOBG/HiWG5i1XwdBeYhobY56
+lUsPLgWBDfdso2plWE0em4TqMvrz+NAvcIhQCYQsUCd8u5P4zk7EsVS3Eyr8UYaW
+R5PzpwEKUaGzDM/qO3siihX8MzZ8wliEP78bh4bQPQ7Gu4ZxpLQ3kIvCs4baPSep
+2GJduRieeptw0T/Nifxpn+Z91xwiVxnEaGrW+/xj6+PYMJD9nUB3rqaxQS9IiyoH
+LIOJp5osh7/QaeYTdER2QysbT65AKUamwupH/Hn3S43JvnPKzbT6e3pAy8Fisdww
+J8xUl4p/YlynjPWUclFLC2lfFp+uzyFa26CXuuWH0yVBqqsFqY8oW1X9NCc4YH8o
+jIV3GPf1yVVYgYBMNnYg8tW0oBofeSbQI2uVJFKbNDd9Xpa23kb1vLv/bLnTDuyN
+QSESTCLTiWp8cKN9/qgCA/jf5bz5PPtU5StGVnzs6gbxWrPe4WN8BZmAjwQ6+KLn
+lpFzANWqOgFmR8dnt4JZKxH2IeyTAs/BDeI42G+mx+s/MZZ05Z2E7QTF2hQOA2D1
+j1M3OkDbnOFmX9XkOY/LUZUZHD12X9ME2B2B9pira0H7NhEB
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/55/root.crt b/src/tests/data/x509/pss_certs/55/root.crt
new file mode 100644
index 000000000..247b2cd2c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/55/root.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGHjCCA9KgAwIBAgIBKTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB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wQQYJKoZIhvcNAQEKMDSgDzANBglg
+hkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IC
+AQCON478iP4WqiqWO5Wp49rbjoReFS+8d9ows94+/OaM8hn9AJBM/oiTYP/JEhxz
+2qop9Zf7aKEmt8d/SkUHxb3odHjlgQyRm0f/wwVFDrj9ZtRyC3xG8JLhe+Q24ymC
+o5GiP9RoFB7hbvov6XQ2MxQnYn7ottiuPduHbQ/xV3yl81ovu/xoGaE1UU9fxzm1
+LlBsSAau61BHQxLgx18Afkh3ucu1VOJaRuqQeHLdaeMIJ7FYjsuiyKnCMTaTHHyb
+jF1XM2kSlTxrXbkEYgzX/oJntZZrVY6dGk3jwphreNQKOanXBWPNX6t11e9+q0v0
+LIyv8dm5//Luvd3sOJ1W8VNeR6dEG+HD11k5kMp9Qnknr9uQZHJ972t9xGcBuXmJ
+0VBGmhlHCNujBQn0dH1aLPg3/HjODLMqWla812a09sv2KfxFHsDsEhV2lB4NWaDy
+x3xjN4POSJcOsaQ1rl5oARQ8sa2dLe5fI89b7KRR8gQl4bFZLHEUK69PzvFYGNTS
+bFKW/n+i/1VImD4EEA14Yan6TWUuv98H4dYoyiBElIUElCeLpo5YzIzDq1+avTUO
+hATMdW8WHolZLQqgmOHmGtRrXyFx5wPDStooX9I/GpwlSt1Oe/Pj5xKHZyqG9bWK
+oxd+k3kdlcjur1H4a7r+tc8n/23+AgdrcpM9GUX3Vm5jiA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/56/end.crt b/src/tests/data/x509/pss_certs/56/end.crt
new file mode 100644
index 000000000..39e8fdaa3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/56/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBMzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAg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
+MD0GCSqGSIb3DQEBCjAwoA0wCwYJYIZIAWUDBAIBoRowGAYJKoZIhvcNAQEIMAsG
+CWCGSAFlAwQCAaIDAgEgA4ICAQB/VbnCTTV1dQ5IL1E3fx/+UK09DZQSl0uNKusL
+HGWTJta3IjUs0q5WZKvvZ2kQPYO7A+XHB/AzPoYkC8VzBnKmQfHndz6t/uZwR5dA
+WZCBuuiBu1fIpD6U9ALnNtsdbQwp6EhgajdaC83HREk2U0A1t2SpfczuPpHr/PZl
+Fcr2O4pP3VrNcYUAum9mBPHp2yS3fwc98hiEfIhEjKqBpaj5tgvn9K9OyyqPH58n
+Stg/Sxgd8zoWhiymznZ53aaNWM2EbR+6QNjiRsCwICMWAr5BBSZOa6zmont8yyRg
+CDR66nRSu5G/NXpGqCpEnl3gTmMKlObIJvZ7tdJd6e/2BwqQRSESDmnkHO2RM/Cz
+vp3OhKILEBKxdKyeGCi4wHIMD39+L0tvm/k2CxNuIy0MjwIH0KdwusH3K7Np2rtg
++Z72pWvDPspXWItXcYGMIwBlgXoeBrpmWtaEuDR8PCE5rjph2q4R5oqm5wrjCJmu
+MHySA7s28UQo9SN0iPZdQxwHuoT7KiY7aTFqNXkhiWnBarMhjuqJmDKyTLym2mHs
+Ax5/qNF3wpFKEEoLtGvrACTNXRyXZE+YXyLDEx/xxv20sBNZO+EobpTlzz1QxT8R
+rArW6pePeqjUNDseKSpaz4wGadOvZ4Z7VfnXQqBVTKG0F9SaHbzBCcf9zEQ7rTJk
+rstAkQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/56/root.crt b/src/tests/data/x509/pss_certs/56/root.crt
new file mode 100644
index 000000000..bf00b14ba
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/56/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBKTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgB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tests/data/x509/pss_certs/57/root.crt
new file mode 100644
index 000000000..bf00b14ba
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/57/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBKTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTEwNjEzMTYwMDAxWhcNMjcw
+NjEzMTYwMDAxWjCBiDELMAkGA1UEBhMCQ04xGDAWBgNVBAoMD0hvbmcgS29uZyBD
+aGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24gRGVwYXJ0bWVudDE+MDwGA1UEAww1
+SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRo
+b3JpdHkwggIgMA0GCSqGSIb3DQEBAQUAA4ICDQAwggIIAoICAQCgq+637INet9ru
+Quy970VFXuRF63ymLaQlLcpTWg7VBAtjdchOUX5q8DBmWzzJtxp6EsDlhFMAz6m3
+6/scHnxsmE7LZGJllnzvPmEmiZi41oWvBxVyHNah91itMMxMGWDurIlH66/1sqkz
+0iYVdZItIYktGXtlSt1wPRfUyvbPMRwrGHiF5eUt8vqhVMzw667q2xU0EuBDDv8c
+dJam6lE/2Y9a8nEhsL4lJVgvMJl0twLHDzFLlYzWMSNfqxvcdWmq+IT7dLScQJdj
+7r3QtBL2XGMxgCvY5fMcYJ+yQ1BhjdCLK36uh3EVevVgXCa7wDeG9gfBFDqBX6Ud
+R6C8DOln0dSeoG7kNTDd0iHannA0KiGztEPae12oP1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TIKZnONs5
+zIlEq0sNB6AhmfJm+t3SVtPIwETTHPiFONpxmCViVNbh6+v0WRGLL6+MbYXHj5jU
+PQlHenD9lEvYlVA4VKpjOMo8MAiTB9mCe0cmswYr5XBzRPfd8avFq96g/oCmZs/i
+xS54jA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/58/end.crt b/src/tests/data/x509/pss_certs/58/end.crt
new file mode 100644
index 000000000..a46641292
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/58/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBQjA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTQwMjI4MTYwMDAxWhcNMjUw
+MjI4MTYwMDAxWjByMQswCQYDVQQGEwJDTjEYMBYGA1UECgwPSG9uZyBLb25nIENo
+aW5hMR8wHQYDVQQLDBZJbW1pZ3JhdGlvbiBEZXBhcnRtZW50MSgwJgYDVQQDDB9I
+b25nIEtvbmcgQ2hpbmEgRG9jdW1lbnQgU2lnbmVyMIIBIDANBgkqhkiG9w0BAQEF
+AAOCAQ0AMIIBCAKCAQEAvKJdq7eQWErRv1jOGmPJIEYlXSVCnCcTQB/8Gek81h2K
+405y9hSx5fRmsuc4/BEBysEwvH00FyI0rVwrW9W8MuRuvCv74COON585WnYWxOvG
+jHfhzjHGfWjpdaGC3JaQ+qH196FPc3RK9rB7xaHD3iM/xFU7mZWBlMuUl/6eZK89
+Od/bKzq/9sl2jWwgSHqCq3DsA7entjQ2z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90hjHYoDCxU
+Qgb2L6NuqLxaVD116RWI6Rt6sT697+gcQtgkLhkVIMN22pXGquDc3K6sFysMcZWf
+aEb8SKP+nvmvfZEzTqY5xzIoqJbzkPAQ9qzHcvd+wDlJsxDc17JizkVXvVyJm43/
+24PAgw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/58/root.crt b/src/tests/data/x509/pss_certs/58/root.crt
new file mode 100644
index 000000000..bf00b14ba
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/58/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBKTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTEwNjEzMTYwMDAxWhcNMjcw
+NjEzMTYwMDAxWjCBiDELMAkGA1UEBhMCQ04xGDAWBgNVBAoMD0hvbmcgS29uZyBD
+aGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24gRGVwYXJ0bWVudDE+MDwGA1UEAww1
+SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRo
+b3JpdHkwggIgMA0GCSqGSIb3DQEBAQUAA4ICDQAwggIIAoICAQCgq+637INet9ru
+Quy970VFXuRF63ymLaQlLcpTWg7VBAtjdchOUX5q8DBmWzzJtxp6EsDlhFMAz6m3
+6/scHnxsmE7LZGJllnzvPmEmiZi41oWvBxVyHNah91itMMxMGWDurIlH66/1sqkz
+0iYVdZItIYktGXtlSt1wPRfUyvbPMRwrGHiF5eUt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2XyFYv8R5dSB
+Z5ErBWRyty2aRmKBckFnTwgzTw6Yt0nqLtYLQePml2CO+NAhNMIT6ztBxmqlQ/LM
+fR3L8r0ke5AJNCWa0FuRsvkNtoxCzirxyEPiSQITuOMpWCqQOKTu3yAK1zCOvC58
+3IfeU2eNI/B30wF1EERZcsWKPybCsLKs3prf85l+W23o/zWSPIVTPd8TIKZnONs5
+zIlEq0sNB6AhmfJm+t3SVtPIwETTHPiFONpxmCViVNbh6+v0WRGLL6+MbYXHj5jU
+PQlHenD9lEvYlVA4VKpjOMo8MAiTB9mCe0cmswYr5XBzRPfd8avFq96g/oCmZs/i
+xS54jA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/59/end.crt b/src/tests/data/x509/pss_certs/59/end.crt
new file mode 100644
index 000000000..49eff2be7
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/59/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBQDA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTMxMTMwMTYwMDAxWhcNMjQx
+MTMwMTYwMDAxWjByMQswCQYDVQQGEwJDTjEYMBYGA1UECgwPSG9uZyBLb25nIENo
+aW5hMR8wHQYDVQQLDBZJbW1pZ3JhdGlvbiBEZXBhcnRtZW50MSgwJgYDVQQDDB9I
+b25nIEtvbmcgQ2hpbmEgRG9jdW1lbnQgU2lnbmVyMIIBIDANBgkqhkiG9w0BAQEF
+AAOCAQ0AMIIBCAKCAQEAj7Of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3twlFY1Myg6+u6J
+Dd/PWsKUR87sZecewWf7TEhDK/0dM4qXEG7w3+yhWjlit7FROcEbX1Biz037JhDY
+F/JkvZ3TnZhNjpNuSKWJc5qsHa8BqilEnryx1Dz/ENf4XZy9RAMWQIZ6oVTvw9Au
+gVBPCiDhHY05Oblxvhz1yJ8t4pA5k/RvBvLKAVXi/jSFzCw8uHEHKIPDZnhhqZMZ
+jKNa3OsL4zrcgHPX0bsVxEGiLkB0GXBcKOYEozzA7V7nRlJEbfLtl4KQ6erIwbsc
+XLpR0gBk9Vi61Ovsoo2bqoUleo9nA51LzxzQzDmeu9J+eIWfvnvyiFZUvVmmZwsD
+XQszZw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/59/root.crt b/src/tests/data/x509/pss_certs/59/root.crt
new file mode 100644
index 000000000..bf00b14ba
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/59/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBKTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTEwNjEzMTYwMDAxWhcNMjcw
+NjEzMTYwMDAxWjCBiDELMAkGA1UEBhMCQ04xGDAWBgNVBAoMD0hvbmcgS29uZyBD
+aGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24gRGVwYXJ0bWVudDE+MDwGA1UEAww1
+SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2lnbmluZyBDZXJ0aWZpY2F0ZSBBdXRo
+b3JpdHkwggIgMA0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H5H8xWZrRCv4gItWfrfyfHlmxA
+LETGF6E4zobVVzrlC8IHMrDvNWmcilgLLF6Fh8BTC1TFpBI5G4juFXxGB2f8CWSA
+H3nqZ0Aw2kkY4QvQ5guOKVnz0o5d9tgSQKlN6FaYLqVKWqgdd5739MHDe79sKTnN
+6ir3WmemK+lGGLgRwS+t61RqBaLsTMl7UOF+xypSkFZCo+WkmAek2XyFYv8R5dSB
+Z5ErBWRyty2aRmKBckFnTwgzTw6Yt0nqLtYLQePml2CO+NAhNMIT6ztBxmqlQ/LM
+fR3L8r0ke5AJNCWa0FuRsvkNtoxCzirxyEPiSQITuOMpWCqQOKTu3yAK1zCOvC58
+3IfeU2eNI/B30wF1EERZcsWKPybCsLKs3prf85l+W23o/zWSPIVTPd8TIKZnONs5
+zIlEq0sNB6AhmfJm+t3SVtPIwETTHPiFONpxmCViVNbh6+v0WRGLL6+MbYXHj5jU
+PQlHenD9lEvYlVA4VKpjOMo8MAiTB9mCe0cmswYr5XBzRPfd8avFq96g/oCmZs/i
+xS54jA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/60/end.crt b/src/tests/data/x509/pss_certs/60/end.crt
new file mode 100644
index 000000000..aaee07c1c
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/60/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFoDCCA1igAwIBAgIBOjA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTMwMjI4MTYwMDAxWhcNMjQw
+MjI5MTYwMDAxW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AruexJ/oti/YBUATx/xQBJWj8yXh2UpvY6eN6RQ
+YfxR+Z32XD2gZczpIezmTSGE195exEt2wjK2+TLCwjP635ohn3Z05vPkclFYBOIa
+7sI+/BZZoJfDfqJERNKTsbboRMJUr0vryJ0QpbzZRNZ2Cga2JlV/FvGaATajUeoR
+KzbVjhWftpUL55I6iAO0lyrnZ7vnDBZS5bhH8gUJxNnwK5iI+HQ6nqnG8HSNz1J2
+BYPOic6aX9r4NcnlAYAkeApCBm839y9JpP12RUEj62E/MzmkUATXAllpz1f77u7i
+2xvUhMxIdgw9RyMFKxnLAvO87gmCe13mWlMEjmvsRWPIvJTBJc+u0B38X+UIy7/F
+WU2qwP/s1cjXr6tY9jnKbJ1dqkltq2bXflBaMiNdeYAIbWzftvIkE2cvAsGmf6Ua
+qKRbUFEdUo79sI/NXtkiPA/NR3vRNt0+Pa/ZRsEw7v9LPkRVsavB3O2Kvo65RM70
+TqRwzLeKiNJkkbr+EcTncb19HJ53FGss8qsqETtVeuNu1c4CeOGzZkqjvthaENXL
+TmrSkg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/60/root.crt b/src/tests/data/x509/pss_certs/60/root.crt
new file mode 100644
index 000000000..bf00b14ba
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/60/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGMDCCA+igAwIBAgIBKTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBiDELMAkGA1UEBhMCQ04x
+GDAWBgNVBAoMD0hvbmcgS29uZyBDaGluYTEfMB0GA1UECwwWSW1taWdyYXRpb24g
+RGVwYXJ0bWVudDE+MDwGA1UEAww1SG9uZyBLb25nIENoaW5hIENvdW50cnkgU2ln
+bmluZyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTEwNjEzMTYwMDAxWhcNMjcw
+NjEzM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WUDBAIBoRowGAYJKoZIhvcNAQEIMAsG
+CWCGSAFlAwQCAaIDAgEgA4ICAQB63sCxn9yon6XPXjMyl0SiDiIQ6SL50/izARIi
+ggrPQeY47Sfq4wtEOD+HNy3C2tmF3m+s6FpQG3ZO3eKu5wrWss2Mc0pwTSKSdrdL
+c3zfPAgi6A+P+71+hy7axtaUYmlxcU6RT4NYT8H5H8xWZrRCv4gItWfrfyfHlmxA
+LETGF6E4zobVVzrlC8IHMrDvNWmcilgLLF6Fh8BTC1TFpBI5G4juFXxGB2f8CWSA
+H3nqZ0Aw2kkY4QvQ5guOKVnz0o5d9tgSQKlN6FaYLqVKWqgdd5739MHDe79sKTnN
+6ir3WmemK+lGGLgRwS+t61RqBaLsTMl7UOF+xypSkFZCo+WkmAek2XyFYv8R5dSB
+Z5ErBWRyty2aRmKBckFnTwgzTw6Yt0nqLtYLQePml2CO+NAhNMIT6ztBxmqlQ/LM
+fR3L8r0ke5AJNCWa0FuRsvkNtoxCzirxyEPiSQITuOMpWCqQOKTu3yAK1zCOvC58
+3IfeU2eNI/B30wF1EERZcsWKPybCsLKs3prf85l+W23o/zWSPIVTPd8TIKZnONs5
+zIlEq0sNB6AhmfJm+t3SVtPIwETTHPiFONpxmCViVNbh6+v0WRGLL6+MbYXHj5jU
+PQlHenD9lEvYlVA4VKpjOMo8MAiTB9mCe0cmswYr5XBzRPfd8avFq96g/oCmZs/i
+xS54jA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/61/end.crt b/src/tests/data/x509/pss_certs/61/end.crt
new file mode 100644
index 000000000..75fd98f85
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/61/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFEzCCA0egAwIBAgIETyfPezBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYT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+MA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMC
+ASADggGBAH3NLm9aCcowt6EszCDa7VYiOFsN9kR6iKE9Sq1cSoBd4LZvHX76WnDq
+YDnKw/+qpgtZypAtJ7K3R38e6+SaUddgvhcBYNRicCBv8+qxp44mms6obJY8e1Yf
+GeDJT7tOL47Dy1D6AN2oNg9oxZnv/qqKFjmoAJNpxfxsecTEgesOdtUzh48wQHTL
+UHmSJw1Di5R5LazxpucOFA+p3x0Y/BaBxkVnYUB7TyRZ8j/qi1Xbhk8ZpJh6scOS
+VWB3ghM8e4ns+E1RYQCyEQ2ky0FGASFy1rW3Wdr2fDSXtKR5K9zA4msrT3MJJmw3
+Jz8DC14aGyOYrHIz6JHVr91NlYsYYFjgCmb0/UPp61dN6IuGuJ22vabrqu8SDiOs
+KVnf4PFas4n2r67tZjWEI+3BuczcvUJ/jKLK72CG60kaEm27/NIrlhED4+oETH2/
+QGy+uG9kFY7innMtgr/aJPIRb4fQGV3CDkPLxapcBxe3BkV+qo4fPkjDLdol3Teg
+MpXLJh8S2A==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/61/root.crt b/src/tests/data/x509/pss_certs/61/root.crt
new file mode 100644
index 000000000..cf221947f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/61/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETyfFjTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3Bvc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jBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFl
+AwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBAGXN
+mF36lTCZeo3uqN7AZFc/czK5w+F/rYTFh7FJ/UCXgAT22+IiWZA2LKkf5qLJdc7H
+U1WujA+blmeckWCpsWEVhooHHYi1q+ULEq8sKa9Hyh7ApEVfeZIaqZxAHjfYLucz
+fzh8p6JWyub+Rt5sf+h24tS9eidhi8EuG+eoUKadbiZSRguf5jw77OUuK5A54hUd
+kkseDUGyqjTmSY+bInsA7jrjs3sAR6+ZZaF5oY/7/5z6X9BJ2H3RQ6MGJG7AOGms
+XPnIG4vXlf4ZzquyR+aONZnbLfOxX+VICrdi+Mavq1juTkvLMp38VLqCII4K1FGs
+9+D8FIeW9mpvTu08z2WGoAfEMZ41+Hzca+KujA3zUcNZ7/poPofPq9QmWFGKWJJx
+1dX9mKKtJ9IhQ7LeYBoCjnZCuRj6hHl8pX2XlwvJqzVzGE7QqVgfx7K3ScUzlSht
+CgOrPcXHPRkweS9O9xsXf+HlQIr3bsq9u+3xkrt9RgR1H0mWO6wJr53ii1DFHg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/62/end.crt b/src/tests/data/x509/pss_certs/62/end.crt
new file mode 100644
index 000000000..2e685d078
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/62/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFIDCCA1SgAwIBAgIETyffVjBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWx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Rez8cpSwQKycmpqL0ToG3YxMbgP4HTNykOguWC9DrbhxV7
+S46v53t8sDJxpaMJymQajxhByydP8VbZdljSdVCSP5ug+d5PcqC+y4rJ4v7289vx
+dmRyA4R5OHO8xWTex/QxxqhtUe1/20+Ahh/hwVFR5y0nR4NS1vOJdKY63VBYyz6P
+zJ6Ic0Fc+rdLaK0JWcsKTvrECBBD6AdOYpp0MFBqgxiaBQpNmaaGZ5iGrX/Z7YXH
+A1AaXsShlSMetprkARbL1pRrRAdbVdLTRh1yxUJO6uJT7wFZR9VtbbNX5st89bwK
+g9plREv+HcADzew5bJ+KKn2MUYvpHoMT0wPFLTBw+ogSGrtdq3AgJq209GDZhvl1
+6Blna88yf/rT96jupGINvzP99Fm5dgx20pUsjvqC3KyErxfZsOKFfHf8qmMloR6Y
+EHHVoYFsLVaEpHnbjsCwEy28Dhc=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/62/root.crt b/src/tests/data/x509/pss_certs/62/root.crt
new file mode 100644
index 000000000..cf221947f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/62/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETyfFjTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE0MTAxNDAzMzAzMloXDTI0MTAxNDA0MDAzMlowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFu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XgAT22+IiWZA2LKkf5qLJdc7H
+U1WujA+blmeckWCpsWEVhooHHYi1q+ULEq8sKa9Hyh7ApEVfeZIaqZxAHjfYLucz
+fzh8p6JWyub+Rt5sf+h24tS9eidhi8EuG+eoUKadbiZSRguf5jw77OUuK5A54hUd
+kkseDUGyqjTmSY+bInsA7jrjs3sAR6+ZZaF5oY/7/5z6X9BJ2H3RQ6MGJG7AOGms
+XPnIG4vXlf4ZzquyR+aONZnbLfOxX+VICrdi+Mavq1juTkvLMp38VLqCII4K1FGs
+9+D8FIeW9mpvTu08z2WGoAfEMZ41+Hzca+KujA3zUcNZ7/poPofPq9QmWFGKWJJx
+1dX9mKKtJ9IhQ7LeYBoCjnZCuRj6hHl8pX2XlwvJqzVzGE7QqVgfx7K3ScUzlSht
+CgOrPcXHPRkweS9O9xsXf+HlQIr3bsq9u+3xkrt9RgR1H0mWO6wJr53ii1DFHg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/63/end.crt b/src/tests/data/x509/pss_certs/63/end.crt
new file mode 100644
index 000000000..45ef8d7e3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/63/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFGTCCA02gAwIBAgIETyfuaDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE1MTAzMDAzMTIxOFoXDTIxMTAzMDAzNDIxOFowgaMxCzAJ
+BgNVBAYTAk1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C/gFhZHRUalgq7oaBeEPVJ+504/V2RwnPGQz0TCCJshnu
+mkyyYiO7X/rVjKm97p0ayGxgPCd/ymtcJSN6rgM+tYLVkZquNWc4IUi6bCmj/Nva
+uN7qt/ZfyH155B6nVJfpQ55ntPcqhiBjmTZl3uXOOYJl7gIIA1IYCAn4Xe1nmRLe
+pgOQ/v9f8CioxSRmYoPREECZ5BtW4Scyiv56Gf26pHuMMAp8PqQVQvJVHFYRmINs
+SGBvUG0gPsSIDu2gHT9bA/cj7enkePfa6HpZQLFyItYLoK0Yxpvg2Y9wacQ+bLe/
+3U9fibU5v2LIp8LATA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/63/root.crt b/src/tests/data/x509/pss_certs/63/root.crt
new file mode 100644
index 000000000..cf221947f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/63/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETyfFjTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE0MTAxNDAzMzAzMloXDTI0MTAxNDA0MDAzMlowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEL
+MAkGA1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdp
+YW4gS2VzZWxhbWF0YW4gZGFuIFBhc3Bvcn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biZSRguf5jw77OUuK5A54hUd
+kkseDUGyqjTmSY+bInsA7jrjs3sAR6+ZZaF5oY/7/5z6X9BJ2H3RQ6MGJG7AOGms
+XPnIG4vXlf4ZzquyR+aONZnbLfOxX+VICrdi+Mavq1juTkvLMp38VLqCII4K1FGs
+9+D8FIeW9mpvTu08z2WGoAfEMZ41+Hzca+KujA3zUcNZ7/poPofPq9QmWFGKWJJx
+1dX9mKKtJ9IhQ7LeYBoCjnZCuRj6hHl8pX2XlwvJqzVzGE7QqVgfx7K3ScUzlSht
+CgOrPcXHPRkweS9O9xsXf+HlQIr3bsq9u+3xkrt9RgR1H0mWO6wJr53ii1DFHg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/64/end.crt b/src/tests/data/x509/pss_certs/64/end.crt
new file mode 100644
index 000000000..049c7bb65
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/64/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIFAzCCAzegAwIBAgIETygAmDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE2MDQxMjA0NDk1N1oXDTIyMDQxMjA1MTk1N1owgZsxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEO
+MAwGA1UECAwFSm9ob3IxDjAMBgNVBAcMBUpvaG9yMSkwJwYDVQQLDCBCYWhhZ2lh
+biBLZXNlb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YO4A3iP43Qn6msFe6bu96Fe7dkXvVvG1ETkiW/1
+mCgwRI+NVQUMOZZyKaFqgrmOwVxOmIJaR6X9dNBgjdnIUnG7trJOOnBHd42qAA+K
+rl4MVFgvTNc7Se+WyVJtl4HQOVLaOYdz2XHYg/KK1PvlYxipFVo/
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/64/root.crt b/src/tests/data/x509/pss_certs/64/root.crt
new file mode 100644
index 000000000..cf221947f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/64/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETyfFjTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE0MTAxNDAzMzAzMloXDTI0MTAxNDA0MDAzMlowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEL
+MAkGA1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdp
+YW4gS2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENv
+dW50cnkgU2lnbmVyMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyjTj
+0smBAi13CocOD5rY7HjvaUT7YFGHdnpInezRas0h0wy/5OLr0/Dt3ik9RAmdmdn9
+9gFtla5xbX5u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08z2WGoAfEMZ41+Hzca+KujA3zUcNZ7/poPofPq9QmWFGKWJJx
+1dX9mKKtJ9IhQ7LeYBoCjnZCuRj6hHl8pX2XlwvJqzVzGE7QqVgfx7K3ScUzlSht
+CgOrPcXHPRkweS9O9xsXf+HlQIr3bsq9u+3xkrt9RgR1H0mWO6wJr53ii1DFHg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/65/end.crt b/src/tests/data/x509/pss_certs/65/end.crt
new file mode 100644
index 000000000..28ffd71b0
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/65/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFEzCCA0egAwIBAgIETyfPczBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE1MDExMzAyNDU1NFoXDTIxMDExMzAzMTU1NFowgZ0xCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEP
+MA0GA1UECAwGTWVsYWthMQ8wDQYDVQQHDAZNZWxha2ExKTAnBgNVBAsMIEJhaGFn
+aWFuIEtlc2VsYW1hdGFuIGRhbiBQYXNwb3J0MRwwGgYDVQQDDBNNYWxheXNpYSBE
+b2MgU2lnbmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnyzXc6Bz
+d/3GYUlI9y7ouX94cbpbVHJw8N+46P0X2IRPL3VtFot2/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rlipk+
+v7/Uf8YhGg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/65/root.crt b/src/tests/data/x509/pss_certs/65/root.crt
new file mode 100644
index 000000000..cf221947f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/65/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETyfFjTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE0MTAxNDAzMzAzMloXDTI0MTAxNDA0MDAzMlowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEL
+MAkGA1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdp
+YW4gS2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENv
+dW50cnkgU2lnbmVyMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyjTj
+0smBAi13CocOD5rY7HjvaUT7YFGHdnpInezRas0h0wy/5OLr0/Dt3ik9RAmdmdn9
+9gFtla5xbX5uIzJ6aGTFE9C0s3ajfkiJu5YI+K9y3MJbelmCgyCHHM6LsIAQkgvp
+/CNn4dOQxcsLlOGU0zWNWkJQFUKzQN+AZ1xCnQbMzrUw+pWNPV5O+VGomzhobRP0
+n5nQT7YhZgEH+UFT1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+HlQIr3bsq9u+3xkrt9RgR1H0mWO6wJr53ii1DFHg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/66/end.crt b/src/tests/data/x509/pss_certs/66/end.crt
new file mode 100644
index 000000000..4c44763b5
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/66/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFEzCCA0egAwIBAgIETyeAZDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTEzMDEyNTAxMTE1MloXDTE2MDEyNTAxNDE1MlowgZ0xCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEP
+MA0GA1UECAwGUGFoYW5nMQ8wDQYDVQQHDAZQYWhhbmcxKTAnBgNVBAsMIEJhaGFn
+aWFuIEtlc2VsYW1hdGFuIGRhbiBQYXNwb3J0MRwwGgYDVQQDDBNNYWxheXNpYSBE
+b2MgU2lnbmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0LVL3N/q
+ZkEhzdg+0ooJHO2veu6INDX1VswBANexo0/7fSSa0W5udHhBwhYD9KQOT9Tr9qwq
+dS/3Qa6m9MMN48hoHw4WKYQqqeiilagtQ43SkecSKPrzl0VmrPkaVLS1kORhhsJc
+HvUBP6GDbtKP+hO5vbSj/sQzkFt2RmZHJoHwrs87PJqnKpZ10o7XUimi8jfR67Pc
+8C7JaBCxTNUj3MAcEOcF/V1SNLYJfawDxi3A2c6rIb6GS1pJ89o3hGZSXZ93SxH0
+/6YUzQyBVI3gVq7KRRvfrUWZcUd3Xuhf8KVncDGj6W/fdnI32l2ul+Ps8LPbcx+P
+Ms8Pznn0PqOhdQIDAQABo24wbDAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIw
+ADArBgNVHRAEJDAigA8yMDEzMDEyNTAxMTE1MlqBDzIwMTQwMjAxMDg0MTUyWjAf
+BgNVHSMEGDAWgBS2NPNSni7V7Xdzeahb5kpdreD1nDBBBgkqhkiG9w0BAQowNKAP
+MA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMC
+ASADggGBALEHUumBsTehINfcjuQgzxinjZcrKSowP0x7DQv9SwfHzKMsp4Bas68+
+ULVTk/tMDDFN94HhGLwK74dmXATU7l/o+/OXSdQTbrIrNBAr14QCOug0vBxwFUtD
+mgznJL1zWmmg4J6aYI287G8sgbHK+gq2Zc2KVVolmcyhrLDHqwOuztonMDMBNjv0
+KGhTqdOjI9Rdrvg6qNjWsRUDuI7LTuriBzMcU95xVAlwm+NPlHgy579U8ZRy5VUP
+v2WTrr/jbt2Ds5OVCuKFYB/9olfIX2QzJjqNKdQnyGgQxT+9aG4wutNqQ18CAL8n
+RiHfxSCnhR8Nsu6luSv5L+TvfuqMbXrubgRJgVTHNLeFsQUXAaMEJPPKIYOMGVL0
+XeSEET1f0nDWlG7loF05bOFzKds810dSM4FCxB161nboY8fXl4fBew2b0wbTqRxt
+aXNeYeIqIs9wdggL2H5bVZtNxePl0Ehc65ZhufzgUu/CKjjA/Us4RKfqTIvQYGd1
+FIeNTk6+Jg==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/66/root.crt b/src/tests/data/x509/pss_certs/66/root.crt
new file mode 100644
index 000000000..5157fab6a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs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fX36mnGAePziysB8Osy0FMiRZI6q/5l7gXo+
+abwCaGDa241rkQ0ZlrgKRwbR4kgOmyYVg+Pr3iRPzV/uZy5lD011d+/NG6qoYaEY
+mimDcIHnDToK+dYthlc9WhxpN6Ho4Lq0XROvPoqAnKmiDw3aYcKGmgZABZlfAgMB
+AAGjcjBwMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMCsGA1Ud
+EAQkMCKADzIwMTIwMTMxMDI0MTQxWoEPMjAxNTAxMzEwMDExNDFaMB0GA1UdDgQW
+BBS2NPNSni7V7Xdzeahb5kpdreD1nDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFl
+AwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBAAt7
+soo2p/8tG7VWwaFinxm+gUTkBtu5ZhJzGOlxOSwHjt6xwrKkilAyb17/Y9CpSach
+XNieFUvVGqrEXaHFdSjjttdRfpuYmf2t8agY2kyNZ0QhaPYsYZbW+hu01Po0bQLK
+DXCHGNttQRCx01aMdpklF79EUr5+ISNdntv7TreoRQp+20/lXaW8dGqegnpbszZ1
+jHjuk2O/5+PfGH9fb5vFxNeT922Veb58IGzXDvSOq/21nylIjSk+JKIeQXjxeF/2
+xqZDKcdZLlck0ueiDIVFiBkLnL3PExHPgnCVRLTyovVij1dVydbvp3zbpDV7ZX4C
+aenM5GijYPcC26BhSucayId2pScz4nAUy/twgqUVH7tjGHKR4vZp8vy+1OZuWi/w
+T6mHDw/O/XAlqnMHgKR2zOS+FDB8cipjbi5Kfqm4VtLxLl9Akgnsn+fFnWXpygqx
+vz1GqP8kMIHJT7TWZtWGu4LR8uDhA/VF6w7OikQ4z8avtm5kCZwOIeNNF2nJcA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/67/end.crt b/src/tests/data/x509/pss_certs/67/end.crt
new file mode 100644
index 000000000..a231a2ded
--- /dev/null
+++ b/src/tests/data/x509/pss_cert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wDgYDVR0PAQH/BAQDAgeAMCsGA1UdEAQkMCKADzIw
+MTIwMTMxMTYxMDQ3WoEPMjAxMzAyMDcwNzQwNDdaMAwGA1UdEwEB/wQCMAAwHwYD
+VR0jBBgwFoAUtjTzUp4u1e13c3moW+ZKXa3g9ZwwQQYJKoZIhvcNAQEKMDSgDzAN
+BglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEg
+A4IBgQBrzfB58AQQzGmg+NG7dYcVwE0sad0XT/U1dSdLxk02FWsQ5TRgjC9eT6IQ
+ufjbCHrWY3pCBK2x9ZDtndA1/QzsjsXqy8KeixVL8FSscWdSwOK3FQsKmfXLa80J
+xFPYSg4XEkwv/VDy99xNxHrFHU+fUUQHSdpE2LSkECgqujfylUxUPKE+fYwdonmL
+qUBuyCbcAfcSDmQHPZHp32x/kQQPYP+MoR42sbCTIOFJjm7gppGH2CH0mkiHOhfe
+eBeGXJHUufVov5HwYx+zknG2k5FRYNeLKQEZR/ayL34UfLRSDM6bJlcG+UeGG3Fn
+8ny1IqB7CqOdW0wweKJavulvj2XMpUKGNAMlALPiPYEQ4YbcUTfRzh4+2c0PElv/
+Gy+uurc4iYcB9ebpWyHL5bKQUM+isK0M7Jem1/BEtGbnDlU8wWzhN0Yidz760cj7
+sn1E1r3+0xVbV3ayiQOKFCfEuiKdjVN7xlR8aQFLw1mYk4UHO9SIgcqwtho+EkLx
+V3Zy7EQ=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/67/root.crt b/src/tests/data/x509/pss_certs/67/root.crt
new file mode 100644
index 000000000..5157fab6a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/67/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETydbzzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASA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AgMB
+AAGjcjBwMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMCsGA1Ud
+EAQkMCKADzIwMTIwMTMxMDI0MTQxWoEPMjAxNTAxMzEwMDExNDFaMB0GA1UdDgQW
+BBS2NPNSni7V7Xdzeahb5kpdreD1nDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFl
+AwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBAAt7
+soo2p/8tG7VWwaFinxm+gUTkBtu5ZhJzGOlxOSwHjt6xwrKkilAyb17/Y9CpSach
+XNieFUvVGqrEXaHFdSjjttdRfpuYmf2t8agY2kyNZ0QhaPYsYZbW+hu01Po0bQLK
+DXCHGNttQRCx01aMdpklF79EUr5+ISNdntv7TreoRQp+20/lXaW8dGqegnpbszZ1
+jHjuk2O/5+PfGH9fb5vFxNeT922Veb58IGzXDvSOq/21nylIjSk+JKIeQXjxeF/2
+xqZDKcdZLlck0ueiDIVFiBkLnL3PExHPgnCVRLTyovVij1dVydbvp3zbpDV7ZX4C
+aenM5GijYPcC26BhSucayId2pScz4nAUy/twgqUVH7tjGHKR4vZp8vy+1OZuWi/w
+T6mHDw/O/XAlqnMHgKR2zOS+FDB8cipjbi5Kfqm4VtLxLl9Akgnsn+fFnWXpygqx
+vz1GqP8kMIHJT7TWZtWGu4LR8uDhA/VF6w7OikQ4z8avtm5kCZwOIeNNF2nJcA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/68/end.crt b/src/tests/data/x509/pss_certs/68/end.crt
new file mode 100644
index 000000000..b083b3412
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/68/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFGTCCA02gAwIBAgIETydktTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAw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0B
+AQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQC
+AQUAogMCASADggGBADq5NqISaGNqrqyu0W9Fe/L4P8MW+AtKMggfjBhul2hLl+Nk
+VF4zApCljrWJvgnFtwdzGjlUjIDBaTgPlaFRsdGZfE2RO0pk4hVrR16mROI0SgSU
+Y3X2LtzIZFrDB/iCaGzXGa3NRObtTvcSkmzZ+Fg/vl4+PUkkStqkygiRsR+hXYFI
+2RFvGd374kQ+6o0ht8kTzY350BDwxtYmvNXMx2gUCMdQVkFulbKYSU9egBY3CDkQ
+YFJEtnEXwxYL+J/yMowd0hB4l967yyVO/vOKJoyjFiV0wbN3f0E5IpMkAfGjc2c+
+7DyvV0H69Fvak9/adYmwzjtZp0Cf46rF8DRIrn13tksqWW7bWzPLpKGWRYFJuJFE
+z3Ubk8CqRkHxHeP6ELGieaidbq3O7TeHXmLoJlepBts7gF4TcSrtnnNrX8xWHey0
+m5A4D7GLK187CYw4Ar+xLOPW4Mvcp7jq14UqfKaJVUM7K5j9TVZe/lh+GEgv2lDB
+Nqu4PCp6/9RtSIjx5w==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/68/root.crt b/src/tests/data/x509/pss_certs/68/root.crt
new file mode 100644
index 000000000..5157fab6a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/68/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETydbzzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZG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D1nDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFl
+AwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASADggGBAAt7
+soo2p/8tG7VWwaFinxm+gUTkBtu5ZhJzGOlxOSwHjt6xwrKkilAyb17/Y9CpSach
+XNieFUvVGqrEXaHFdSjjttdRfpuYmf2t8agY2kyNZ0QhaPYsYZbW+hu01Po0bQLK
+DXCHGNttQRCx01aMdpklF79EUr5+ISNdntv7TreoRQp+20/lXaW8dGqegnpbszZ1
+jHjuk2O/5+PfGH9fb5vFxNeT922Veb58IGzXDvSOq/21nylIjSk+JKIeQXjxeF/2
+xqZDKcdZLlck0ueiDIVFiBkLnL3PExHPgnCVRLTyovVij1dVydbvp3zbpDV7ZX4C
+aenM5GijYPcC26BhSucayId2pScz4nAUy/twgqUVH7tjGHKR4vZp8vy+1OZuWi/w
+T6mHDw/O/XAlqnMHgKR2zOS+FDB8cipjbi5Kfqm4VtLxLl9Akgnsn+fFnWXpygqx
+vz1GqP8kMIHJT7TWZtWGu4LR8uDhA/VF6w7OikQ4z8avtm5kCZwOIeNNF2nJcA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/69/end.crt b/src/tests/data/x509/pss_certs/69/end.crt
new file mode 100644
index 000000000..808e6873a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/69/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFFzCCA0ugAwIBAgIETyecNTBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZ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sC4RLhEFd+hvhFUe7+iQ9dm23+5VRWO7KCqNoMns0h8KYmJuF
+FYGyvyZmw6xBqMCVAOjOYNA3jZynAWtyPm8NYbYOBhqxG2KIRKpeA4Pj9hhDDDCR
++9fuhOvOoyZ7TSUUQPsH8rQoZsYQCehfi/bb72Qr5qUi8ET4PJDVOQrXXXhlqgij
+yDA8MCjCTKEesm+Y5vbw0/4VzHgsCV7JLki2sShWAzOEDPDd5vDtbPoKoIW+2Wtl
+LS3mkcFgwPFGnAyOl5j/2Lsz5Q9HsEBMtUAyXhd7HX+RfJ6i5cSWF8bk9geTZCnF
+3zt+E58K+RDzbreedToI4Pv1rqpl/aN1T5hkc27du3hkPSTYaEtgBp7SpbXFVVMn
+wyN8kP/1FmqlSO7tSX6Jqsun95F6o49osAsFdlOTJ2g0bKAD7zFMheOq4tD532n/
+so1d+S4IIVpKMxg=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/69/root.crt b/src/tests/data/x509/pss_certs/69/root.crt
new file mode 100644
index 000000000..5157fab6a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/69/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETydbzzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTEyMDEzMTAyNDE0MVoXDTIyMDEzMTAzMTE0MVowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKY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t6xwrKkilAyb17/Y9CpSach
+XNieFUvVGqrEXaHFdSjjttdRfpuYmf2t8agY2kyNZ0QhaPYsYZbW+hu01Po0bQLK
+DXCHGNttQRCx01aMdpklF79EUr5+ISNdntv7TreoRQp+20/lXaW8dGqegnpbszZ1
+jHjuk2O/5+PfGH9fb5vFxNeT922Veb58IGzXDvSOq/21nylIjSk+JKIeQXjxeF/2
+xqZDKcdZLlck0ueiDIVFiBkLnL3PExHPgnCVRLTyovVij1dVydbvp3zbpDV7ZX4C
+aenM5GijYPcC26BhSucayId2pScz4nAUy/twgqUVH7tjGHKR4vZp8vy+1OZuWi/w
+T6mHDw/O/XAlqnMHgKR2zOS+FDB8cipjbi5Kfqm4VtLxLl9Akgnsn+fFnWXpygqx
+vz1GqP8kMIHJT7TWZtWGu4LR8uDhA/VF6w7OikQ4z8avtm5kCZwOIeNNF2nJcA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/70/end.crt b/src/tests/data/x509/pss_certs/70/end.crt
new file mode 100644
index 000000000..4a73382b3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/70/end.crt
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE-----
+MIIFFTCCA0mgAwIBAgIETye+5jBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTE0MDgxNTAxMzAzN1oXDTIwMDgxNTAyMDAzN1owgZ8xCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDB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sBMwDmN1m6+
+2z5AHYTFXj6KgaPdrKuGsbf8go2KCjmU13UHAp1BxByNKVlKDPyAK5NDKqYGJYtv
+fqTd0yNCUQ+6ffrTfkuTAFvr/GjzKNSyGIcNg0VOayizUuCPf+Nz8uSfICf3hMF1
+9SLahWN6rOjkbnei95flfol461ELX8Vq1V713AUiCZV5zy1BZQXlNSaZvp4ph5sn
+sCaX2uCa95siMGs5Lp7xE8TIgVQ+R5m0f0uhnYM0G2Nt/E5ytJqpSKoIRXJG7NGQ
+2izBB9FFiaPz
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/70/root.crt b/src/tests/data/x509/pss_certs/70/root.crt
new file mode 100644
index 000000000..5157fab6a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/70/root.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmjCCA86gAwIBAgIETydbzzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwgaAxCzAJBgNV
+BAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTELMAkG
+A1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdpYW4g
+S2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENvdW50
+cnkgU2lnbmVyMB4XDTEyMDEzMTAyNDE0MVoXDTIyMDEzMTAzMTE0MVowgaAxCzAJ
+BgNVBAYTAk1ZMSMwIQYDVQQKDBpKYWJhdGFuIEltaWdyZXNlbiBNYWxheXNpYTEL
+MAkGA1UECAwCV1AxEjAQBgNVBAcMCVB1dHJhamF5YTEpMCcGA1UECwwgQmFoYWdp
+YW4gS2VzZWxhbWF0YW4gZGFuIFBhc3BvcnQxIDAeBgNVBAMMF01hbGF5c2lhIENv
+dW50cnkgU2l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IGzXDvSOq/21nylIjSk+JKIeQXjxeF/2
+xqZDKcdZLlck0ueiDIVFiBkLnL3PExHPgnCVRLTyovVij1dVydbvp3zbpDV7ZX4C
+aenM5GijYPcC26BhSucayId2pScz4nAUy/twgqUVH7tjGHKR4vZp8vy+1OZuWi/w
+T6mHDw/O/XAlqnMHgKR2zOS+FDB8cipjbi5Kfqm4VtLxLl9Akgnsn+fFnWXpygqx
+vz1GqP8kMIHJT7TWZtWGu4LR8uDhA/VF6w7OikQ4z8avtm5kCZwOIeNNF2nJcA==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/71/end.crt b/src/tests/data/x509/pss_certs/71/end.crt
new file mode 100644
index 000000000..24d569421
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/71/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBMTA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0xMzA1MTQxNjAwMDFaFw0yODA1
+MTQxNjAwMDFaMIGHMQswCQYDVQQGEwJDTjESMBAGA1UECgwJTWFjYW8gU0FSMScw
+JQYDVQQLDB5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxOzA5BgNVBAMM
+MkNoaW5hIFBhc3Nwb3J0IERvY3VtZW50IFNpZ25lciBDZXJ0aWZpY2F0ZSAoTWFj
+YW8pMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAnEZmgdFgQDfDJbKZ
+yQs2AS4XX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UxrYKZEmWLLKY7jKAcGJFnVdAwm0bu31HD
+5PASrAWbPGlaWAVo7cAK4N+1Wth+xs179uggZULjocusSEgdmToSwPt4fZfbNyjc
+g/8YpPn7X56xOG5OmNYQVytUpSUV2CzD+mxpARwutVqLYVhv9vHlU3OCHkYtvYgt
+0pRrsiaMAE0ubslYBrXTnQwatVXpFsF2OFWI2L9Yu5UnYR5c1UPF46T3yYILp9rk
+iqMWw7EE8sfJstgWYqWetOD3o+le83sOIcRrW43qWljkOqmAPSKcacHr1HOu+BjO
+f0rwKp/JvuyxTW/yOKYuoBclzYeTwPOa
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/71/root.crt b/src/tests/data/x509/pss_certs/71/root.crt
new file mode 100644
index 000000000..7215ab9b4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/71/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBCzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0wOTAxMTIxNjAwMDFaFw0yOTAx
+MTIxNjAwMDFaMIGHMTswOQYDVQQDEzJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTESMBAGA1UEChMJTWFjYW8gU0FSMScw
+JQYDVQQLEx5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxCzAJBgNVBAYT
+AkNOMIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEA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b7
+Ecq+p0euEMcqguSs5P9r9pVJQLhXnua02oUGgwNHX2jbPhmGqcMw2tiCk/2VJMQ6
+ypzPwjrdpDIiS6ThpUlKtH09gZ16RrAVBaio2b7ZENhjW60m7I1OlPSyZ4kgdEMU
+h2zJCuTuBjdzSk+cEl/xYCwj5OxQm1yMLS77ZVIhdTdz/JGP+pUNRN0SR5tVXWsm
+GYyzqZlSLk8LTO7alBnFonwGCp6cOneyJWmAbo5fNZbhqVGSgX4ToSFrGM26bHlp
+lbfWmriNgX6PYUq5toNqBQrb1dW7Kk3JIJ8ItUYjiV5JAB4/G3yJ8ejyQ5UkaBIM
+Wj4ml0U4sot5SGViTzTnMnTnhn705Nr5eOgcnMi+3Ps7MXszDgKvxub4la3l09+4
+BM3o7hv2Wn1DUa0bFXkYYnPYZyX3eOmNnTX6CqkHa/0XkzxX2DeHyd4OuK7H/yEY
+uw7E9GREiLer7BxPMfTSGcqln8T541tRHDowwF5C69FuKFn+jdVYu8uBsstFNNt/
+F3A=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/72/end.crt b/src/tests/data/x509/pss_certs/72/end.crt
new file mode 100644
index 000000000..895f717af
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/72/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBGDA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0xMDA3MjYxNjAwMDFaFw0yNTA3
+MjYxNjAwMDFaMIGHMTswOQYDVQQDEzJ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HwrJFIgqqAnKn
+HwV8MutACDR1VpDgYBjoJJT9/owYurc9Eq1Q+6w5f3W7grx39zse+1A6ouwqqUuk
+0YchWglaZxCryYkzxPnHAjC5YuV6XqCt8OWm7ULw8XhGc5VwfUl6QvRWrou6FUOg
+MbakmqCdhVb3AfQKKsvXSZOssyaiVUXz8c4Mfilc2pUJ10j0fWvn7Ez+oL1c3T5M
+E5899xL+LJ5/fs2rkDpCIPFqNAEY5xWpBqWD61JjNOMB30mCSqKA1cGO+85izULu
+bFAvMm53SKQvWbdgusDg9VAiPQ4R6TLKi2etoXxL7oE7+SDGBnjatBUKeTAdk657
+0HOvLF03HffcLa5HYtzD5dMhGb1nwCpnVgFE4g6PRKbYUxW0SvGfw2HUQqXH5aAb
++ggwnlg9lbmt0LRsfwtUULHpQ7aW61K3dNjMx4+1nIeBbiduWRbULSP0hNzBM6hy
+3m0uvWvebEwWfz6bkxB7ySTZ6KgHPeZ5FLwrEC6ZvhZ38See2lW+ApjG6f1WK4hN
+JZeom/4BCrxZ41DcjIlLfjU8GRBCc2o8
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/72/root.crt b/src/tests/data/x509/pss_certs/72/root.crt
new file mode 100644
index 000000000..7215ab9b4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/72/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBCzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0wOTAxMTIxNjAwMDFaFw0yOTAx
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0BAQowMKANMAsGCWCGSAFlAwQCAaEaMBgGCSqGSIb3DQEBCDALBglg
+hkgBZQMEAgGiAwIBIAOCAgEAa72EzcqQGVLnIPbwhqn6g7TbGwPW4XaUkfEHiGWt
+njthE51/u0Q/rffR8ua49Ba4DeOo3vGVAJAyZnGQpYPrWs9P6HA7W+YfbO4NZ1px
+PCLXHSs84f3czUNHnsIfW0UK5zNVX9/9/J0eG9Q+jYrkVkprFmsTTdCblW3PTYb7
+Ecq+p0euEMcqguSs5P9r9pVJQLhXnua02oUGgwNHX2jbPhmGqcMw2tiCk/2VJMQ6
+ypzPwjrdpDIiS6ThpUlKtH09gZ16RrAVBaio2b7ZENhjW60m7I1OlPSyZ4kgdEMU
+h2zJCuTuBjdzSk+cEl/xYCwj5OxQm1yMLS77ZVIhdTdz/JGP+pUNRN0SR5tVXWsm
+GYyzqZlSLk8LTO7alBnFonwGCp6cOneyJWmAbo5fNZbhqVGSgX4ToSFrGM26bHlp
+lbfWmriNgX6PYUq5toNqBQrb1dW7Kk3JIJ8ItUYjiV5JAB4/G3yJ8ejyQ5UkaBIM
+Wj4ml0U4sot5SGViTzTnMnTnhn705Nr5eOgcnMi+3Ps7MXszDgKvxub4la3l09+4
+BM3o7hv2Wn1DUa0bFXkYYnPYZyX3eOmNnTX6CqkHa/0XkzxX2DeHyd4OuK7H/yEY
+uw7E9GREiLer7BxPMfTSGcqln8T541tRHDowwF5C69FuKFn+jdVYu8uBsstFNNt/
+F3A=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/73/end.crt b/src/tests/data/x509/pss_certs/73/end.crt
new file mode 100644
index 000000000..b75bad62f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/73/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBJzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCB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QYDVQQGEwJD
+ToIBCzAOBgNVHQ8BAf8EBAMCB4AwPQYJKoZIhvcNAQEKMDCgDTALBglghkgBZQME
+AgGhGjAYBgkqhkiG9w0BAQgwCwYJYIZIAWUDBAIBogMCASADggIBABBfzkZsAmYi
+Zmu/C+e1dE6f/RepBlEnQX2A9huWAbgFHq5G4mZMLek78jjy9lBkV57N3DMTq/8X
+HKio3f19IKDWgSq31ryk3p6X58amy2vwG0jHzb3e7i4PzwjstqsAWRKT/8Ldcm6I
+wZ4Wq3fvuIhObEDI4tfX7KlWmFsqZcbcK1IY5TFAVJa871C17NRLQ28eA9AxOwVu
+ftNxkx/pY9AxFn+iq12DDIZE2qeGVONLb1X2LDsTCCfDbbDgW89G9p9a3Kz61Dsa
+YVnd1gEDnqjmppaO3lhgD25HX8Ihyy6JGFXKIGuZW7W/RVQ8AAVC+RFi+r3Dcr4x
+u0/n1zkPez1qEU7CKISJpHRT2EndP2G+2z8YiXEQB+etAb86oMBJeCulknkH9c5T
+b+iqYxMZQADhla/HKxoxZk8h2ebe1a+39SmYM/rtY7bogSLCQ1swQ35Rbny1iPqC
+pTKVjWH44C9Jk8k+veTxr/tCFf5KRHCjtEOZSUEqUdNBS0ddQ4jj+vP7Tr8cfX/j
+tqPXunM2u2mxW9ChUa5s/b/UiJdT8PahYU8lSmggMntIBZlu093DsOd0wTMf9Z+v
+Sd6Oc0ij5/1tFJNocbtR/a6znamJTL8aziIZiQiXEMfkFd1dTEaNvLVFG97mB9DH
+Zmv44B55HB9rmXerpYbvC1dnNgRcyUuS
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/73/root.crt b/src/tests/data/x509/pss_certs/73/root.crt
new file mode 100644
index 000000000..7215ab9b4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/73/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBCzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+M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ff --git a/src/tests/data/x509/pss_certs/74/end.crt b/src/tests/data/x509/pss_certs/74/end.crt
new file mode 100644
index 000000000..02c21fe2b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/74/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBEDA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0wOTA4MDYxNjAwMDFaFw0yNDA4
+MDYxNjAwMDFaMIGHMTswOQYDVQQDEzJDaGluYSBQYXNzcG9ydCBEb2N1bWVudCBT
+aWduZXIgQ2VydGlmaWNhdGUgKE1hY2FvKTESMBAGA1UEChMJTWFjYW8gU0FSMScw
+JQYDVQQLEx5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxCzAJBgNVBAYT
+AkNOMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEA2W4kae6gIXhBl0EK
+i2saC9mj7ic6xS7H4/PXCeWUMZfRy+QV66pZN4J9jEEjSgSuyVPg+ew5SjTunjMm
+kDZ0ZmpC9ea1AIKiDuI5h1p5bw9sG/4A5yUPMMXCSvdI6DESzneiO5n5NtJ12mdn
+2sUlmiT+2PJOt+6lPcvXW188pedtbxLuQo871CDhMwH7muMq5PBDx2cP8lsQBx0T
+SwziTq583lhr+XFAoWOFmoJwrWaB9Ebr+jeBYk9P10ofHmo8ccbjuXlkJM10Vcpf
+7fVSNWNixUt6Ji8IQ5u86JgVQJtQvnwkNOoPbyXKxzbx3jheC73bV5jB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EBoe
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/74/root.crt b/src/tests/data/x509/pss_certs/74/root.crt
new file mode 100644
index 000000000..7215ab9b4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/74/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBCzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0wOTAxMTIxNjAwMDFaFw0yOTAx
+MTIxNjAwMDFaMIGHMTswOQYDVQQDEzJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTESMBAGA1UEChMJTWFjYW8gU0FSMScw
+JQYDVQQLEx5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxCzAJBgNVBAYT
+AkNOMIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEAk8PyHxaVxnxks19d
+k3M7KNsYqdo3kfsWjQzca+nNYPJQZ27dFCiv/zS4kP1V8RB4PHDFwSuPxbHq8hzj
+nmkGdhwKTthvwaJ/14VLo4dilfhkdjFr6KaEc4JfTot31cIO0Xpq2Q2ebODcogbn
+PawBfPP1M37SFBu3ov7HystedOR29Ko0qWUHst/z/8vIS6TWOq7hUlDaMTJOWGWW
+F5Srttokn5gQXn+0wU64Uv6LvLyx41QHm979vqbkXIwnumzVETwDwTLeh7j7JoVV
+XWe9aVb0exvvwzR3ZmseMG7xO9VfQ6WEMdMFTuMI/h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AB4/G3yJ8ejyQ5UkaBIM
+Wj4ml0U4sot5SGViTzTnMnTnhn705Nr5eOgcnMi+3Ps7MXszDgKvxub4la3l09+4
+BM3o7hv2Wn1DUa0bFXkYYnPYZyX3eOmNnTX6CqkHa/0XkzxX2DeHyd4OuK7H/yEY
+uw7E9GREiLer7BxPMfTSGcqln8T541tRHDowwF5C69FuKFn+jdVYu8uBsstFNNt/
+F3A=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/75/end.crt b/src/tests/data/x509/pss_certs/75/end.crt
new file mode 100644
index 000000000..f9d009607
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/75/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFtDCCA2ygAwIBAgIBITA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0xMTA3MDYxNjAwMDFaFw0yNjA3
+MDYxNjAwMDFaMIGHMTswOQYDVQQDEzJDaGluYSBQYXNzcG9ydCBEb2N1bWVudCBT
+aWduZXIgQ2VydGlmaWNhdGUgKE1hY2FvKTESMBAGA1UEChMJTWFjYW8gU0FSMScw
+JQYDVQQLEx5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxCzAJBgNVBAYT
+AkNOMIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAgB8+WjMOqGpX2x91
+LhzWIzvFH0if6EGXOZrPjpndtzSgs6wMpHYQbV8ENZfSgd/fQl0zRKGqC/067e8R
+hgPaHNYQGtHlD2Sil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zd7zmkzju5XYATp+tJPOkZO
+In/9d0Zra7Xk/KROQBvqKddFTWcdE8+WrvLQr8sGdx9rfvfmPY0lF2EKPttzSD8J
+yvtAZRNL2cdXIC0pBakYjaI/bM0FfZJcLrTGVS+huh3YeEijhkSNT3VmQVosLiqo
+lFys1aKvvUp7bRaWxtM+TwFcg5l6TvY89RKyfEb0yosMDNojU80ALJB58opdrWZh
+7KMY94Pxw7TGwOBTF7qrLc5eHJbnx63n
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/75/root.crt b/src/tests/data/x509/pss_certs/75/root.crt
new file mode 100644
index 000000000..7215ab9b4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/75/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBCzA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0wOTAxMTIxNjAwMDFaFw0yOTAx
+MTIxNjAwMDFaMIGHMTswOQYDVQQDEzJDaGluYSBQYXNzcG9ydCBDb3VudHJ5IFNp
+Z25pbmcgQ2VydGlmaWNhdGUgKE1hY2FvKTESMBAGA1UEChMJTWFjYW8gU0FSMScw
+JQYDVQQLEx5JZGVudGlmaWNhdGlvbiBTZXJ2aWNlcyBCdXJlYXUxCzAJBgNVBAYT
+AkNOMIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEAk8PyHxaVxnxks19d
+k3M7KNsYqdo3kfsWjQzca+nNYPJQZ27dFCiv/zS4kP1V8RB4PHDFwSu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zPwjrdpDIiS6ThpUlKtH09gZ16RrAVBaio2b7ZENhjW60m7I1OlPSyZ4kgdEMU
+h2zJCuTuBjdzSk+cEl/xYCwj5OxQm1yMLS77ZVIhdTdz/JGP+pUNRN0SR5tVXWsm
+GYyzqZlSLk8LTO7alBnFonwGCp6cOneyJWmAbo5fNZbhqVGSgX4ToSFrGM26bHlp
+lbfWmriNgX6PYUq5toNqBQrb1dW7Kk3JIJ8ItUYjiV5JAB4/G3yJ8ejyQ5UkaBIM
+Wj4ml0U4sot5SGViTzTnMnTnhn705Nr5eOgcnMi+3Ps7MXszDgKvxub4la3l09+4
+BM3o7hv2Wn1DUa0bFXkYYnPYZyX3eOmNnTX6CqkHa/0XkzxX2DeHyd4OuK7H/yEY
+uw7E9GREiLer7BxPMfTSGcqln8T541tRHDowwF5C69FuKFn+jdVYu8uBsstFNNt/
+F3A=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/76/end.crt b/src/tests/data/x509/pss_certs/76/end.crt
new file mode 100644
index 000000000..86dec0ff0
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/76/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEcDCCAqSgAwIBAgICAXowQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAYT
+AkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1YmxpYzEdMBsGA1UECwwUTWluaXN0cnkg
+b2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NTQ0FfQ1owHhcNMTUwMjE3MDkyODM3WhcN
+MjUwNTE3MDgyODM3WjBmMREwDwYDVQQDDAhTVENfRFNfMTEXMBUGA1UECgwOQ3pl
+Y2ggUmVwdWJsaWMxKzApBgNVBAsMIlN0YXRlIFByaW50aW5nIFdvcmtzIG9mIFNl
+Y3VyaXRpZXMxCzAJBgNVBAYTAkNaMIIB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L/bmsOUzuKf1l
+l89AeEN/+mjkSV3xI9PhUv+9qfJy7OGBJpvAtcQshwLChHKf
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/76/root.crt b/src/tests/data/x509/pss_certs/76/root.crt
new file mode 100644
index 000000000..ffaee16c2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/76/root.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE8jCCAyagAwIBAgIBdDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwVzELMAkGA1UEBhMC
+Q1oxFzAVBgNVBAoMDkN6ZWNoIFJlcHVibGljMR0wGwYDVQQLDBRNaW5pc3RyeSBv
+ZiBJbnRlcmlvcjEQMA4GA1UEAwwHQ1NDQV9DWjAeFw0xMTAzMjUwMDAwMDBaFw0y
+NjA2MjUwMDAwMDBaMFcxCzAJBgNVBAYTAkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1
+YmxpYzEdMBsGA1UECwwUTWluaXN0cnkgb2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NT
+Q0FfQ1owggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCdFhq+ScQXepAA
+0kp0IwF/nEv+Md3Wx41Y6WRJkTVVyU6CFPlvr/F6XLGX/ILJtM8QL97CgojDVQbE
+ccNxUsZ+yjtB4n52ttWYLBN5nktJksP2aBVMu1fqoyTqBhaf0JtkpQjWKNVJYbUH
+k2pXkzGUJ+YHG04jOEYIKNclY82f1Ho1Wd7di4gZ1LCBRTzIU9JVPEMOZdmLx1qQ
+InOWf8deZ4Gmkj5UqzXt7vGQF/TbIedhmfnbulvyHN3UEDMZgVgzkF2fIOaBwu5s
+kfo8e08/J155hZIJtUjXk/moLF8U/4ETo7qER1EkoJ9KIRIvoPwPk2QAI4JP0Hd6
+GgUMEsz0dmTxKHcJZAWXcDaKcwTrG7/xhPTAffdOZnTnOpYQPcKmjUvogqY839VQ
+mwYyo+s51tVrAIe2YcdHhIdBY5SLOhHsDNadpRrBYIa8vzUgtfUH50US7dZuwUu6
+WbUiQu5vmDjvGEUa7F6eehCCf9xXkbPJZoE63t/NJYvHSFa1wDcCAwEAAaNhMF8w
+HQYDVR0OBBYEFOuhT488aYrathCbEjUoztRlSghZMA4GA1UdDwEB/wQEAwIBBjAa
+BgNVHSAEEzARMA8GDSqBS7cYAQEBAYnKmXwwEgYDVR0TAQH/BAgwBgEB/wIBADBB
+BgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0G
+CWCGSAFlAwQCAQUAogMCASADggGBAEcppLLH0xAkWXbBMXDa1hwqOZfKVdoUVDNT
+G20V3VbDT74R2yFCLWBge9rr7S2LfF/w4Xrl3kyZ2Tn0dYoOmBcqVzH6nCYrniGx
+apPmSkAexI/bjW55BOMe6CVI9qdKayqm99om/2+R+VSAKaopwOKn9IQ+4itNA0VI
+0ZDHbI/pdJClRZ0OPA8DREz7+hZWMNb7S4aAYGdd1fLo0uDKf/siFkUUfkpBtkgr
+4Enb1e8NMU0a5abpI25NgURB+OWhfArLB9jFmnlql6TZADLZfw49bEmr4KOddxyk
+toBmFgu4/uQXcukNWB487iREvEPPIL7A90W+W3ymtlol76SChKKBGexaaNA1JW+O
+sRxoN5FnXTBhyRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/77/end.crt b/src/tests/data/x509/pss_certs/77/end.crt
new file mode 100644
index 000000000..1a30d0087
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/77/end.crt
@@ -0,0 +1,26 @@
+-----B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rDx4AzMJ6T
+F8NoSTujEJWBNe1jj7tUxfg4jhUG2OZ+v/czTBnQ7usOQ26LzrJw9HKq16WLMQ2x
+GrZsSNscr90JhepeL5IQVgRruORn66L/Ssvppb5hNok7ETLbjZS8z+c/NjNIx7io
+hJDLCsOu1XHPSes2Z80p/v9ThoBPjVTLQWyyk4Q4ql1z9UAv7BzssBHe3/hO0Y60
+CCpaAgZukDQETIwxvsxWpxTgWz7yLDw1b/kSsxRHWVcstOFjFEg14bSGfYUSa4o4
+rc2tiIH/ovAhrB1gjSXXB/w9SRY2ArOakxHNIKQJjyrTC7fribgBW46cKHxeilqp
+Kg4m9vmAVWezwp2F3g7tOk156uzby2HqLlN1tShPVTolBKUfw2TYp0eWe8ox2ME9
+INlGX17m7zAvdDJp03hBhKQTiddTLPBSG7l7GMsF5h2wAJF3b7Qq/UoHJbeZk+uS
+rLanyt3iieO+XE7xDWIkECF7ktiHiuUBFg/A24hcb15euwf+
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/77/root.crt b/src/tests/data/x509/pss_certs/77/root.crt
new file mode 100644
index 000000000..ffaee16c2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/77/root.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE8jCCAyagAwIBAgIBdDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwVzELMAkGA1UEBhMC
+Q1oxFzAVBgNVBAoMDkN6ZWNoIFJlcHVibGljMR0wGwYDVQQLDBRNaW5pc3RyeSBv
+ZiBJbnRlcmlvcjEQMA4GA1UEAwwHQ1NDQV9DWjAeFw0xMTAzMjUwMDAwMDBaFw0y
+NjA2MjUwMDAwMDBaMFcxCzAJBgNVBAYTAkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1
+YmxpYzEdMBsGA1UECwwUTWluaXN0cnkgb2YgSW50ZXJpb3I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fkpBtkgr
+4Enb1e8NMU0a5abpI25NgURB+OWhfArLB9jFmnlql6TZADLZfw49bEmr4KOddxyk
+toBmFgu4/uQXcukNWB487iREvEPPIL7A90W+W3ymtlol76SChKKBGexaaNA1JW+O
+sRxoN5FnXTBhyRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/78/end.crt b/src/tests/data/x509/pss_certs/78/end.crt
new file mode 100644
index 000000000..6ce8b090d
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/78/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEcDCCAqSgAwIBAgICAOowQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAYT
+AkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1YmxpYzEdMBsGA1UECwwUTWluaXN0cnkg
+b2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NTQ0FfQ1owHhcNMTMwMjE5MDkyNzA3WhcN
+MjMwNTE5MDgyNzA3WjBmMREwDwYDVQQDDAhTVENfRFNfMTEXMBUGA1UECgwOQ3pl
+Y2ggUmVwdWJsaWMxKzApBgNVBAsMIlN0YXRlIFByaW50aW5nIFdvcmtzIG9mIFNl
+Y3VyaXRpZXMxCzAJBgNVBAYTAkNaMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
+CgKCAQEAtjLsEC7/dEgNZDQR5bLelWuzucpW/81XkEXiQ+Jy1L9VI9U5AU2Vn//5
+ysM4Xb3fqdMoUlmLb251Nr7U6QnU3wKYpLfjffpRgd9ge7f38SPWE54RhBLX5khv
+U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NJYvHSFa1wDcCAwEAAaNhMF8w
+HQYDVR0OBBYEFOuhT488aYrathCbEjUoztRlSghZMA4GA1UdDwEB/wQEAwIBBjAa
+BgNVHSAEEzARMA8GDSqBS7cYAQEBAYnKmXwwEgYDVR0TAQH/BAgwBgEB/wIBADBB
+BgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0G
+CWCGSAFlAwQCAQUAogMCASADggGBAEcppLLH0xAkWXbBMXDa1hwqOZfKVdoUVDNT
+G20V3VbDT74R2yFCLWBge9rr7S2LfF/w4Xrl3kyZ2Tn0dYoOmBcqVzH6nCYrniGx
+apPmSkAexI/bjW55BOMe6CVI9qdKayqm99om/2+R+VSAKaopwOKn9IQ+4itNA0VI
+0ZDHbI/pdJClRZ0OPA8DREz7+hZWMNb7S4aAYGdd1fLo0uDKf/siFkUUfkpBtkgr
+4Enb1e8NMU0a5abpI25NgURB+OWhfArLB9jFmnlql6TZADLZfw49bEmr4KOddxyk
+toBmFgu4/uQXcukNWB487iREvEPPIL7A90W+W3ymtlol76SChKKBGexaaNA1JW+O
+sRxoN5FnXTBhyRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/79/end.crt b/src/tests/data/x509/pss_certs/79/end.crt
new file mode 100644
index 000000000..53d7c92df
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/79/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEcDCCAqSgAwIBAgICAKgwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAY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2jZY3j7u2m1bNpoxuga6UjvEvtqkiamuVN+0p5FnSmMLAQ1PTPqR+8hjHgAFT8t
+XzHDfBiSdIm2+dPb1BJMWVsnRDF3KIaU1s1ZQ2fhkFnF9JQqjQErkc28Rc0D/fxV
+EkthiWXDRx/znNBJte365oeF26SqWautjfLxrocZew9bJLkrXNL48VzC1dEs/bD1
+c8mYghSG64AJPZvwpYcClgmqsRFP5O2mETFfb40esGcguZJE4hGxA/eZRBrbi0Ws
+PXfuQxbos5ziBgH95D+mRFKpUHBPZO9mNgqj1KRLY+6405loiP1/FnHBKf4XWqrl
+9wDMKVFZZd1g3fPNXXwyRnEEXZH4cvBT41q0Jxcyv30AYe9m
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/79/root.crt b/src/tests/data/x509/pss_certs/79/root.crt
new file mode 100644
index 000000000..ffaee16c2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/79/root.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE8jCCAyagAwIBAgIBdDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwVzELMAkGA1UEBhMC
+Q1oxFzAVBgNVBAoMDkN6ZWNoIFJlcHVibGljMR0wGwYDVQQLDBRNaW5pc3RyeSBv
+ZiBJbnRlcmlvcjEQMA4GA1UEAwwHQ1NDQV9DWjAeFw0xMTAzMjUwMDAwMDBaFw0y
+NjA2MjUwMDAwMDBaMFcxCzAJBgNVBAYTAkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1
+YmxpYzEdMBsGA1UECwwUTWluaXN0cnkgb2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NT
+Q0FfQ1owggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCdFhq+ScQXepAA
+0kp0IwF/nEv+Md3Wx41Y6WRJkTVVyU6CFPlvr/F6XLGX/ILJtM8Q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yRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/80/end.crt b/src/tests/data/x509/pss_certs/80/end.crt
new file mode 100644
index 000000000..9e5b22d09
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/80/end.crt
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEcDCCAqSgAwIBAgICAOQwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAYT
+AkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1YmxpYzEdMBsGA1UECwwUTWluaXN0cnkg
+b2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NTQ0FfQ1owHhcNMTMwMTIyMTAwMjAyWhcN
+MjMwNDIyMDkwMjAyWjBmMREwDwYDVQQDDAhTVENfRFNfMTEXMBUGA1UECgwOQ3pl
+Y2ggUmVwdWJsaWMxKzApBgNVBAsMIlN0YXRlIFByaW50aW5nIFdvcmtzIG9mIFNl
+Y3VyaXRpZXMxCzAJBgNVBAYTAkNaMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
+CgKCAQEAy88PFA+udFZr8gw1BD4X6rmEBqrh7OIY+egMuiSnH3zFpy9u3WeP4g8A
+gbBvv8zcJaVh3WykytbRRzni6pSDmwXOb1joZkwCiT8cWdzem96n13FM2Vchpz7J
+H9ipoNim/iyNjMGHtvYnhvyC0Rmu8NZpnkKM4qb8fXwyDrDYufGXdkSDHy2K6BFE
+79voy/03/KH8YsgzDuvr/OvohebSJi2emcUU7JdASrzk7sBtQJWSxVfBihXTtnFN
+sZkxTo+E1V+gfrxau1XqHP613eK9y5Zj9PHuV19AkWXVNvEGUlFtmMODmgJSWXmb
+aJj/EijdePEMvVdVx+g20mdpdO2c6QIDAQABo08wTTAfBgNVHSMEGDAWgBTroU+P
+PGmK2rYQmxI1KM7UZUoIWTAOBgNVHQ8BAf8EBAMCB4AwGgYDVR0gBBMwETAPBg0q
+gUu3GAEBAQGJyLJrMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAa
+BgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIAOCAYEABgfmO+NJxVgD7ebq
+UW5VPBsO11aYL6AvKGtG3JjXnd0/8B9xoysGlcsoUp60m3alg0Oqb34ROcv5SLGM
+jgD8TNGOvy3MnbJnkEsO3JUWg0i8Zc8wYPH/q/jhcPIVWp46Oj9ogR97eaTxY4In
+yAkMYzYQ9U01AzBgtJ6nmHgNPzuXBxxl1K9scda3bemBG4fXO4sfEBOekA/3Gs6+
+o0dx3dvzt5V6T+YTUxJA+a/HWqyUMBEWNiee/8vff/m8tj7q7mfvUME52aNKTBJm
+s7YgKdXhTZyw/C2YE5gIj0r4kT0RCIRX7vrjBfiDXThlhrt+TfBNjrSDEtSnOQfQ
+cvoMDmAxkz4M4dJn/iAp6K1nbSMrGyhApdWuA189ldMVaQdG4ifB+HzQz+eeG7fH
+Q1K0ndvF/Z2ARUsZ4GK2vUadCg2aC0CQI5XJXpp9MX9pAWRjioQdq7PjtbJzYcLg
+Tq9VCbZNWzAickgdRMhrJymOkKYZffNBvsRP76x1G9eSfPU+
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/80/root.crt b/src/tests/data/x509/pss_certs/80/root.crt
new file mode 100644
index 000000000..ffaee16c2
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/80/root.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE8jCCAyagAwIBAgIBdDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRww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kqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0G
+CWCGSAFlAwQCAQUAogMCASADggGBAEcppLLH0xAkWXbBMXDa1hwqOZfKVdoUVDNT
+G20V3VbDT74R2yFCLWBge9rr7S2LfF/w4Xrl3kyZ2Tn0dYoOmBcqVzH6nCYrniGx
+apPmSkAexI/bjW55BOMe6CVI9qdKayqm99om/2+R+VSAKaopwOKn9IQ+4itNA0VI
+0ZDHbI/pdJClRZ0OPA8DREz7+hZWMNb7S4aAYGdd1fLo0uDKf/siFkUUfkpBtkgr
+4Enb1e8NMU0a5abpI25NgURB+OWhfArLB9jFmnlql6TZADLZfw49bEmr4KOddxyk
+toBmFgu4/uQXcukNWB487iREvEPPIL7A90W+W3ymtlol76SChKKBGexaaNA1JW+O
+sRxoN5FnXTBhyRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/81/end.crt b/src/tests/data/x509/pss_certs/81/end.crt
new file mode 100644
index 000000000..995e9addb
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/81/end.crt
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFmzCCA8+gAwIBAgICAdAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAYT
+AkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1YmxpYzEdMBsGA1UECwwUTWluaXN0cnkg
+b2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NTQ0FfQ1owHhcNMTYwNDE5MDY1NjM4WhcN
+MjYwNzE5MDY1NjM4WjBmM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gEAMQMTAVAwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBgQCC
+pUonuFzIARVxVOOMD9VHEMhGGQa3FjPmUCIpM3lxL68R7R8JgD+T1yzffeZqrlCn
+AVk6Ga/TTRiJB+ih4++Pz9qPQRxo2nbmI2qF9CPUPa1vQk086m1asVR8E0wdkoHp
+ZBZ+MHZPb68nFSoUX19hnWWXfxiIyXzFVwxUn8aHa6tQvi/viNHVGIPkWASKPDrO
+o5xqLAfTn1CgtE5gIYsdnQ2NW4veQY7Eh9NxFwwafjF9qlwhc+/Ep11zlNmVuOGU
+tu8sW5uOOh69CD2ZBIfxEutJtGdMMswhOMLMDGRJsfRyiZj3V9IDE1HpusoeoD7C
+kR5Mm6c+oZnaESUaGaat4c51J/+NSS2OFRr2BhgKHL05d9kUsyGaGYxJiP95DIr3
+B5Op5vgGY50Ahds/gUh96NEMTOZhSZLcHc1ZJ/S+4JLHcegPrQPenFKdbjVNd/di
+K6CK6bPGJmXViyu2mPU7ySTfOYnPrPPuREjwppS4Lz6SJKpJlxGrCspd1m+87yo=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/81/root.crt b/src/tests/data/x509/pss_certs/81/root.crt
new file mode 100644
index 000000000..50c8e0c2f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/81/root.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGNDCCBGigAwIBAgICAc0wQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEF
+AKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgMFcxCzAJBgNVBAYT
+AkNaMRcwFQYDVQQKDA5DemVjaCBSZXB1YmxpYzEdMBsGA1UECwwUTWluaXN0cnkg
+b2YgSW50ZXJpb3IxEDAOBgNVBAMMB0NTQ0FfQ1owHhcNMTYwMzI0MDc0OTEwWh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ZmlrYXR5LWNzY2EtY3ZjYS5hc3B4pBAwDjEMMAoGA1UEBwwDQ1pFMFoGA1UdHwRT
+MFEwMKAuoCyGKmh0dHBzOi8vcGtkZG93bmxvYWQxLmljYW8uaW50L0NSTHMvQ1pF
+LmNybDAdoBugGYYXaHR0cDovL212Y3IuY3ovY3NjYS1jcmwwKwYDVR0QBCQwIoAP
+MjAxNjAzMjQwNzQ5MTBagQ8yMDIxMDMyNDIzNTk1OVowQQYJKoZIhvcNAQEKMDSg
+DzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKID
+AgEgA4IBgQBiN33okPFHvSgFrLJ/XuW2Yd2I/Z9Fsxf6udY9BovENWL+8iK20D1Q
+4xW/uKNES8soOVLxKhRDJXu/248vbcZG6hBKNJU37ozYEVvAFvPNKF/Rbab1GnEq
+zirv6ah9oWQUmObm22lq0XWv0zLcH96JBb8i+AfAwpq52tfFDVihXdSMxKVVtM5F
+3aGdIY41DB+Gua4lJVf3kMemRiMXLxVVxocFAqqabPPwt01zEQqV0v0GjZshbYJz
+VUokiXvi0hdjvYK5XUw3EI0Xv0mUJG1CTWaNz/dISD9MkvbUXPRYEgy3hAEcRZpD
+JZTKMqMx749WAC8wI7zo/l0wKzkyHnO4OJ5IJgyHafLFDDpwsPTYvFnaBk+OpQbx
++4/ahNmj0thMTFmJxNqwWQOfwFv6RB75MjmVXtPxEeOeOYPRuffGO7LcM4JPRI8E
+mx69S/pKMzdSpRQ+5qyLmnybLVmHwCHhM+RN3RL5jOHmg14ouEgB6cQzXdOefGyo
+PZaZdmnd2YM=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/82/end.crt b/src/tests/data/x509/pss_certs/82/end.crt
new file mode 100644
index 000000000..f990c8434
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/82/end.crt
@@ -0,0 +1,40 @@
+-----BEGIN CERTIFICATE-----
+MIIHDzCCBMOgAwIBAgIIZjSK6/NPzgow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HUuceQOklUCZ0tgSvpeIvebvqdi6H5OLAXRk9nhh57xgIS
+VNEmupANRQclCgg3aapz359/0c2cgawzdrmRzRwsXZERxya+7QKw5UwQc44P7ouW
+MQEVuTTC5fgJGvtxU4WkvzJ7VnbeNnvU1k541ZRUGi7iini/lyYNZuUOCAvc0Skd
+2aBxAWBsyGJibClD8Gix89qJb5wbC+FIJcjkONf2xKvPCnCYvddNLLifrzDosSuz
+NUvo96uBvTaFvZf+l414lFFOH473UrosTXljId/onQD9LkyCHrQgcvMI+7/P+Iio
+g2HOhYr8ST5RmTFvH9JNxJQjJ6xW9Tst3wzdvD53uGY6RCk=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/83/end.crt b/src/tests/data/x509/pss_certs/83/end.crt
new file mode 100644
index 000000000..08abf9013
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/83/end.crt
@@ -0,0 +1,24 @@
+-----BEGIN CERTIFICATE-----
+MIID+zCCArSgAwIBAgIIImPeveaxBkIwPAYJKoZIhvcNAQEKMC+gDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFADBPMSMwIQYDVQQD
+ExpTd2VkaXNoIENvdW50cnkgU2lnbmluZyBDQTEbMBkGA1UEChMSUmlrc3BvbGlz
+c3R5cmVsc2VuMQswCQYDVQQGEwJTRTAeFw0wNTA5MjYxOTAzMDJaFw0yMTA5MjIx
+OTEzMDJaME8xIzAhBgNVBAMTGlN3ZWRpc2ggQ291bnRyeSBTaWduaW5nIENBMRsw
+GQYDVQQKExJSaWtzcG9saXNzdHlyZWxzZW4xCzAJBgNVBAYTAlNFMIIBIjANBgkq
+hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnT3OKLYsTrHJRLUbKeoZCuABgIYSBvHy
+MvaKlwvJ18phNsW2RTVKY1MgT10/QuMSjVghPLnb1axJ1exsbUEP2x5EfsLFSi8a
+FbMVPJxg6933+frjOViI2Zs/yf6NrO9qTqMjBYS2Ht9aH6UqXfxYW3Wvof3Kwihn
+0rCPz9VQUObLcym5Eb41Ry3bhCL+1W6eyQJ2Dk5JXPBP3EbNKJVedwosWE3nl+Ib
+vsKOnNnrzYZBVZEbn8puUAhSJ39WPeCN9AH5RoWf2C3fu/hmqYmX9cZFcH3k/zvx
+rn50xcJs7WWla4bHgO1F95uVvbjF5lXAmMKC45nN8kWuXk5Q7/zmIQIDAQABo30w
+ezASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU
+OtRdqXuSyO2ch41v7Arfw8gEih8wHwYDVR0jBBgwFoAUOtRdqXuSyO2ch41v7Arf
+w8gEih8wFQYDVR0gBA4wDDAKBggqhXBUCgEBATA8BgkqhkiG9w0BAQowL6APMA0G
+CWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAA4IBAQCS
+lwvA1699I6JNKrqK4Rbr7WTLWxCmJ0ZZ8xq6hqyEsh+IaR72frqRjd0dWjs2kMEB
+/Q8zPoFm7Gp0vh+IYs97q9Y2iuOucmU1toR5PWSDGTm6x05H7mYrCZGUkv3SxjYd
+yQg2iDaTOYLKYlvwLrMht5l6DewuPfU3u4iSoOSLlFPFy+8wHhBggonuMtPauJta
+rylS4F+e5mF2hMb9WYQ1ixHk+S5w5u5/26mzPR4FyHwF4YQWTSsTdDH9NIv6PSvG
+FOpMbekwwyO1GyqAjSAJsFqAlmAXO0ZsZ2KBxCubqdyILv7ii2/HLK3OqbwOSe0k
+iyuOcEEn7cNtfA0IwPN6
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/84/end.crt b/src/tests/data/x509/pss_certs/84/end.crt
new file mode 100644
index 000000000..b9650a732
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/84/end.crt
@@ -0,0 +1,42 @@
+-----BEGIN CERTIFICATE-----
+MIIHUjCCBQagAwIBAgIIBU9VRtdAbrwwQQYJKoZIhv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kb8ANaOTi51SK65lj/UfC3
+LrBkaq+cdzzvgZOodVwtEKhqnlKZevJ7Z8PLHV0cQguT1dzWV5Rq4NsiRoFeiRSJ
+LbIJvttH6HlCMTfunmUFdaXSsGPbnebmdVIwkOea+S9QYs9wZb2j1+mULv6LdoVg
+a89IeTwx0hFWUJOzQynNHvFSOTKlFR3MANuF5nruTv/FstSax3sLO3TbVP4+HhOs
+DIDSZk6EF/Wivs+L6KIMUpwMWqI2CV+o9G58PP+SK0xeF11hlI3lG4NdfiUXdC10
+f8husKOEbxX/44KfSdZGKMv+cfiGXvCnNyBxr7sENbD7M2vALy+rx8bh8+4TKKuZ
+U7lZLQh3YqVv/Ko4dGvHLES4SPL3tLggigIM5moa1+HYRfOKbd7S88Nvze3CW4k4
+G0BLUzUY
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/85/end.crt b/src/tests/data/x509/pss_certs/85/end.crt
new file mode 100644
index 000000000..461cde372
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/85/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE6TCCAx2gAwIBAgIEAQAABDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AgUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAgUAogMCATAwXzEUMBIGA1UE
+AwwLQ1NDQSBTZXJiaWExHTAbBgNVBAsMFE1pbmlzdHJ5IG9mIEludGVyaW9yMRsw
+GQYDVQQKDBJSZXB1YmxpYyBvZiBTZXJiaWExCzAJBgNVBAYTAlJTMB4XDTA4MTAz
+MDExMDAwMFoXDTI0MDEzMDExMDAwMFowXzEUMBIGA1UEAwwLQ1NDQSBTZXJiaWEx
+HTAbBgNVBAsMFE1pbmlzdHJ5IG9mIEludGVyaW9yMRswGQYDVQQKDBJSZXB1Ymxp
+YyBvZiBTZXJiaWExCzAJBgNVBAYTAlJTMIIBojANBgkqhkiG9w0BAQEFAAOCAY8A
+MIIBigKCAY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RJeb9JD+Q7sUEZFMFPQDwc2D2DYUO5vwBZcGHIlfIdcsXVgb5PqC7pl4w+qqI2tg
+h3q1P+YU5Od5Btt8m7Soou15HqI9w+TrApMQesawzJBUUZy7o3lq5a+zrpXITVL5
+xFiXUKUzji/CfILkQxBdk7t1zlTv4lUtq4MRGgGnuNr/WYbSykpKJkcwp0s7UbZo
+U4b17jPsOSvCkbjZzQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/86/end.crt b/src/tests/data/x509/pss_certs/86/end.crt
new file mode 100644
index 000000000..94bbd7a9a
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/86/end.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFyzCCA3+gAwIBAgIESj6zeDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwNTELMAkGA1UE
+BhMCSFIxDzANBgNVBAoMBk1VUCBSSDEVMBMGA1UEAwwMQ1NDQS1Dcm9hdGlhMB4X
+DTEzMDQyOTEwMTY1MFoXDTI4MDQyOTEwNDY1MFowNTELMAkGA1UEBhMCSFIxDzAN
+BgNVBAoMBk1VUCBSSDEVMBMGA1UEAwwMQ1NDQS1Dcm9hdGlhMIICIjANBgkqhkiG
+9w0BAQEFAAOCAg8AMIICCgKCAgEA2wqjVlsgZX6sLWzX1PUvz7/uTSj1ZGfalLpP
++J0SsBrPV88av7IjyiM+OJHhvgFvsS1M4KCIC5N2qZOEj1wMkQ1IUjKtdXTPsoY5
+1gX6vmEYQbyrLqLAsZSfdKJKazWANiYfGZAmUqBx9nYT2o1F03YYA+Z8TNglGS/y
+YsDoPWGSmbFhiAoyzspV3KCKehYpAFrZ+4rKNHht5EmLLo4Ge1DcbiGFi14Q8iTJ
+BxDony3vUMO7ih1fRa1GD07CFfi8BJlZ1IY9XL6BcWHLS4RpEmueK6ACK5ppo0EL
+VNNTLq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1zakonAwl4JlX//o2mIqAPKvRICAG6yMeMBzTaXzBDDM5xyeaaHSj+fsF9U
+87/TDNMVig2fTvk0uxd4Vz/Io0k7KMrLsdYvATGflNxXnQN/khtJqHZ8L/RiJbEC
+lnN6lm7aK5ViSIpGign9YyR6YFox8Je/UYfLZDT4WqeuBcF3sD63rsQE2OeJ4D+w
+61L4JNIwsscixKpCXUEta1CAracC7WlkbSeFXbtI7SDz7FeHpqWr52R8vjCCUCp9
+x4MnwRLaKcmGSPD8Kq1E7W8RZSz93PRTv9N653Li9ikLMaAbrWDxN3sx6AD0FDI=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/87/end.crt b/src/tests/data/x509/pss_certs/87/end.crt
new file mode 100644
index 000000000..bbd851bad
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/87/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIFBzCCAzugAwIBAgIEAQAAATBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AgUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAgUAogMCATAwbjEYMBYGA1UE
+AwwPQ1NDQSBUYWppa2lzdGFuMSQwIgYDVQQLDBtNaW5pc3RyeSBvZiBGb3JlaWdu
+IEFmZmFpcnMxHzAdBgNVBAoMFlJlcHVibGljIG9mIFRhamlraXN0YW4xCzAJBgNV
+BAYTAlRKMB4XDTEwMDEzMDEzNDkyMloXDTI1MDQzMDEzNDkyMlowbjEYMBYGA1UE
+AwwPQ1NDQSBUYWppa2lzdGFuMSQwIgYDVQQLDBtNaW5pc3RyeSBvZiBGb3JlaWdu
+IEFmZmFpcnMxHzAdBgNVBAoMFlJlcHVibGljIG9mIFRhamlraXN0YW4xCzAJBgNV
+BAYTAlRKMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAohbH2ngtcEVo
+gofwUKMo0ZiekFXjkuUeXfKNMnZ2ESC8IZhGO2wK1EjxsW0of0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D8tZ5M39wC
+r7n8MKUShr7e4hIgbwxamEayPSL9sXF/e2pSvPDOc86dZ6AaQZZGK/s7F4cLClrr
+dyiNoW8LUDRZUqV7O4pB2i9gEyLbVk3zL0wr3qpj/x+xQdLXVLErV1YL8w==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/88/end.crt b/src/tests/data/x509/pss_certs/88/end.crt
new file mode 100644
index 000000000..ce92e040b
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/88/end.crt
@@ -0,0 +1,35 @@
+-----BEGIN CERTIFICATE-----
+MIIGGzCCA8+gAwIBAgIBATBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMB4XDTA2MDIxNDAyMjI1MloXDTIyMDIxNDAyMjI1MlowbjELMAkGA1UEBhMC
+SlAxHDAaBgNVBAoME0phcGFuZXNlIEdvdmVybm1lbnQxKDAmBgNVBAsMH1RoZSBN
+aW5pc3RyeSBvZiBGb3JlaWduIEFmZmFpcnMxFzAVBgNVBAMMDmUtcGFzc3BvcnRD
+U0NBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAm61nE843Wf3ZHahe
+Kd17tsvpzt3cFnGYVy3SPDYiBC2QfoJrtOIcfw3O6sPXsK7gWR5KoGnAXfZw3RVo
+JPJHgZtjjzNib5b2JZmuoU+d/0wvUrmqVC2w3Mp6QGvG81/0SgX29fkhpmhxU630
+pzZmC/KeEZ4im3sMJ2saQxWNXZd91nON7HgnoHBetHNsV20EKYKGNrtoBPTkQpdG
+jhdHI34KMz9xlGuiWJZqB0JZjjzGvsYPdb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s89MYMz
+yBij853vWpaIp6mEoYJe2H87XUkbzmUD/gDWbhpOKiNPAqWtn6pqvc2/29DIBirU
+ZN8Z4q/TKs96UumHRsp5e7pqE5UXqT1SDHg90phLD2qyHQhEFdfZAvOB1Y0zKYDV
+7ZgBmxWyS/nvAsEj0nQQZgoozexZsnf7hte1sXAKPIt4Tap/52VW+N+G6HZY1YIa
+gk1o44SWnI9Trge3bpE5Re0i+43RK8ELZ2PsBHWr3CjzRxKAPacNxf5XP8O47D+0
+bPfKJZ5EyZcHkouGtpvWuqLw18q98y1pd1u4LnmKzQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/89/end.crt b/src/tests/data/x509/pss_certs/89/end.crt
new file mode 100644
index 000000000..a20b04230
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/89/end.crt
@@ -0,0 +1,37 @@
+-----BEGIN CERTIFICATE-----
+MIIGZTCCBBmgAwIBAgIETQDrlDBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwdTELMAkGA1UE
+BhMCS04xPDA6BgNVBAoTM0dvdmVybm1lbnQgb2YgU3QuIENocmlzdG9waGVyIChT
+dC4gS2l0dHMpIGFuZCBOZXZpczEYMBYGA1UECxMPUGFzc3BvcnQgT2ZmaWNlMQ4w
+DAYDVQQDEwVDU0NBMTAeFw0xMDEyMDkxNDE1NDBaFw0yNTEyMDkxNDQ1NDBaMHUx
+CzAJBgNVBAYTAktOMTwwOgYDVQQKEzNHb3Zlcm5tZW50IG9mIFN0LiBDaHJpc3Rv
+cGhlciAoU3QuIEtpdHRzKSBhbmQgTmV2aXMxGDAWBgNVBAsTD1Bhc3Nwb3J0IE9m
+ZmljZTEOMAwGA1UEAxMFQ1NDQTEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK
+AoICAQDE6hsUtes/CtcmBQDzktGftKnXa1PnuTSR8woZqCHh3f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tFA
+ZzfLqxvOMDQ9FnepBk9RWKUtFcf+MqlgneAtTgVrLYVRwVvwlV6mOVtSdgmQHPGn
+qHwFv2x+6gGzO/O+skRw/SjjEgTuxKUD0JaT6q3bjDIgXlTOLMDqO2OtfD7nl68n
+UksHdczVsecV+XcZszVXEj8F53lmWXSFduLhLRbqkC9jcMTmElOR0UnnbSRtdDjL
+Xr2HLVGHAE1Grzm4cTFTq0HAcJGFzxlkXGMDduLElO9QsqnZnNRtyUF4r0SaqANl
+Q4P5rowoqOavCIfhphZBxK5Dak/zuobxmL6jkA3AfZCZHw884qHW735auMJJ5pJc
+MZ1xV4GvngehSYSsSsUgD73UokW72TDI9jT8AQVJX2epteqLqmvC0uRd/DXoMFAv
+MiwMr4fMbjcnK7XmjrQA/HtKFji0munVGZHUg6Fvr6/yXho4r5YCI8lyGk3grvu8
+QDsmQXw1RA/WkpvMMODRgy1nLGMNeeKg3a9hKjHvFFTGCPSB+RxK7xmY/U/z5T37
+JEUke7dUJd8Rn0jdcaJgzETxEOXGcLX3VZFfwgDmVdJIXkahHFsrtD2RyLrcG7p5
+CPkoA02OgI15
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/90/end.crt b/src/tests/data/x509/pss_certs/90/end.crt
new file mode 100644
index 000000000..645418547
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/90/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGLjCCA+agAwIBAgIBDDA9BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiAwIBIDCBhzE7MDkGA1UEAxMyQ2hp
+bmEgUGFzc3BvcnQgQ291bnRyeSBTaWduaW5nIENlcnRpZmljYXRlIChNYWNhbykx
+EjAQBgNVBAoTCU1hY2FvIFNBUjEnMCUGA1UECxMeSWRlbnRpZmljYXRpb24gU2Vy
+dmljZXMgQnVyZWF1MQswCQYDVQQGEwJDTjAeFw0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AgwBgEB/wIBADA9
+BgkqhkiG9w0BAQowMKANMAsGCWCGSAFlAwQCAaEaMBgGCSqGSIb3DQEBCDALBglg
+hkgBZQMEAgGiAwIBIAOCAgEAO27lpZDiFEPzUDpTdoKxx5iUl7ZCIjp+56P6jo0S
+RnmTETDuKDseNiXk7SbW/1HqidOM28pBOICUZZ+alhXAdHB66oQiFnISFAggbj9Q
+y3j/RTk6IzHUTJihOYcVWG3IFrxgTY/+/R1T3rVEOWHdb+J4tI6z6UND2TXw5idq
+jYZHH1jKAiCPCyR/4s+xvOXCdFUfTajOPG4w6J1v5ShpiqZcxlaUnU1Q8p41HtiT
+wsgbX5HU6n+uUydjsY5C14efRLc5g+2eVG5eqdldhnQCyK1y9rLFX84SBWPzF4QE
+QAX3gTKjt2dKIqutDYYRbtBWKD1AJCjbcRYSylS/6qen7I9zD7VxAn2pxGuA49ri
+qXnHFtdyd6ifXgoy5TUctmLpBKqna4eSyNUx6l+kxC0990m7mY2jS17OFkpZqC+/
+bi6M4G1TeYfgXDHYwirrAUxKtsNTml9OsSDv+KYmF8tNR0OSTs1ROrL2dKyykv9r
+f80IpXPTgjbgDaoSItwWV/b1e1qeePnO/T7eprg1XoMdwjjCU1FT/toUQwqpdVJk
+Y4e2622WZJCgG2rqSbPfBVn3s1/EjLHR2xleOvMH4I92fNex86OgHucE3U5Qssnk
+A9jNfn+3SqiavAIcxvogsGa0bGqLVA2tK+dkUEfVHuaTBJCMRFpic7wanssQPTOZ
+DLQ=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/91/end.crt b/src/tests/data/x509/pss_certs/91/end.crt
new file mode 100644
index 000000000..5288f1cab
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/91/end.crt
@@ -0,0 +1,42 @@
+-----BEGIN CERTIFICATE-----
+MIIHUjCCBQagAwIBAgIID3ZykzVa6kgwQQYJKoZIhvcNAQEKMDSgDzANBglghkgB
+ZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghk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w2yfd8sAVmge
+kfbu5pJoKtpD1CErcrO259/Pkva23UhvGClaNwv8pDVI9AUyNemx/TfFHle0rWOn
+BtRbFP6jg29d/e3fVjoAcFPBvjJfQNG7lRbptBrg/lIXvijY4Vu6oRLsdVQRMKyR
+cjLjxlbYeE3sZ+zv5k6ksEzV5OF1BnIz/oVxIXsp7Jr1UT2f4yJLeIW5763dFYwD
+t3YLpaDiOy01VRRee6MFQoIDEgzsbkhAch50vF03U8GMHojUgcmty1Fti7+rvfVR
+tS/OfS1i+ThprX4Bb9bdIpo/rZxYYeMFOk3QFxgg5g/nVtL7g1QLgDAXxBYlsHtS
+T/KEiFex
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/92/end.crt b/src/tests/data/x509/pss_certs/92/end.crt
new file mode 100644
index 000000000..93062aebc
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/92/end.crt
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE8jCCAyagAwIBAgIBATBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAwVzELMAkGA1UEBhMC
+Q1oxFzAVBgNVBAoTDkN6ZWNoIFJlcHVibGljMR0wGwYDVQQLExRNaW5pc3RyeSBv
+ZiBJbnRlcmlvcjEQMA4GA1UEAxQHQ1NDQV9DWjAeFw0wNjA3MjQwMDAwMDBaFw0y
+MTEwMjQyMzU5NTlaMFcxCzAJBgNVBAYTAkNaMRcwFQYDVQQKEw5DemVjaCBSZXB1
+YmxpYzEdMBsGA1UECxMUTWluaXN0cnkgb2YgSW50ZXJpb3IxEDAOBgNVBAMUB0NT
+Q0FfQ1owggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCvUZnqqCTF+LC1
+aqVLMoUsigvNhOcqWfKu+XGy4NvS3Je0LICgRZe9A3IUnf5N0ArDN3jdmJrX1ug0
+0XwuRgG+80Oifm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/6Nnq9gpzIf+VzBJSxGyrwDWkKnA
+tnFnFsk3q93/7t0qmIyf2sxCi95CfTFlR2Brs5GwqCczFT5DzMt4NKXWiAx0DfC+
+6MTSBMSW5O/G5ZryNPNl79qLqhXn+Q==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/93/end.crt b/src/tests/data/x509/pss_certs/93/end.crt
new file mode 100644
index 000000000..d6dbc476f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/93/end.crt
@@ -0,0 +1,41 @@
+-----BEGIN CERTIFICATE-----
+MIIHODCCBOygAwIBAgIEVjo8gzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQC
+AgUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAgUAogMCATAwZTEfMB0GA1UE
+AwwWRVUgTGFpc3NleiBQYXNzZXIgQ1NDQTEXMBUGA1UECgwORXVyb3BlYW4gVW5p
+b24xHDAaBgNVBAsME0V1cm9wZWFuIENvbW1pc3Npb24xCzAJBgNVBAYTAkVVMB4X
+DTE1MTEwNDAwMDAwMFoXDTI3MDIwNDAwMDAwMFowZTEfMB0GA1UEAwwWRVUgTGFp
+c3NleiBQYXNzZXIgQ1NDQTEXMBUGA1UECgwORXVyb3BlYW4gVW5pb24xHDAaBgNV
+BAsME0V1cm9wZWFuIENvbW1pc3Npb24xCzAJBgNVBAYTAkVVMIICIjANBgkqhkiG
+9w0BAQEFAAOCAg8AMIICCgKCAgEAohP/iOVhnNuN8Bh3/+ddPBipDmXIXtuxl8Hy
+0PUVMYMbh0w6na5HCziXibHYqiS/GNPREnv9v6DT27jh82hDtr6x0jmlPKQmLJsP
+yAa8nRkVPamWnUP/dkbtNl4hpiVRnhlMh2Poc5Rxfjrdqywersi8TJChj4FnqV6p
+JeVsur/LXow/T6WwBMzYu40LUcPAlOZvHQwukg+pmskJ6Sk5MsCMMUf799vmFIEc
+eTcY2StNtb8oMxeGO7fwgoWmVPn+XWOeukgEdQgZQr3l+ohl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4ICAQBPKYKV
+KV3MU6+e4I1C8XhbhHFuOnB9zNtGlPa2hrSJ0IbpJpg6LEx7RFE5ML3eT/4LCSsf
+sf5vK7xJGtA1ojw8Gd72ZrHgSTd4NKlU4rAE7SNmA+datHTrii3MAuCWfBrOQZRa
+f/4ej0yIPSVeP6BwOuFT6iiCq+SWiFEZzHW2mZJujWURL/BEgwC4+yYFwK04qk0H
+MkwKkQjRPbAjmdKtcxLxf5Euf1ZT0VB8SvzcBs+63dFF/ttJ47MlxRMp0A/OqteO
+XLWWbIlIZRM1W9VBZTGrEtZ8ZX6kMcSQRKkKCMs1DjGkmZx0lj9alfF/06x+ugSj
+UYMN/Ih+OHZpSvfZsVUcfuUqlLJCuXtMWGs4PDaW6k68g7GUU1serwggngU9qgGf
+fDaQaSBDhL1XVNoXJ2BHGOI/FTiUUotGb1y0Sj75mRW2pQHijd1f+1TQOzVTf4ab
+5JBo3Iuz0P2eLciCbZbCRs90rPwQFVJaVe2NAaBNckP+2IaKOiaI/gbKZC3MpDwX
+Bdt4bjFHHzZ+XGugg4vlkNQQ46vRxr10bFg+CPaNplg/HMZPjJVOuxg3amYfanIr
+2mSPScKJA9fJZuxOd7rGIb4Z1Bvs16S2WfNPTZRnQjxAqXir9Wa2xxvw3GriU6Dd
+C2ceDox/pCY0HZZvVMOh/AYHDptR0uO4jSdjUQ==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/94/end.crt b/src/tests/data/x509/pss_certs/94/end.crt
new file mode 100644
index 000000000..60e4b8d65
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/94/end.crt
@@ -0,0 +1,36 @@
+-----BEGIN CERTIFICATE-----
+MIIGOTCCA+2gAwIBAgIBMzBBBgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUA
+oRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUAogMCASAweDEYMBYGA1UECgwP
+U3RhdGUgb2YgSXNyYWVsMQ0wCwYDVQQLDARQSU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
+ZDASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU
+1L5MDvZ0tgHoP3M5ZIUWgdBuD5swHwYDVR0jBBgwFoAU1L5MDvZ0tgHoP3M5ZIUW
+gdBuD5swQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3
+DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4ICAQAG5AqH3uxiXuHvPXl2LLH1Wr3k
+Hdwg9AqRAoLS9Hyo7lop1EP6hIoQ+VZb8E+dfrgSQIrTsDihXjPRI6X/HfjhtEnx
+b5+q2tKQ67Xx7G1qZr0IdfuWnfhk17McvLjFHrZHyi/3HLRfsltotgGVY2A8rXWe
+FfgpHtNUQvEhBcrXkqttUiiWgWEUEvyNPbPk72o5Pyir1XCd0eefy/AfJtM4nTII
+DiyevjRFf3LP8vrgKEDMsTQzcauAbE09nwT2eNIn3CWIqBhdJLt6wgczpUXMj6Qm
+7mCYYoVgftLdGJHSx/uUr1lpO8+VKy5YMR27fcy7+N6XZ/D5Yp6xfZ8Rr76z3yQv
+fEL8XzS6rXSnqkrnX8Q5gegdkNbikcBQgf5MQL/wNtptPabmBl7+v+90xIfNJtEV
+UmarfGGNh8iRlpK6LU9FETyMBJdx268e2iyW7A5g8dCBc3bsLMsQyWLMIJ1z6JMX
+LSma+EtMD5Gq6T3Tm0WS4x6jl/pY8FaAY3Mz1S9oD/Hiz53YzFCqSnyDN3Np3M5a
+7M9eMYNDV+MjJN7rfm5vtLARbiX/GIEw7fWPLMDtba2tQTK1ZhaUy3hsGDF+Pu4o
+8ia4p8ELpXyykk3VGI0D9hLTUEYg1PA+p9ePSxuqCUG37ZWxk+o6EIhKChm8aJkd
+gYPFbd/9XZ0twqADbw==
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/95/end.crt b/src/tests/data/x509/pss_certs/95/end.crt
new file mode 100644
index 000000000..1cf56fffd
--- /dev/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NhMF8w
+HQYDVR0OBBYEFOuhT488aYrathCbEjUoztRlSghZMA4GA1UdDwEB/wQEAwIBBjAa
+BgNVHSAEEzARMA8GDSqBS7cYAQEBAYnKmXwwEgYDVR0TAQH/BAgwBgEB/wIBADBB
+BgkqhkiG9w0BAQowNKAPMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0G
+CWCGSAFlAwQCAQUAogMCASADggGBAEcppLLH0xAkWXbBMXDa1hwqOZfKVdoUVDNT
+G20V3VbDT74R2yFCLWBge9rr7S2LfF/w4Xrl3kyZ2Tn0dYoOmBcqVzH6nCYrniGx
+apPmSkAexI/bjW55BOMe6CVI9qdKayqm99om/2+R+VSAKaopwOKn9IQ+4itNA0VI
+0ZDHbI/pdJClRZ0OPA8DREz7+hZWMNb7S4aAYGdd1fLo0uDKf/siFkUUfkpBtkgr
+4Enb1e8NMU0a5abpI25NgURB+OWhfArLB9jFmnlql6TZADLZfw49bEmr4KOddxyk
+toBmFgu4/uQXcukNWB487iREvEPPIL7A90W+W3ymtlol76SChKKBGexaaNA1JW+O
+sRxoN5FnXTBhyRm96lZOfvF7SjCQHMCaIeYaQ4ajjPJgxB0EbyyJMeSrjh4yJPEH
+pKc3AM9MUCxC0LO/qb5oBio8TQqHYnpyvp2CsvPSezPGh/40hxsKTL8GqTxB5m9G
+g6qpdcDQxM6VtrnTh08nMjaKnfXVJQ==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/96/end.crt b/src/tests/data/x509/pss_certs/96/end.crt
new file mode 100644
index 000000000..8ae04efd3
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/96/end.crt
Binary files differ
diff --git a/src/tests/data/x509/pss_certs/97/README.txt b/src/tests/data/x509/pss_certs/97/README.txt
new file mode 100644
index 000000000..5d745e900
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/97/README.txt
@@ -0,0 +1 @@
+SigHash != MGF Hash \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/97/end.crt b/src/tests/data/x509/pss_certs/97/end.crt
new file mode 100644
index 000000000..34ef69e03
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/97/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgSiBAICAN4wOzELMAkGA1UEBhMCTkwx
+ETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xhclNTTCBUZXN0IENBMB4X
+DTE0MDEyMDEzNTc0NVoXDTI0MDExODEzNTc0NVowNDELMAkGA1UEBhMCTkwxETAP
+BgNVBAoTCFBvbGFyU1NMMRIwEAYDVQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAN0Rip+ZurBoyirqO2ptWZftTslU5A3uzqB9oB6q6A7C
+uxNA24oSjokTJKXF9frY9ZDXyMrLxf6THa/aEiNzUnlGGrqgVyt2FjGzqK/nOJsI
+i2OZOgol7kXSGFi6uZMa7dRYmmMbN/z3FAifhWVJ81kybdHg6G3eUu1mtKkL2kCV
+AgMBAAGjgZIwgY8wCQYDVR0TBAIwADAdBgNVHQ4EFgQU7vPH9R8VpU1HicHTImOy
+36fOvVEwYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJ
+BgNVBAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wg
+VGVzdCBDQYIBADA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEaMBgGCSqG
+SIb3DQEBCDALBglghkgBZQMEAgSiBAICAN4DggEBAIfliohNjz4CLGbHWgWRBFQ3
+Difn027ZnULTvokT67ii1sJzESzqaIakyyu8GRwfoFRNh/rbGfe4C6e9SkwKbnDg
+WE9SWbK6ukIQbMy69C+CVqFlRUHbONw/dmcneAWyZYGx/2Sf4D5kkpIWNDBeKuaV
+H69XPZCeN3QAACmdAfo4NYW0I69a1OSaUrTyGT1nBOrzQ8Y0aJBnCJAte49bhQEW
+KJv0kMj+8ZG1X0RoSdklf3GqdLUbsfJ2txu14GGAxy4C1gl2JWzoBHN5LMLf0cZ9
+uEYui7N/5bkSv8KXdbGvSzgn6zZ0MiCJMiiGEf0L1FxBiBCVsK4C2idpiZH+e28=
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/97/root.crt b/src/tests/data/x509/pss_certs/97/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/97/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/98/README.txt b/src/tests/data/x509/pss_certs/98/README.txt
new file mode 100644
index 000000000..546043b7f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/98/README.txt
@@ -0,0 +1 @@
+bad salt length \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/98/end.crt b/src/tests/data/x509/pss_certs/98/end.crt
new file mode 100644
index 000000000..f4da8832f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/98/end.crt
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWzCCAhKgAwIBAgIBGDA+BgkqhkiG9w0BAQowMaANMAsGCWCGSAFlAwQCAaEa
+MBgGCSqGSIb3DQEBCDALBglghkgBZQMEAgGiBAICAN4wOzELMAkGA1UEBhMCTkwx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diff --git a/src/tests/data/x509/pss_certs/98/root.crt b/src/tests/data/x509/pss_certs/98/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/98/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwggEiMA0G
+CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDA3zf8F7vglp0/ht6WMn1EpRagzSHx
+mdTs6st8GFgIlKXsm8WL3xoemTiZhx57wI053zhdcHgH057Zk+i5clHFzqMwUqny
+50BwFMtEonILwuVA+T7lpg6z+exKY8C4KQB0nFc7qKUEkHHxvYPZP9al4jwqj+8n
+YMPGn8u67GB9t+aEMr5P+1gmIgNb1LTV+/Xjli5wwOQuvfwu7uJBVcA0Ln0kcmnL
+R7EUQIN9Z/SG9jGr8XmksrUuEvmEF/Bibyc+E1ixVA0hmnM3oTDPb5Lc9un8rNsu
+KNF+AksjoBXyOGVkCeoMbo4bF6BxyLObyavpw/LPh5aPgAIynplYb6LVAgMBAAGj
+gZUwgZIwDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUtFrkpbPe0lL2udWmlQ/rPrzH
+/f8wYwYDVR0jBFwwWoAUtFrkpbPe0lL2udWmlQ/rPrzH/f+hP6Q9MDsxCzAJBgNV
+BAYTAk5MMREwDwYDVQQKEwhQb2xhclNTTDEZMBcGA1UEAxMQUG9sYXJTU0wgVGVz
+dCBDQYIBADANBgkqhkiG9w0BAQUFAAOCAQEAuP1U2ABUkIslsCfdlc2i94QHHYeJ
+SsR4EdgHtdciUI5I62J6Mom+Y0dT/7a+8S6MVMCZP6C5NyNyXw1GWY/YR82XTJ8H
+DBJiCTok5DbZ6SzaONBzdWHXwWwmi5vg1dxn7YxrM9d0IjxM27WNKs4sDQhZBQkF
+pjmfs2cb4oPl4Y9T9meTx/lvdkRYEug61Jfn6cA+qHpyPYdTH+UshITnmp5/Ztkf
+m/UTSLBNFNHesiTZeH31NcxYGdHSme9Nc/gfidRa0FLOCfWxRlFqAI47zG9jAQCZ
+7Z2mCGDNMhjQc+BYcdnl0lPXjdDK6V0qCg1dVewhUBcW5gZKzV7e9+DpVA==
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/99/README.txt b/src/tests/data/x509/pss_certs/99/README.txt
new file mode 100644
index 000000000..8b2fba01f
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/99/README.txt
@@ -0,0 +1 @@
+bad signature \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/99/end.crt b/src/tests/data/x509/pss_certs/99/end.crt
new file mode 100644
index 000000000..9e565419e
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/99/end.crt
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDBTCCAeegAwIBAgIBFjATBgkqhkiG9w0BAQowBqIEAgIA6jA7MQswCQYDVQQG
+EwJOTDERMA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3Qg
+Q0EwHhcNMTQwMTIwMTMzODE2WhcNMjQwMTE4MTMzODE2WjA0MQswCQYDVQQGEwJO
+TDERMA8GA1UEChMIUG9sYXJTU0wxEjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkq
+hkiG9w0BAQEFAAOBjQAwgYkCgYEA3RGKn5m6sGjKKuo7am1Zl+1OyVTkDe7OoH2g
+HqroDsK7E0DbihKOiRMkpcX1+tj1kNfIysvF/pMdr9oSI3NSeUYauqBXK3YWMbOo
+r+c4mwiLY5k6CiXuRdIYWLq5kxrt1FiaYxs3/PcUCJ+FZUnzWTJt0eDobd5S7Wa0
+qQvaQJUCAwEAAaOBkjCBjzAJBgNVHRMEAjAAMB0GA1UdDgQWBBTu88f1HxWlTUeJ
+wdMiY7Lfp869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0w
+OzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkwFwYDVQQDExBQb2xh
+clNTTCBUZXN0IENBggEAMBMGCSqGSIb3DQEBCjAGogQCAgDqA4IBAQDAog/jXydR
+vDIugTzBXtfVK0CEX8iyQ4cVzQmXWSne8204v943K5D2hktSBkjdQUdcnVvVgLR6
+te50jV89ptN/NofX+fo9fhSRN9vGgQVWzOOFiO0zcThy749pirJu1Kq5OJdthIyW
+Pu0UCz5G0k3kTp0JPevGlsNc8S9Ak1tFuB0IPJjrbfODWHS2LDuO+dB6gpkNTdrj
+88ogYtBsN4D5gsXBRUfobXokUwejBwLrD6XwyQx+0bMwSCxgHEhxvuUkx1vdlXGw
+JG3aF92u8mIxoKSAPaPdqy930mQvmpUWcN5Y1IMbtEGoQCKMYgosFcazJpJcjnX1
+o4Hl/lqjwCFG
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/99/root.crt b/src/tests/data/x509/pss_certs/99/root.crt
new file mode 100644
index 000000000..c2c9a6300
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/99/root.crt
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDhzCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
+MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
+MTEwMjEyMTQ0NDAwWhcNMjEwMjEyMTQ0NDAwWjA7MQswCQYDVQQGEwJOTDERMA8G
+A1UEChMIUG9sYXJTU0wxGTAXBgNVBAMT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509/pss_certs/Sources.txt b/src/tests/data/x509/pss_certs/Sources.txt
new file mode 100644
index 000000000..1c5a535a9
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/Sources.txt
@@ -0,0 +1,6 @@
+01-02: http://www.kaiser.cx/x509Pss.html
+03-04: R&S Cybersecurity GmbH (Daniel Neus)
+05-96: golang/go - GitHub User @lwithers - https://github.com/golang/go/issues/15958
+97-106: mbed TLS / PolarSSL GitHub Repo
+107: unknown
+108-118: mbed TLS / PolarSSL GitHub Repo
diff --git a/src/tests/data/x509/pss_certs/expected.txt b/src/tests/data/x509/pss_certs/expected.txt
new file mode 100644
index 000000000..45fffd433
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/expected.txt
@@ -0,0 +1,118 @@
+01:Verified
+02:Verified
+03:Verified
+04:Verified
+05:Verified
+06:Verified
+07:Verified
+08:Verified
+09:Verified
+10:Verified
+11:Verified
+12:Verified
+13:Verified
+14:Verified
+15:Verified
+16:Verified
+17:Verified
+18:Verified
+19:Verified
+20:Verified
+21:Verified
+22:Verified
+23:Verified
+24:Verified
+25:Verified
+26:Verified
+27:Verified
+28:Verified
+29:Verified
+30:Verified
+31:Verified
+32:Verified
+33:Verified
+34:Verified
+35:Verified
+36:Verified
+37:Verified
+38:Verified
+39:Verified
+40:Verified
+41:Verified
+42:Verified
+43:Verified
+44:Verified
+45:Verified
+46:Verified
+47:Verified
+48:Verified
+49:Verified
+50:Verified
+51:Verified
+52:Verified
+53:Verified
+54:Verified
+55:Verified
+56:Verified
+57:Verified
+58:Verified
+59:Verified
+60:Verified
+61:Verified
+62:Verified
+63:Verified
+64:Verified
+65:Verified
+66:Verified
+67:Verified
+68:Verified
+69:Verified
+70:Verified
+71:Verified
+72:Verified
+73:Verified
+74:Verified
+75:Verified
+76:Verified
+77:Verified
+78:Verified
+79:Verified
+80:Verified
+81:Verified
+82:1
+83:1
+84:1
+85:1
+86:1
+87:1
+88:1
+89:1
+90:1
+91:1
+92:1
+93:1
+94:1
+95:1
+96:1
+97:Signature error
+98:Verified
+99:Signature error
+100:Verified
+101:Verified
+102:Verified
+103:Verified
+104:Verified
+105:Verified
+106:Verified
+107:1
+108:Verified
+109:CRL bad signature
+110:Verified
+111:Verified
+112:Verified
+113:Verified
+114:1
+115:1
+116:1
+117:1
+118:1 \ No newline at end of file
diff --git a/src/tests/data/x509/pss_certs/validation_times.txt b/src/tests/data/x509/pss_certs/validation_times.txt
new file mode 100644
index 000000000..99fbbfda4
--- /dev/null
+++ b/src/tests/data/x509/pss_certs/validation_times.txt
@@ -0,0 +1,118 @@
+01:2016
+02:2016
+03:2017
+04:2017
+05:2017
+06:2017
+07:2017
+08:2017
+09:2017
+10:2017
+11:2016
+12:2015
+13:2015
+14:2015
+15:2016
+16:2017
+17:2017
+18:2017
+19:2017
+20:2017
+21:2017
+22:2017
+23:2017
+24:2017
+25:2017
+26:2017
+27:2017
+28:2017
+29:2017
+30:2017
+31:2017
+32:2017
+33:2017
+34:2017
+35:2017
+36:2017
+37:2017
+38:2017
+39:2017
+40:2017
+41:2017
+42:2016
+43:2017
+44:2017
+45:2015
+46:2017
+47:2017
+48:2017
+49:2017
+50:2017
+51:2017
+52:2017
+53:2017
+54:2017
+55:2017
+56:2017
+57:2017
+58:2017
+59:2017
+60:2017
+61:2017
+62:2017
+63:2017
+64:2017
+65:2017
+66:2016
+67:2015
+68:2015
+69:2017
+70:2017
+71:2017
+72:2017
+73:2017
+74:2017
+75:2017
+76:2017
+77:2017
+78:2017
+79:2017
+80:2017
+81:2017
+82:2017
+83:2017
+84:2017
+85:2017
+86:2017
+87:2017
+88:2017
+89:2017
+90:2017
+91:2017
+92:2017
+93:2017
+94:2017
+95:2017
+96:2017
+97:2017
+98:2017
+99:2017
+100:2017
+101:2017
+102:2017
+103:2017
+104:2017
+105:2017
+106:2017
+107:2017
+108:2017
+109:2017
+110:2017
+111:2017
+112:2017
+113:2017
+114:2017
+115:2017
+116:2017
+117:2017
+118:2017 \ No newline at end of file