mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-30 10:38:37 +00:00
move traits to Traits subfolder
This commit is contained in:
parent
7012e72488
commit
25dab4b5ae
@ -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;
|
||||||
|
|
@ -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
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user