src/Util/RSA.php
private static function getRSASP1(RSAKey $key, BigInteger $m)
    {
        if ($m->compare(BigInteger::createFromDecimal(0)) < 0 || $m->compare($key->getModulus()) > 0) {
            return false;
        }

        return self::exponentiate($key, $m);
    }
private static function getRSASP1(RSAKey $key, BigInteger $m)
    {
        if ($m->compare(BigInteger::createFromDecimal(0)) < 0 || $m->compare($key->getModulus()) > 0) {
            return false;
        }

        return self::exponentiate($key, $m);
    }
private static function getRSASP1 ( RSAKey $ key , BigInteger $ m ) { if ( $ m -> compare ( BigInteger :: createFromDecimal ( 0 ) ) < 0 || $ m -> compare ( $ key -> getModulus ( ) ) > 0 ) { return false ; } return self :: exponentiate ( $ key , $ m ) ; }
RSA SP1.

@param \Jose\KeyConverter\RSAKey $key
@param \Jose\Util\BigInteger     $m

@return \Jose\Util\BigInteger|false
RSA SP1 .