Class AlgorithmExtractor
Will transform signature string to Team3\PayU\SignatureCalculator\Encoder\Algorithms\AlgorithmInterface
object.
Interface AlgorithmExtractorInterface
- Team3\PayU\SignatureCalculator\Validator\AlgorithmExtractor implements Team3\PayU\SignatureCalculator\Validator\AlgorithmExtractorInterface
Namespace: Team3\PayU\SignatureCalculator\Validator
Package: Team3\PayU\SignatureCalculator\Validator
Located at Team3/PayU/SignatureCalculator/Validator/AlgorithmExtractor.php
Package: Team3\PayU\SignatureCalculator\Validator
Located at Team3/PayU/SignatureCalculator/Validator/AlgorithmExtractor.php
Methods summary
public
|
#
extractAlgorithm( string $signatureHeader, array $algorithms )
Will extract one algorithm name from signature header and search for algorithm with the same name in array passed as 2 parameter. If there is no algorithm with this name will throw exception. |