mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00: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