mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
move traits to Traits subfolder
This commit is contained in:
parent
7012e72488
commit
25dab4b5ae
@ -13,7 +13,7 @@
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
namespace phpseclib\Crypt\Common;
|
||||
namespace phpseclib\Crypt\Common\Traits;
|
||||
|
||||
use phpseclib\Crypt\Hash;
|
||||
|
@ -13,7 +13,7 @@
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
namespace phpseclib\Crypt\Common;
|
||||
namespace phpseclib\Crypt\Common\Traits;
|
||||
|
||||
/**
|
||||
* Password Protected Trait for Private Keys
|
@ -27,7 +27,7 @@ use phpseclib\Crypt\Common;
|
||||
*/
|
||||
class PrivateKey extends DSA implements Common\PrivateKey
|
||||
{
|
||||
use Common\PasswordProtected;
|
||||
use Common\Traits\PasswordProtected;
|
||||
|
||||
/**
|
||||
* DSA secret exponent x
|
||||
|
@ -26,7 +26,7 @@ use phpseclib\Crypt\Common;
|
||||
*/
|
||||
class PublicKey extends DSA implements Common\PublicKey
|
||||
{
|
||||
use Common\Fingerprint;
|
||||
use Common\Traits\Fingerprint;
|
||||
|
||||
/**
|
||||
* Verify a signature
|
||||
|
@ -31,7 +31,7 @@ use phpseclib\Crypt\Common;
|
||||
*/
|
||||
class PrivateKey extends ECDSA implements Common\PrivateKey
|
||||
{
|
||||
use Common\PasswordProtected;
|
||||
use Common\Traits\PasswordProtected;
|
||||
|
||||
/**
|
||||
* Private Key dA
|
||||
|
@ -32,7 +32,7 @@ use phpseclib\Crypt\Common;
|
||||
*/
|
||||
class PublicKey extends ECDSA implements Common\PublicKey
|
||||
{
|
||||
use Common\Fingerprint;
|
||||
use Common\Traits\Fingerprint;
|
||||
|
||||
/**
|
||||
* Verify a signature
|
||||
|
@ -33,7 +33,7 @@ use phpseclib\Crypt\RSA\Formats\Keys\PSS;
|
||||
*/
|
||||
class PrivateKey extends RSA implements Common\PrivateKey
|
||||
{
|
||||
use Common\PasswordProtected;
|
||||
use Common\Traits\PasswordProtected;
|
||||
|
||||
/**
|
||||
* Primes for Chinese Remainder Theorem (ie. p and q)
|
||||
|
@ -34,7 +34,7 @@ use phpseclib\Crypt\RSA\Formats\Keys\PSS;
|
||||
*/
|
||||
class PublicKey extends RSA implements Common\PublicKey
|
||||
{
|
||||
use Common\Fingerprint;
|
||||
use Common\Traits\Fingerprint;
|
||||
|
||||
/**
|
||||
* Exponentiate
|
||||
|
Loading…
x
Reference in New Issue
Block a user