1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 09:38:06 +01:00

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