File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,16 @@ public function test_eddsa_algorithms()
117
117
public function test_multiple_keys ()
118
118
{
119
119
$ privateKey1 = new RsaPrivateKey (
120
- __DIR__ . '/../assets/keys/rsa-private.pem ' , '' , 'key-1 '
120
+ __DIR__ . '/../assets/keys/rsa-private.pem ' ,
121
+ '' ,
122
+ 'key-1 '
121
123
);
122
124
$ publicKey1 = new RsaPublicKey (__DIR__ . '/../assets/keys/rsa-public.pem ' , 'key-1 ' );
123
125
124
126
$ privateKey2 = new EcdsaPrivateKey (
125
- __DIR__ . '/../assets/keys/ecdsa384-private.pem ' , '' , 'key-2 '
127
+ __DIR__ . '/../assets/keys/ecdsa384-private.pem ' ,
128
+ '' ,
129
+ 'key-2 '
126
130
);
127
131
$ publicKey2 = new EcdsaPublicKey (__DIR__ . '/../assets/keys/ecdsa384-public.pem ' , 'key-2 ' );
128
132
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ class VerifierFactoryTest extends TestCase
25
25
public function test_getVerifier_it_should_return_the_right_verifier ()
26
26
{
27
27
$ privateKey = new RsaPrivateKey (
28
- __DIR__ . '/../assets/keys/rsa-private.pem ' , '' , 'key-1 '
28
+ __DIR__ . '/../assets/keys/rsa-private.pem ' ,
29
+ '' ,
30
+ 'key-1 '
29
31
);
30
32
$ publicKey = new RsaPublicKey (__DIR__ . '/../assets/keys/rsa-public.pem ' , 'key-1 ' );
31
33
You can’t perform that action at this time.
0 commit comments