mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +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':
|
case 'rsaEncryption':
|
||||||
$key = RSA::loadFormat('PKCS8', $publicKey);
|
$key = RSA::loadFormat('PKCS8', $publicKey);
|
||||||
switch ($signatureAlgorithm) {
|
switch ($signatureAlgorithm) {
|
||||||
|
case 'id-RSASSA-PSS':
|
||||||
|
break;
|
||||||
case 'md2WithRSAEncryption':
|
case 'md2WithRSAEncryption':
|
||||||
case 'md5WithRSAEncryption':
|
case 'md5WithRSAEncryption':
|
||||||
case 'sha1WithRSAEncryption':
|
case 'sha1WithRSAEncryption':
|
||||||
|
Loading…
Reference in New Issue
Block a user