X509: make it so PKCS1 X509 certs can create PSS sigs

This commit is contained in:
terrafrost 2022-09-23 22:33:30 -05:00
parent df21050d03
commit f0a146eaa1

View File

@ -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':