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:
parent
df21050d03
commit
f0a146eaa1
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user