move traits to Traits subfolder

This commit is contained in:
terrafrost 2019-06-25 23:20:37 -05:00
parent 7012e72488
commit 25dab4b5ae
8 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@
* @link http://phpseclib.sourceforge.net * @link http://phpseclib.sourceforge.net
*/ */
namespace phpseclib\Crypt\Common; namespace phpseclib\Crypt\Common\Traits;
use phpseclib\Crypt\Hash; use phpseclib\Crypt\Hash;

View File

@ -13,7 +13,7 @@
* @link http://phpseclib.sourceforge.net * @link http://phpseclib.sourceforge.net
*/ */
namespace phpseclib\Crypt\Common; namespace phpseclib\Crypt\Common\Traits;
/** /**
* Password Protected Trait for Private Keys * Password Protected Trait for Private Keys

View File

@ -27,7 +27,7 @@ use phpseclib\Crypt\Common;
*/ */
class PrivateKey extends DSA implements Common\PrivateKey class PrivateKey extends DSA implements Common\PrivateKey
{ {
use Common\PasswordProtected; use Common\Traits\PasswordProtected;
/** /**
* DSA secret exponent x * DSA secret exponent x

View File

@ -26,7 +26,7 @@ use phpseclib\Crypt\Common;
*/ */
class PublicKey extends DSA implements Common\PublicKey class PublicKey extends DSA implements Common\PublicKey
{ {
use Common\Fingerprint; use Common\Traits\Fingerprint;
/** /**
* Verify a signature * Verify a signature

View File

@ -31,7 +31,7 @@ use phpseclib\Crypt\Common;
*/ */
class PrivateKey extends ECDSA implements Common\PrivateKey class PrivateKey extends ECDSA implements Common\PrivateKey
{ {
use Common\PasswordProtected; use Common\Traits\PasswordProtected;
/** /**
* Private Key dA * Private Key dA

View File

@ -32,7 +32,7 @@ use phpseclib\Crypt\Common;
*/ */
class PublicKey extends ECDSA implements Common\PublicKey class PublicKey extends ECDSA implements Common\PublicKey
{ {
use Common\Fingerprint; use Common\Traits\Fingerprint;
/** /**
* Verify a signature * Verify a signature

View File

@ -33,7 +33,7 @@ use phpseclib\Crypt\RSA\Formats\Keys\PSS;
*/ */
class PrivateKey extends RSA implements Common\PrivateKey class PrivateKey extends RSA implements Common\PrivateKey
{ {
use Common\PasswordProtected; use Common\Traits\PasswordProtected;
/** /**
* Primes for Chinese Remainder Theorem (ie. p and q) * Primes for Chinese Remainder Theorem (ie. p and q)

View File

@ -34,7 +34,7 @@ use phpseclib\Crypt\RSA\Formats\Keys\PSS;
*/ */
class PublicKey extends RSA implements Common\PublicKey class PublicKey extends RSA implements Common\PublicKey
{ {
use Common\Fingerprint; use Common\Traits\Fingerprint;
/** /**
* Exponentiate * Exponentiate