From f0a146eaa1ecc5e152a893e9ff2389a2b9024a25 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Fri, 23 Sep 2022 22:33:30 -0500 Subject: [PATCH] X509: make it so PKCS1 X509 certs can create PSS sigs --- phpseclib/File/X509.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 8af3b772..ebb5e67e 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -1397,6 +1397,8 @@ class X509 case 'rsaEncryption': $key = RSA::loadFormat('PKCS8', $publicKey); switch ($signatureAlgorithm) { + case 'id-RSASSA-PSS': + break; case 'md2WithRSAEncryption': case 'md5WithRSAEncryption': case 'sha1WithRSAEncryption':