mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-27 00:58:25 +00:00
Tests/RSA: adjustments for 2.0
This commit is contained in:
parent
8e7acd8842
commit
6499451d4b
@ -229,7 +229,7 @@ ZQIDAQAB
|
|||||||
|
|
||||||
public function testPubKeyPssWithoutParams()
|
public function testPubKeyPssWithoutParams()
|
||||||
{
|
{
|
||||||
$rsa = new Crypt_RSA();
|
$rsa = new RSA();
|
||||||
|
|
||||||
// extracted from a SubjectPublicKeyInfo of a CSR created by OpenSSL
|
// extracted from a SubjectPublicKeyInfo of a CSR created by OpenSSL
|
||||||
$key = '-----BEGIN PUBLIC KEY-----
|
$key = '-----BEGIN PUBLIC KEY-----
|
||||||
@ -249,7 +249,7 @@ AwEAAQ==
|
|||||||
|
|
||||||
public function testPrivateKeyPssWithoutParams()
|
public function testPrivateKeyPssWithoutParams()
|
||||||
{
|
{
|
||||||
$rsa = new Crypt_RSA();
|
$rsa = new RSA();
|
||||||
|
|
||||||
$key = '-----BEGIN PRIVATE KEY-----
|
$key = '-----BEGIN PRIVATE KEY-----
|
||||||
MIIEugIBADALBgkqhkiG9w0BAQoEggSmMIIEogIBAAKCAQEA0c89/m2NOYQe1C/O
|
MIIEugIBADALBgkqhkiG9w0BAQoEggSmMIIEogIBAAKCAQEA0c89/m2NOYQe1C/O
|
||||||
|
Loading…
x
Reference in New Issue
Block a user