composer update

This commit is contained in:
Manish Verma
2018-12-05 10:50:52 +05:30
parent 9eabcacfa7
commit 4addd1e9c6
3328 changed files with 156676 additions and 138988 deletions

View File

@@ -59,6 +59,8 @@ abstract class BaseSigner implements Signer
/**
* Creates a hash with the given data
*
* @internal
*
* @param string $payload
* @param Key $key
*
@@ -67,7 +69,9 @@ abstract class BaseSigner implements Signer
abstract public function createHash($payload, Key $key);
/**
* Creates a hash with the given data
* Performs the signature verification
*
* @internal
*
* @param string $expected
* @param string $payload

View File

@@ -134,7 +134,9 @@ abstract class Ecdsa extends BaseSigner
}
/**
* Returns the lenght of signature parts
* Returns the length of signature parts
*
* @internal
*
* @return int
*/
@@ -143,6 +145,8 @@ abstract class Ecdsa extends BaseSigner
/**
* Returns the name of algorithm to be used to create the signing hash
*
* @internal
*
* @return string
*/
abstract public function getAlgorithm();

View File

@@ -20,6 +20,8 @@ use Mdanter\Ecc\Serializer\PublicKey\PublicKeySerializerInterface;
/**
* Base class for ECDSA signers
*
* @internal
*
* @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com>
* @since 3.0.4
*/

View File

@@ -40,6 +40,8 @@ abstract class Hmac extends BaseSigner
/**
* PHP < 5.6 timing attack safe hash comparison
*
* @internal
*
* @param string $expected
* @param string $generated
*
@@ -65,6 +67,8 @@ abstract class Hmac extends BaseSigner
/**
* Returns the algorithm name
*
* @internal
*
* @return string
*/
abstract public function getAlgorithm();

View File

@@ -72,6 +72,8 @@ abstract class Rsa extends BaseSigner
/**
* Returns the algorithm name
*
* @internal
*
* @return string
*/
abstract public function getAlgorithm();